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

Class ProtocolMessage

Hierarchy

java.lang.Object

Package
com.smartdevicelink.protocol

Constructors

ProtocolMessage()

public ProtocolMessage()

Methods

getVersion()

public byte getVersion()

setVersion( byte version )

public void setVersion(byte version)

Parameters

version

getSessionID()

public byte getSessionID()

setSessionID( byte sessionID )

public void setSessionID(byte sessionID)

Parameters

sessionID

getData()

public byte getData()

setData( byte[] data )

public void setData(byte[] data)

Parameters

data

setData( byte[] data, int length )

public void setData(byte[] data,int length)

Parameters

data
length

setData( byte[] data, int offset, int length )

public void setData(byte[] data,int offset,int length)

Parameters

data
offset
length

getBulkData()

public byte getBulkData()

setBulkDataNoCopy( byte[] bulkData )

public void setBulkDataNoCopy(byte[] bulkData)

Parameters

bulkData

setBulkData( byte[] bulkData )

public void setBulkData(byte[] bulkData)

Parameters

bulkData

setBulkData( byte[] bulkData, int length )

public void setBulkData(byte[] bulkData,int length)

Parameters

bulkData
length

getSessionType()

public com.smartdevicelink.protocol.enums.SessionType getSessionType()

setSessionType( SessionType sessionType )

public void setSessionType(SessionType sessionType)

Parameters

sessionType

getMessageType()

public com.smartdevicelink.protocol.enums.MessageType getMessageType()

setMessageType( MessageType messageType )

public void setMessageType(MessageType messageType)

Parameters

messageType

getRPCType()

public byte getRPCType()

setRPCType( byte _rpcType )

public void setRPCType(byte _rpcType)

Parameters

_rpcType

getFunctionID()

public int getFunctionID()

setFunctionID( int _functionID )

public void setFunctionID(int _functionID)

Parameters

_functionID

getCorrID()

public int getCorrID()

setCorrID( int _correlationID )

public void setCorrID(int _correlationID)

Parameters

_correlationID

getJsonSize()

public int getJsonSize()

setJsonSize( int _jsonSize )

public void setJsonSize(int _jsonSize)

Parameters

_jsonSize

setPayloadProtected( boolean bVal )

public void setPayloadProtected(boolean bVal)

Parameters

bVal

getPayloadProtected()

public boolean getPayloadProtected()

setPriorityCoefficient( int priority )

Set the priority for this packet. The lower the number the higher the priority.
0 is the highest priority and the default.

public void setPriorityCoefficient(int priority)

Parameters

priority

getPrioirtyCoefficient()

public int getPrioirtyCoefficient()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section