Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
SdlPacket

Class SdlPacket

Hierarchy

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

Package
com.smartdevicelink.protocol

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)

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)

Parameters

version
encryption
frameType
serviceType
frameInfo
sessionId
dataSize
messageId
payload
offset
bytesToWrite

SdlPacket()

protected SdlPacket()

SdlPacket( BaseSdlPacket packet )

protected SdlPacket(BaseSdlPacket packet)

Parameters

packet

SdlPacket( Parcel p )

public SdlPacket(Parcel p)

Parameters

p

Methods

describeContents()

Deprecated

public int describeContents()

writeToParcel( Parcel dest, int flags )

Deprecated

public void writeToParcel(Parcel dest,int flags)

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, 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