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

SDLFrameType Enumeration Reference

Section Contents

Overview

  • The data packet’s header and payload combination.

  • SDLFrameTypeControl: Lowest-level type of packets. They can be sent over any of the defined services. They are used for the control of the services in which they are sent.

  • SDLFrameTypeSingle: Contains all the data for a particular packet in the payload. The majority of frames sent over the protocol utilize this frame type.

  • SDLFrameTypeFirst: The First Frame in a multiple frame payload contains information about the entire sequence of frames so that the receiving end can correctly parse all the frames and reassemble the entire payload. The payload of this frame is only eight bytes and contains information regarding the rest of the sequence.

  • SDLFrameTypeConsecutive: The Consecutive Frames in a multiple frame payload contain the actual raw data of the original payload. The parsed payload contained in each of the Consecutive Frames’ payloads should be buffered until the entire sequence is complete.

SDLFrameTypeControl

Undocumented

Objective-C

SDLFrameTypeControl = 0x00

Swift

case control = 0

SDLFrameTypeSingle

Undocumented

Objective-C

SDLFrameTypeSingle = 0x01

Swift

case single = 1

SDLFrameTypeFirst

Undocumented

Objective-C

SDLFrameTypeFirst = 0x02

Swift

case first = 2

SDLFrameTypeConsecutive

Undocumented

Objective-C

SDLFrameTypeConsecutive = 0x03

Swift

case consecutive = 3
View on GitHub.com
Previous Section Next Section