The following type definitions are available globally.
Notifies the subscriber that the alert should be cancelled.
typedef void (^SDLAlertCanceledHandler)(void)
typealias SDLAlertCanceledHandler = () -> Void
Reflects the status of the ambient light sensor for headlamps
@since SDL 3.0
typedef SDLEnum SDLAmbientLightStatus
struct SDLAmbientLightStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumerations of all available app capability types
@added in SmartDeviceLink 7.1.0
typedef SDLEnum SDLAppCapabilityType
struct SDLAppCapabilityType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible app hmi types.
@since SDL 2.0
typedef SDLEnum SDLAppHMIType
struct SDLAppHMIType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Indicates reason why app interface was unregistered. The application is being disconnected by SDL.
@since SDL 1.0
typedef SDLEnum SDLAppInterfaceUnregisteredReason
struct SDLAppInterfaceUnregisteredReason : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible app service types.
typedef SDLEnum SDLAppServiceType
struct SDLAppServiceType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible indicators of audio streaming changes
@since SDL 4.6
typedef SDLEnum SDLAudioStreamingIndicator
struct SDLAudioStreamingIndicator : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Describes whether or not streaming audio is currently audible to the user. Though provided in every OnHMIStatus notification, this information is only relevant for applications that declare themselves as media apps in RegisterAppInterface
@since SDL 1.0
typedef SDLEnum SDLAudioStreamingState
struct SDLAudioStreamingState : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Describes different audio type options for PerformAudioPassThru
typedef SDLEnum SDLAudioType
struct SDLAudioType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Describes different bit depth options for PerformAudioPassThru
@since SDL 2.0
typedef SDLEnum SDLBitsPerSample
struct SDLBitsPerSample : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Indicates whether the button was depressed or released. A BUTTONUP event will always be preceded by a BUTTONDOWN event.
@since SDL 1.0
typedef SDLEnum SDLButtonEventMode
struct SDLButtonEventMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Defines logical buttons which, on a given SDL unit, would correspond to either physical or soft (touchscreen) buttons. These logical buttons present a standard functional abstraction which the developer can rely upon, independent of the SDL unit. For example, the developer can rely upon the OK button having the same meaning to the user across SDL platforms.
The preset buttons (0-9) can typically be interpreted by the application as corresponding to some user-configured choices, though the application is free to interpret these button presses as it sees fit.
The application can discover which buttons a given SDL unit implements by interrogating the ButtonCapabilities parameter of the RegisterAppInterface response.
@since SDL 1.0
typedef SDLEnum SDLButtonName
struct SDLButtonName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Indicates whether this is a LONG or SHORT button press
@since SDL 1.0
typedef SDLEnum SDLButtonPressMode
struct SDLButtonPressMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
@since SDL 7.0.0
typedef SDLEnum SDLCapacityUnit
struct SDLCapacityUnit : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Describes the carmode the vehicle is in. Used in ClusterModeStatus
Since
Since SmartDeviceLink 2.0typedef SDLEnum SDLCarModeStatus
struct SDLCarModeStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The list of potential character sets
@since SDL 1.0.0
typedef SDLEnum SDLCharacterSet
struct SDLCharacterSet : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Notifies the subscriber that the choice set should be cancelled.
typedef void (^SDLChoiceSetCanceledHandler)(void)
typealias SDLChoiceSetCanceledHandler = () -> Void
The list of potential compass directions. Used in GPS data
@since SDL 2.0
typedef SDLEnum SDLCompassDirection
struct SDLCompassDirection : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The volume status of a vehicle component. Used in SingleTireStatus and VehicleData Fuel Level
@since SDL 2.0
typedef SDLEnum SDLComponentVolumeStatus
struct SDLComponentVolumeStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible defrost zones. Used in ClimateControlCapabilities and Data.
@since SDL 2.0
typedef SDLEnum SDLDefrostZone
struct SDLDefrostZone : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Specifies the mode in which the sendLocation request is sent. Used in SendLocation.
typedef SDLEnum SDLDeliveryMode
struct SDLDeliveryMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the reported battery status of the connected device, if reported. Used in DeviceStatus.
@since SDL 2.0
typedef SDLEnum SDLDeviceLevelStatus
struct SDLDeviceLevelStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The supported dimensions of the GPS. Used in GPSData
@since SDL 2.0
typedef SDLEnum SDLDimension
struct SDLDimension : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A navigation direction.
typedef SDLEnum SDLDirection
struct SDLDirection : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Identifies the various display types used by SDL.
@since SDL 1.0
typedef SDLEnum SDLDisplayMode
struct SDLDisplayMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Identifies the various display types used by SDL. Used in DisplayCapabilities.
Warning
This should not be used to identify features of a display, this is a deprecated parameter.@deprecated @history SDL 1.0.0 @since SDL 5.0.0
typedef SDLEnum SDLDisplayType
struct SDLDisplayType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Wiper Status
typedef SDLEnum SDLDistanceUnit
struct SDLDistanceUnit : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
@added in SmartDeviceLink 7.1.0
typedef SDLEnum SDLDoorStatusType
struct SDLDoorStatusType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration that describes possible states of driver distraction. Used in OnDriverDistraction.
@since SDL 1.0
typedef SDLEnum SDLDriverDistractionState
struct SDLDriverDistractionState : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of the eCall Notification. Used in ECallInfo
Since SmartDeviceLink 2.0
typedef SDLEnum SDLECallConfirmationStatus
struct SDLECallConfirmationStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of the Electronic Parking Brake. A Vehicle Data Type.
typedef SDLEnum SDLElectronicParkBrakeStatus
struct SDLElectronicParkBrakeStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the emergency event status of the vehicle. Used in EmergencyEvent
Since SmartDeviceLink 2.0
typedef SDLEnum SDLEmergencyEventType
struct SDLEmergencyEventType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
NSString SDLEnum typedef
typedef NSString *SDLEnum
struct SDLEnum : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A typedef declaration of the SDL error domain
typedef NSString SDLErrorDomain
The handler that is called when the manager is set up or failed to set up with an error. This is for internal use only.
typedef void (^SDLFileManagerStartupCompletionHandler)(BOOL, NSError *_Nullable)
typealias SDLFileManagerStartupCompletionHandler = (Bool, Error?) -> Void
True if every request succeeded, false if any failed.
The error that occurred during the request if any occurred.
Typedef SDLFileName
typedef NSString SDLFileName
A completion handler called after a response from Core to an upload request.
typedef void (^SDLFileManagerUploadCompletionHandler)(BOOL, NSUInteger,
NSError *_Nullable)
typealias SDLFileManagerUploadCompletionHandler = (Bool, UInt, Error?) -> Void
Whether or not the upload was successful
The amount of space left for files on Core
The error that occurred during the request if one occurred, nil if no error occurred
A completion handler called after a set of upload requests has completed.
typedef void (^SDLFileManagerMultiUploadCompletionHandler)(NSError *_Nullable)
typealias SDLFileManagerMultiUploadCompletionHandler = (Error?) -> Void
The userInfo dictionary property, of type
In a multiple request send, a handler called after each response from Core to a upload request.
typedef BOOL (^SDLFileManagerMultiUploadProgressHandler)(SDLFileName *_Nonnull,
float,
NSError *_Nullable)
typealias SDLFileManagerMultiUploadProgressHandler = (String, Float, Error?) -> Bool
The name of the file that received a response from SDL Core
The percentage of uploaded data. The upload percentage is calculated as the total file size of all attempted file uploads (regardless of the successfulness of the upload) divided by the sum of the data in all the files
The error that occurred during the request if one occurred, nil if no error occurred
Return NO to cancel any requests that have not yet been sent. Return YES to continue sending requests
A completion handler called after a response from Core to a delete request.
typedef void (^SDLFileManagerDeleteCompletionHandler)(BOOL, NSUInteger,
NSError *_Nullable)
typealias SDLFileManagerDeleteCompletionHandler = (Bool, UInt, Error?) -> Void
Whether or not the delete was successful
The amount of space left for files on Core
The error that occurred during the request if one occurred, nil if no error occurred
A completion handler called after a set of delete requests has completed.
typedef void (^SDLFileManagerMultiDeleteCompletionHandler)(NSError *_Nullable)
typealias SDLFileManagerMultiDeleteCompletionHandler = (Error?) -> Void
The userInfo dictionary property, of type
A completion handler called after response from Core to a list files request.
typedef void (^SDLFileManagerListFilesCompletionHandler)(
BOOL, NSUInteger, NSArray<NSString *> *_Nonnull, NSError *_Nullable)
typealias SDLFileManagerListFilesCompletionHandler = (Bool, UInt, [String], Error?) -> Void
Whether or not the list files request was successful
The amount of space available for files on Core
The names of the files stored on SDL Core
The error that occurred during the request if one occurred, nil if no error occurred
A completion handler called after a response from Core to an artwork upload request.
typedef void (^SDLFileManagerUploadArtworkCompletionHandler)(BOOL,
NSString *_Nonnull,
NSUInteger,
NSError *_Nullable)
typealias SDLFileManagerUploadArtworkCompletionHandler = (Bool, String, UInt, Error?) -> Void
Whether or not the upload was successful
The unique identifier for the uploaded file.
The amount of space left for files on Core
The error that occurred during the request if one occurred, nil if not
A completion handler called after a set of upload artwork requests has completed.
typedef void (^SDLFileManagerMultiUploadArtworkCompletionHandler)(
NSArray<NSString *> *_Nonnull, NSError *_Nullable)
typealias SDLFileManagerMultiUploadArtworkCompletionHandler = ([String], Error?) -> Void
The names of the artwork files successfully uploaded to the remote
The userInfo dictionary property, of type
In a multiple request send, a handler called after each response from Core to an artwork upload request.
typedef BOOL (^SDLFileManagerMultiUploadArtworkProgressHandler)(
NSString *_Nonnull, float, NSError *_Nullable)
typealias SDLFileManagerMultiUploadArtworkProgressHandler = (String, Float, Error?) -> Bool
The unique identifier for the uploaded file
The percentage of uploaded data. The upload percentage is calculated as the total file size of all attempted artwork uploads (regardless of the successfulness of the upload) divided by the sum of the data in all the files
The error that occurred during the upload request if one occurred, nil if no error occurred
Return NO to cancel any artworks that have not yet been sent. Return YES to continue sending artworks
Enumeration listing possible file types. Used in SDLFile, PutFile, ImageField, OnSystemRequest
@since SDL 2.0
typedef SDLEnum SDLFileType
struct SDLFileType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of the Restraints Control Module fuel pump cutoff. The fuel pump is cut off typically after the vehicle has had a collision. Used in EmergencyEvent.
@since SDL 2.0
typedef SDLEnum SDLFuelCutoffStatus
struct SDLFuelCutoffStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible fuel types.
typedef SDLEnum SDLFuelType
struct SDLFuelType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Properties of a user-initiated VR interaction (i.e. interactions started by the user pressing the PTT button). Used in RPCs related to ResetGlobalProperties
@since SDL 1.0
typedef SDLEnum SDLGlobalProperty
struct SDLGlobalProperty : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Specifies current level of the HMI. An HMI level indicates the degree of user interaction possible through the HMI (e.g. TTS only, display only, VR, etc.). The HMI level varies for an application based on the type of display (i.e. Nav or non-Nav) and the user directing “focus” to other applications (e.g. phone, other mobile applications, etc.). Used in OnHMIStatus
@since SDL 1.0
typedef SDLEnum SDLHMILevel
struct SDLHMILevel : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Specifies HMI Zones in the vehicle. Used in RegisterAppInterfaceResponse
@since SDL 1.0
typedef SDLEnum SDLHMIZoneCapabilities
struct SDLHMIZoneCapabilities : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration for the user’s preference of which app type to use when both are available.
typedef SDLEnum SDLHybridAppPreference
struct SDLHybridAppPreference : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the ignition switch stability. Used in BodyInformation
@since SDL 2.0
typedef SDLEnum SDLIgnitionStableStatus
struct SDLIgnitionStableStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of ignition. Used in BodyInformation.
@since SDL 2.0
typedef SDLEnum SDLIgnitionStatus
struct SDLIgnitionStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The name that identifies the field. Used in DisplayCapabilities.
@since SmartDeviceLink 3.0
typedef SDLEnum SDLImageFieldName
struct SDLImageFieldName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Contains information about the type of image. Used in Image.
@since SDL 2.0
typedef SDLEnum SDLImageType
struct SDLImageType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
For application-initiated interactions (SDLPerformInteraction), this specifies the mode by which the user is prompted and by which the user’s selection is indicated. Used in PerformInteraction.
@since SDL 1.0
typedef SDLEnum SDLInteractionMode
struct SDLInteractionMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
This handler is called when you wish to update your autocomplete text in response to the user’s input
typedef void (^SDLKeyboardAutocompleteCompletionHandler)(NSString *_Nullable)
typealias SDLKeyboardAutocompleteCompletionHandler = (String?) -> Void
The autocomplete results to use
This handler is called when you wish to update your autocomplete text in response to the user’s input.
typedef void (^SDLKeyboardAutoCompleteResultsHandler)(
NSArray<NSString *> *_Nullable)
typealias SDLKeyboardAutoCompleteResultsHandler = ([String]?) -> Void
The list of autocomplete results to use, a max of 100 items are allowed
This handler is called when you wish to update your keyboard’s limitedCharacterSet in response to the user’s input
typedef void (^SDLKeyboardCharacterSetCompletionHandler)(
NSArray<NSString *> *_Nullable)
typealias SDLKeyboardCharacterSetCompletionHandler = ([String]?) -> Void
The new set of characters to use
Enumeration listing possible keyboard events. Used in OnKeyboardInput.
@since SmartDeviceLink 3.0
typedef SDLEnum SDLKeyboardEvent
struct SDLKeyboardEvent : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible input character masking.
@added in SmartDeviceLink 7.1.0
typedef SDLEnum SDLKeyboardInputMask
struct SDLKeyboardInputMask : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible keyboard layouts. Used in KeyboardProperties.
Since SmartDeviceLink 3.0
typedef SDLEnum SDLKeyboardLayout
struct SDLKeyboardLayout : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible keyboard events.
Note: Depending on keypressMode value (from keyboardProperties structure of UI.SetGlobalProperties), HMI must send the onKeyboardInput notification with the following data:
SINGLE_KEYPRESS,QUEUE_KEYPRESSES,RESEND_CURRENT_ENTRY.
@since SmartDeviceLink 3.0
typedef SDLEnum SDLKeypressMode
struct SDLKeypressMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Specifies the language to be used for TTS, VR, displayed messages/menus. Used in ChangeRegistration and RegisterAppInterface.
@since SDL 1.0
typedef SDLEnum SDLLanguage
struct SDLLanguage : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
For touchscreen interactions, the mode of how the choices are presented. Used in PerformInteraction.
@since SDL 3.0
typedef SDLEnum SDLLayoutMode
struct SDLLayoutMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The name that identifies the Light
typedef SDLEnum SDLLightName
struct SDLLightName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of Light.
typedef SDLEnum SDLLightStatus
struct SDLLightStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A block that can be used to close the lockscreen when the user swipes on the lockscreen. Override this in your own custom view controllers if you build a custom lock screen.
typedef void (^SwipeGestureCallbackBlock)(void)
typealias SwipeGestureCallbackBlock = () -> Void
A block that takes in a log model and returns whether or not the log passes the filter and should therefore be logged.
typedef BOOL (^SDLLogFilterBlock)(SDLLogModel *_Nonnull)
typealias SDLLogFilterBlock = (SDLLogModel) -> Bool
The log model describing the log.
Whether or not the log should be logged.
Describes the maintenance mode. Used in nothing.
typedef SDLEnum SDLMaintenanceModeStatus
struct SDLMaintenanceModeStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The block called when the manager is ready to be used or an error occurs while attempting to become ready.
typedef void (^SDLManagerReadyBlock)(BOOL, NSError *_Nullable)
typealias SDLManagerReadyBlock = (Bool, Error?) -> Void
a bool value if the set up succeeded
the error is any exists
The block that will be called every time an RPC is received when subscribed to an RPC.
typedef void (^SDLRPCUpdatedBlock)(__kindof SDLRPCMessage *_Nonnull)
typealias SDLRPCUpdatedBlock = (SDLRPCMessage) -> Void
The RPC message
The List possible cushions of a multi-contour massage seat.
typedef SDLEnum SDLMassageCushion
struct SDLMassageCushion : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The List possible modes of a massage zone.
typedef SDLEnum SDLMassageMode
struct SDLMassageMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
List possible zones of a multi-contour massage seat.
typedef SDLEnum SDLMassageZone
struct SDLMassageZone : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Indicates the format of the time displayed on the connected SDL unit.
Format description follows the following nomenclature:
Sp = Space
| = or
c = character
Used in DisplayCapabilities
@since SDL 1.0
typedef SDLEnum SDLMediaClockFormat
struct SDLMediaClockFormat : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible media types.
typedef SDLEnum SDLMediaType
struct SDLMediaType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The handler to run when a menu item is selected.
typedef void (^SDLMenuCellSelectionHandler)(SDLTriggerSource _Nonnull)
typealias SDLMenuCellSelectionHandler = (SDLTriggerSource) -> Void
The trigger source of the selection
Enum for each type of video streaming protocol, used in VideoStreamingFormat
typedef SDLEnum SDLMenuLayout
struct SDLMenuLayout : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Text Field metadata types. Used in Show.
typedef SDLEnum SDLMetadataType
struct SDLMetadataType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The type of remote control data. Used in ButtonPress, GetInteriorVehicleData, and ModuleData
typedef SDLEnum SDLModuleType
struct SDLModuleType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A navigation action.
typedef SDLEnum SDLNavigationAction
struct SDLNavigationAction : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A navigation junction type.
typedef SDLEnum SDLNavigationJunction
struct SDLNavigationJunction : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
NSNotification names specific to incoming SDL RPC
typedef NSNotificationName SDLNotificationName
typealias SDLNotificationName = NSString
The key used in all SDL NSNotifications to extract the response or notification from the userInfo dictionary.
typedef NSString *SDLNotificationUserInfoKey
typealias SDLNotificationUserInfoKey = NSString
A handler used on SDLPerformAudioPassThru.
typedef void (^SDLAudioPassThruHandler)(NSData *_Nullable)
typealias SDLAudioPassThruHandler = (Data?) -> Void
The audio data contained in the notification.
A handler used on all RPC requests which fires when the response is received.
typedef void (^SDLResponseHandler)(__kindof SDLRPCRequest *_Nullable,
__kindof SDLRPCResponse *_Nullable,
NSError *_Nullable)
typealias SDLResponseHandler = (SDLRPCRequest?, SDLRPCResponse?, Error?) -> Void
The request which was sent.
The response which was received.
If sending the request encountered an error, this parameter will not be nil.
A completion handler called after a sequential or simultaneous set of requests have completed sending.
typedef void (^SDLMultipleRequestCompletionHandler)(BOOL)
typealias SDLMultipleRequestCompletionHandler = (Bool) -> Void
True if every request succeeded, false if any failed. See the progress handler for more details on failures.
A handler called after each response to a request comes in in a multiple request send.
typedef BOOL (^SDLMultipleSequentialRequestProgressHandler)(
__kindof SDLRPCRequest *_Nonnull, __kindof SDLRPCResponse *_Nullable,
NSError *_Nullable, float)
typealias SDLMultipleSequentialRequestProgressHandler = (SDLRPCRequest, SDLRPCResponse?, Error?, Float) -> Bool
The request that received a response
The response received
The error that occurred during the request if any occurred.
The percentage of requests that have received a response
continueSendingRequests NO to cancel any requests that have not yet been sent. This is really only useful for a sequential send (sendSequentialRequests:progressHandler:completionHandler:). Return YES to continue sending requests.
A handler called after each response to a request comes in in a multiple request send.
typedef void (^SDLMultipleAsyncRequestProgressHandler)(
__kindof SDLRPCRequest *_Nonnull, __kindof SDLRPCResponse *_Nullable,
NSError *_Nullable, float)
typealias SDLMultipleAsyncRequestProgressHandler = (SDLRPCRequest, SDLRPCResponse?, Error?, Float) -> Void
The request that received a response
The response received
The error that occurred during the request if any occurred.
The percentage of requests that have received a response
A handler that may optionally be run when an SDLSubscribeButton or SDLSoftButton has a corresponding notification occur.
Warning
This only works if you send the RPC using SDLManager.Warning
Only one of the two parameters will be set for each block call.
typedef void (^SDLRPCButtonNotificationHandler)(SDLOnButtonPress *_Nullable,
SDLOnButtonEvent *_Nullable)
typealias SDLRPCButtonNotificationHandler = (SDLOnButtonPress?, SDLOnButtonEvent?) -> Void
An SDLOnButtonPress object that corresponds to this particular button.
An SDLOnButtonEvent object that corresponds to this particular button.
A handler that may optionally be run when an SDLAddCommand has a corresponding notification occur.
Warning
This only works if you send the RPC using SDLManager.
typedef void (^SDLRPCCommandNotificationHandler)(SDLOnCommand *_Nonnull)
typealias SDLRPCCommandNotificationHandler = (SDLOnCommand) -> Void
An SDLOnCommand object that corresponds to this particular SDLAddCommand.
The selected gear the car is in. Used in retrieving vehicle data.
@since SDL 2.0
typedef SDLEnum SDLPRNDL
struct SDLPRNDL : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
NSString typedef
SDLPermissionRPCName: The name of the permission
typedef NSString *SDLPermissionRPCName
typealias SDLPermissionRPCName = NSString
NSUUID typedef
SDLPermissionObserverIdentifier: A unique identifier
typedef NSUUID *SDLPermissionObserverIdentifier
typealias SDLPermissionObserverIdentifier = NSUUID
This is a block that is passed in to some methods that will be stored and called when specified permissions change.
typedef void (^SDLPermissionsChangedHandler)(
NSDictionary<SDLPermissionRPCName, NSNumber *> *_Nonnull,
SDLPermissionGroupStatus)
typealias SDLPermissionsChangedHandler = ([String : NSNumber], SDLPermissionGroupStatus) -> Void
A dictionary of the new current status of all subscription items; containing
The unified group status of the RPCs in the updatedPermissionStatuses dictionary. Allowed, if all RPCs are now allowed, Disallowed if all RPCs are now disallowed, or Mixed if some are allowed, and some are disallowed
A block that will be called when specified permissions change. It will return whether each RPC and its parameters are allowed as well as the permission group status of all the RPCs.
typedef void (^SDLRPCPermissionStatusChangedHandler)(
NSDictionary<SDLRPCFunctionName, SDLRPCPermissionStatus *> *_Nonnull,
SDLPermissionGroupStatus)
typealias SDLRPCPermissionStatusChangedHandler = ([SDLRPCFunctionName : SDLRPCPermissionStatus], SDLPermissionGroupStatus) -> Void
A dictionary of the new current status of all subscription items; containing
The unified group status of the RPCs in the updatedPermissionStatuses dictionary. Allowed, if all RPCs are now allowed, Disallowed if all RPCs are now disallowed, or Mixed if some are allowed, and some are disallowed
Enumeration that describes possible permission states of a policy table entry. Used in nothing.
@since SDL 2.0
typedef SDLEnum SDLPermissionStatus
struct SDLPermissionStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Describes the power mode qualification status. Used in ClusterModeStatus.
typedef SDLEnum SDLPowerModeQualificationStatus
struct SDLPowerModeQualificationStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The status of the car’s power. Used in ClusterModeStatus.
typedef SDLEnum SDLPowerModeStatus
struct SDLPowerModeStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A template layout an app uses to display information. The broad details of the layout are defined, but the details depend on the IVI system. Used in SetDisplayLayout.
typedef SDLEnum SDLPredefinedLayout
struct SDLPredefinedLayout : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Contains information about the speech capabilities on the SDL platform. Used in RegisterAppInterfaceResponse to indicate capability.
typedef SDLEnum SDLPrerecordedSpeech
struct SDLPrerecordedSpeech : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the current primary audio source of SDL (if selected). Used in DeviceStatus.
@since SDL 2.0
typedef SDLEnum SDLPrimaryAudioSource
struct SDLPrimaryAudioSource : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
All RPC request / response / notification names
typedef SDLEnum SDLRPCFunctionName
struct SDLRPCFunctionName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A type of RPC message
typedef SDLEnum SDLRPCMessageTypeName
struct SDLRPCMessageTypeName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Radio bands, such as AM and FM, used in RadioControlData
typedef SDLEnum SDLRadioBand
struct SDLRadioBand : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
List possible states of a remote control radio module. Used in RadioControlData.
typedef SDLEnum SDLRadioState
struct SDLRadioState : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A type of system request. Used in SystemRequest.
typedef SDLEnum SDLRequestType
struct SDLRequestType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Defines the possible result codes returned by SDL to the application in a response to a requested operation. Used in RPC responses
@since SDL 1.0
typedef SDLEnum SDLResult
struct SDLResult : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Describes different sampling rates for PerformAudioPassThru and AudioPassThruCapabilities
@since SDL 2.0
typedef SDLEnum SDLSamplingRate
struct SDLSamplingRate : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The handler run when the update has completed
typedef void (^SDLScreenManagerUpdateCompletionHandler)(NSError *_Nullable)
typealias SDLScreenManagerUpdateCompletionHandler = (Error?) -> Void
An error if the update failed and an error occurred
Return an error with userinfo [key: SDLChoiceCell, value: NSError] if choices failed to upload
typedef void (^SDLPreloadChoiceCompletionHandler)(NSError *_Nullable)
typealias SDLPreloadChoiceCompletionHandler = (Error?) -> Void
The error if one occurred
A handler run when the subscribe button has been selected
typedef void (^SDLSubscribeButtonHandler)(SDLOnButtonPress *_Nullable,
SDLOnButtonEvent *_Nullable,
NSError *_Nullable)
typealias SDLSubscribeButtonHandler = (SDLOnButtonPress?, SDLOnButtonEvent?, Error?) -> Void
Indicates whether this is a long or short button press event
Indicates that the button has been depressed or released
The error if one occurred
List of possible actions on Seat Meomry
@since SDL 2.0
typedef SDLEnum SDLSeatMemoryActionType
struct SDLSeatMemoryActionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
@added in SmartDeviceLink 7.1.0
typedef SDLEnum SDLSeekIndicatorType
struct SDLSeekIndicatorType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration listing possible service update reasons.
typedef SDLEnum SDLServiceUpdateReason
struct SDLServiceUpdateReason : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
SoftButtonType (TEXT / IMAGE / BOTH). Used by SoftButton.
typedef SDLEnum SDLSoftButtonType
struct SDLSoftButtonType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Contains information about TTS capabilities on the SDL platform. Used in RegisterAppInterfaceResponse, and TTSChunk.
@since SDL 1.0
typedef SDLEnum SDLSpeechCapabilities
struct SDLSpeechCapabilities : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Static icon names
typedef SDLEnum SDLStaticIconName
struct SDLStaticIconName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The current state of the video stream manager
typedef NSString SDLVideoStreamManagerState
The current state of the audio stream manager
typedef NSString SDLAudioStreamManagerState
Typedef SDLAppState
typedef NSString SDLAppState
List possible seats that is a remote controllable seat.
@deprecated @history SDL 5.0.0 @since SDL 6.0.0
typedef SDLEnum SDLSupportedSeat
struct SDLSupportedSeat : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration that describes system actions that can be triggered. Used in SoftButton.
typedef SDLEnum SDLSystemAction
struct SDLSystemAction : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
A completion handler called after a request for the capability type is returned from the remote system.
typedef void (^SDLUpdateCapabilityHandler)(NSError *_Nullable,
SDLSystemCapabilityManager *_Nonnull)
typealias SDLUpdateCapabilityHandler = (Error?, SDLSystemCapabilityManager) -> Void
The error returned if the request for a capability type failed. The error is nil if the request was successful.
The system capability manager
An observer block for whenever a subscription is called.
typedef void (^SDLCapabilityUpdateHandler)(SDLSystemCapability *_Nonnull)
typealias SDLCapabilityUpdateHandler = (SDLSystemCapability) -> Void
The capability that was updated.
An observer block for whenever a subscription or value is retrieved.
typedef void (^SDLCapabilityUpdateWithErrorHandler)(
SDLSystemCapability *_Nullable, BOOL, NSError *_Nullable)
typealias SDLCapabilityUpdateWithErrorHandler = (SDLSystemCapability?, Bool, Error?) -> Void
The capability that was updated.
Whether or not the capability was subscribed or if the capability will only be pulled once.
An error that occurred.
The type of system capability to get more information on. Used in GetSystemCapability.
typedef SDLEnum SDLSystemCapabilityType
struct SDLSystemCapabilityType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Indicates whether or not a user-initiated interaction is in progress, and if so, in what mode (i.e. MENU or VR). Used in OnHMIStatus
@since SDL 1.0
typedef SDLEnum SDLSystemContext
struct SDLSystemContext : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The turn-by-turn state, used in OnTBTClientState.
typedef SDLEnum SDLTBTState
struct SDLTBTState : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
An enum representing values of the tire pressure monitoring system
typedef SDLEnum SDLTPMS
struct SDLTPMS : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The unit of temperature to display. Used in Temperature.
typedef SDLEnum SDLTemperatureUnit
struct SDLTemperatureUnit : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The list of possible alignments of text in a field. May only work on some display types. used in Show.
@since SDL 1.0
typedef SDLEnum SDLTextAlignment
struct SDLTextAlignment : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Names of the text fields that can appear on a SDL display. Used in TextFieldName.
@since SDL 1.0
typedef SDLEnum SDLTextFieldName
struct SDLTextFieldName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The direction of a timer. Used in nothing.
typedef SDLEnum SDLTimerMode
struct SDLTimerMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Handler for touch events
typedef void (^SDLTouchEventHandler)(SDLTouch *_Nonnull, SDLTouchType _Nonnull)
typealias SDLTouchEventHandler = (SDLTouch, SDLTouchType) -> Void
Describes a touch location
The type of touch
The type of a touch in a projection application. Used in OnTouchEvent.
typedef SDLEnum SDLTouchType
struct SDLTouchType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Type of transmission used in the vehicle.
@since SDL 7.0
typedef SDLEnum SDLTransmissionType
struct SDLTransmissionType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Indicates whether choice/command was selected via VR or via a menu selection (using SEEKRIGHT/SEEKLEFT, TUNEUP, TUNEDOWN, OK buttons). Used in PerformInteractionResponse and OnCommand.
@since SDL 1.0
typedef SDLEnum SDLTriggerSource
struct SDLTriggerSource : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enumeration that describes the status of the turn light indicator.
typedef SDLEnum SDLTurnSignal
struct SDLTurnSignal : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Specifies what function should be performed on the media clock/counter. Used in SetMediaClockTimer.
@since SDL 1.0
typedef SDLEnum SDLUpdateMode
struct SDLUpdateMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Vehicle Data Activity Status. Used in nothing.
typedef SDLEnum SDLVehicleDataActiveStatus
struct SDLVehicleDataActiveStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of a vehicle data event; e.g. a seat belt event status. Used in retrieving vehicle data.
@since SDL 2.0
typedef SDLEnum SDLVehicleDataEventStatus
struct SDLVehicleDataEventStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of a vehicle data notification. Used in ECallInfo
@since SDL 2.0
typedef SDLEnum SDLVehicleDataNotificationStatus
struct SDLVehicleDataNotificationStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Vehicle Data Result Code. Used in DIDResult.
typedef SDLEnum SDLVehicleDataResultCode
struct SDLVehicleDataResultCode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of a binary vehicle data item. Used in MyKey.
@since SDL 2.0
typedef SDLEnum SDLVehicleDataStatus
struct SDLVehicleDataStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Defines the vehicle data types that can be published and/or subscribed to using SDLSubscribeVehicleData. Used in VehicleDataResult
typedef SDLEnum SDLVehicleDataType
struct SDLVehicleDataType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The ventilation mode. Used in ClimateControlCapabilities
typedef SDLEnum SDLVentilationMode
struct SDLVentilationMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enum for each type of video streaming codec. Used in VideoStreamingFormat.
typedef SDLEnum SDLVideoStreamingCodec
struct SDLVideoStreamingCodec : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enum for each type of video streaming protocol, used in VideoStreamingFormat
typedef SDLEnum SDLVideoStreamingProtocol
struct SDLVideoStreamingProtocol : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Enum for each type of video streaming protocol, used in VideoStreamingFormat
typedef SDLEnum SDLVideoStreamingState
struct SDLVideoStreamingState : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The handler that will be called when the command is activated
typedef void (^SDLVoiceCommandSelectionHandler)(void)
typealias SDLVoiceCommandSelectionHandler = () -> Void
The VR capabilities of the connected SDL platform. Used in RegisterAppInterfaceResponse.
@since SDL 1.0
typedef SDLEnum SDLVRCapabilities
struct SDLVRCapabilities : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
Reflects the status of a cluster instrument warning light. Used in TireStatus
@since SDL 2.0
typedef SDLEnum SDLWarningLightStatus
struct SDLWarningLightStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The type of a navigation waypoint. Used in GetWayPoints.
typedef SDLEnum SDLWayPointType
struct SDLWayPointType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The type of the window to be created. Main window or widget.
@since SDL 6.0
typedef SDLEnum SDLWindowType
struct SDLWindowType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
The status of the windshield wipers. Used in retrieving vehicle data.
typedef SDLEnum SDLWiperStatus
struct SDLWiperStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable