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

SDLServiceType Enumeration Reference

Section Contents

Overview

  • The data packet’s format and priority.

  • SDLServiceTypeControl: The lowest level service available.

  • SDLServiceTypeRPC: Used to send requests, responses, and notifications between an application and a head unit.

  • SDLServiceTypeAudio: The application can start the audio service to send PCM audio data to the head unit. After the StartService packet is sent and the ACK received, the payload for the Audio Service is only PCM audio data.

  • SDLServiceTypeVideo: The application can start the video service to send H.264 video data to the head unit. After the StartService packet is sent and the ACK received, the payload for the Video Service is only H.264 video data.

  • SDLServiceTypeBulkData: Similar to the RPC Service but adds a bulk data field. The payload of a message sent via the Hybrid service consists of a Binary Header, JSON Data, and Bulk Data.

SDLServiceTypeControl

Undocumented

Objective-C

SDLServiceTypeControl = 0x00

Swift

case control = 0

SDLServiceTypeRPC

Undocumented

Objective-C

SDLServiceTypeRPC NS_SWIFT_NAME(rpc) = 0x07

Swift

case rpc = 7

SDLServiceTypeAudio

Undocumented

Objective-C

SDLServiceTypeAudio = 0x0A

Swift

case audio = 10

SDLServiceTypeVideo

Undocumented

Objective-C

SDLServiceTypeVideo = 0x0B

Swift

case video = 11

SDLServiceTypeBulkData

Undocumented

Objective-C

SDLServiceTypeBulkData = 0x0F

Swift

case bulkData = 15
View on GitHub.com
Previous Section Next Section