Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLServiceType

SDLServiceType Enumeration Reference

Section Contents

Overview

The data packet’s format and priority.

SDLServiceTypeControl

The lowest level service available.

Objective-C

SDLServiceTypeControl = 0x00

Swift

case control = 0

SDLServiceTypeRPC

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

Objective-C

SDLServiceTypeRPC = 0x07

Swift

case rpc = 7

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.

Objective-C

SDLServiceTypeAudio = 0x0A

Swift

case audio = 10

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.

Objective-C

SDLServiceTypeVideo = 0x0B

Swift

case video = 11

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.

Objective-C

SDLServiceTypeBulkData = 0x0F

Swift

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