public class PushToTalkCommand
extends com.milestonesys.xpmobilesdk.communication.VideoCommand
Modifier and Type | Class and Description |
---|---|
class |
PushToTalkCommand.HeaderExtensionDynamicInfo
Header Extension Dynamic Info
More information could be found in the Viking protocol documentation.
|
com.milestonesys.xpmobilesdk.communication.VideoCommand.HeaderLocation, com.milestonesys.xpmobilesdk.communication.VideoCommand.VideoHeaderLiveEvents, com.milestonesys.xpmobilesdk.communication.VideoCommand.VideoHeaderMotionEvents, com.milestonesys.xpmobilesdk.communication.VideoCommand.VideoHeaderNativeDataHeaders, com.milestonesys.xpmobilesdk.communication.VideoCommand.VideoHeaderSizes, com.milestonesys.xpmobilesdk.communication.VideoCommand.VideoHeaderStreamInfo
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_EXTENTION_DYNAMIC_INFO
Flag for Header Extension Dynamic Info
|
HEADER_EXTENSION_MOTION_EVENTS, HEADER_EXTENSION_NATIVE_DATA, HEADER_LIVE_EVENTS, HEADER_LOCATION_INFO, HEADER_PLAYBACK_EVENTS, HEADER_SIZES, HEADER_STREAM_INFO, headerLiveEvents, headerLocation, headerMotionEvents, headerNativeDataHeaders, headerPlaybackEvents, headerSizes, headerStreamInfo
Constructor and Description |
---|
PushToTalkCommand(java.lang.String streamId,
byte[] bufHeader)
Constructor of the PushToTalkCommand.
|
Modifier and Type | Method and Description |
---|---|
int |
getExtHeaderBytesSize()
Returns the External Header bytes size
|
PushToTalkCommand.HeaderExtensionDynamicInfo |
getHeaderDeviceStateInfo() |
void |
setHeaderDynamicInfo(byte[] headerArg,
int headerOffset)
Sets the Header Extention Dynamic Info
|
getExtHeaderFlags, getExtHeaderSize, getFrameCount, getPayload, getPayloadSize, getPayloadType, getRawBytes, getStatistics, getTimeStamp, getUnsupportedHeaders, getUUID, refactorMainHeader, setPayload, setStatistics, toString, UUIDtoByteArray
public static final int HEADER_EXTENTION_DYNAMIC_INFO
public PushToTalkCommand(java.lang.String streamId, byte[] bufHeader)
streamId
- - id of the streambufHeader
- - received response data.public int getExtHeaderBytesSize()
public void setHeaderDynamicInfo(byte[] headerArg, int headerOffset)
headerArg
- - bytes array where the HeaderExtensionDynamicInfo is.headerOffset
- - position in the byte array where the HeaderExtensionDynamicInfo is.public PushToTalkCommand.HeaderExtensionDynamicInfo getHeaderDeviceStateInfo()