Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
SdlPacket

Class SdlPacket

Hierarchy

java.lang.Object
     com.smartdevicelink.protocol.BaseSdlPacket

Package
com.smartdevicelink.protocol
All Implemented Interfaces
android.os.Parcelable

Fields

CREATOR

public static final android.os.Parcelable.Creator CREATOR

Inherited Fields

From Class Fields
com.smartdevicelink.protocol.BaseSdlPacket HEADER_SIZE, HEADER_SIZE_V1, FRAME_TYPE_CONTROL, FRAME_TYPE_SINGLE, FRAME_TYPE_FIRST, FRAME_TYPE_CONSECUTIVE, SERVICE_TYPE_CONTROL, SERVICE_TYPE_RPC, SERVICE_TYPE_PCM, SERVICE_TYPE_VIDEO, SERVICE_TYPE_BULK_DATA, FRAME_INFO_HEART_BEAT, FRAME_INFO_START_SERVICE, FRAME_INFO_START_SERVICE_ACK, FRAME_INFO_START_SERVICE_NAK, FRAME_INFO_END_SERVICE, FRAME_INFO_END_SERVICE_ACK, FRAME_INFO_END_SERVICE_NAK, FRAME_INFO_REGISTER_SECONDARY_TRANSPORT, FRAME_INFO_REGISTER_SECONDARY_TRANSPORT_ACK, FRAME_INFO_REGISTER_SECONDARY_TRANSPORT_NAK, FRAME_INFO_TRANSPORT_EVENT_UPDATE, FRAME_INFO_SERVICE_DATA_ACK, FRAME_INFO_HEART_BEAT_ACK, FRAME_INFO_FINAL_CONNESCUTIVE_FRAME, FRAME_INFO_RESERVED

Constructors

SdlPacket( int version, boolean encryption, int frameType, int serviceType, int frameInfo, int sessionId, int dataSize, int messageId, byte[] payload )

public SdlPacket(int version,boolean encryption,int frameType,int serviceType,int frameInfo,int sessionId,int dataSize,int messageId,byte[] payload)

Constructor Parameters

version
encryption
frameType
serviceType
frameInfo
sessionId
dataSize
messageId
payload

SdlPacket( int version, boolean encryption, int frameType, int serviceType, int frameInfo, int sessionId, int dataSize, int messageId, byte[] payload, int offset, int bytesToWrite )

public SdlPacket(int version,boolean encryption,int frameType,int serviceType,int frameInfo,int sessionId,int dataSize,int messageId,byte[] payload,int offset,int bytesToWrite)

Constructor Parameters

version
encryption
frameType
serviceType
frameInfo
sessionId
dataSize
messageId
payload
offset
bytesToWrite

SdlPacket()

protected SdlPacket()

SdlPacket( BaseSdlPacket packet )

protected SdlPacket(BaseSdlPacket packet)

Constructor Parameters

packet

SdlPacket( Parcel p )

public SdlPacket(Parcel p)

Constructor Parameters

p

Methods

describeContents()

public int describeContents()

writeToParcel( Parcel dest, int flags )

public void writeToParcel(Parcel dest,int flags)

Method Parameters

dest
flags

Inherited Methods

From Class Methods
com.smartdevicelink.protocol.BaseSdlPacket getVersion, isEncrypted, getFrameType, getServiceType, getFrameInfo, getSessionId, getMessageId, getDataSize, getPayload, constructPacket, setPayload, setPriorityCoefficient, getPrioirtyCoefficient, getPriorityCoefficient, setTransportRecord, getTransportRecord, constructPacket, getEncryptionBit, toString, setMessagingVersion, putTag, getTag
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section