SDLHMICapabilities Class Reference

Section Contents

Overview

Contains information about the HMI capabilities.

Since SDL 3.0

-initWithNavigation:phoneCall:videoStreaming:remoteControl:appServices:displays:seatLocation:driverDistraction:

Objective-C

- (nonnull instancetype)
    initWithNavigation:(nullable NSNumber<SDLBool> *)navigation
             phoneCall:(nullable NSNumber<SDLBool> *)phoneCall
        videoStreaming:(nullable NSNumber<SDLBool> *)videoStreaming
         remoteControl:(nullable NSNumber<SDLBool> *)remoteControl
           appServices:(nullable NSNumber<SDLBool> *)appServices
              displays:(nullable NSNumber<SDLBool> *)displays
          seatLocation:(nullable NSNumber<SDLBool> *)seatLocation
     driverDistraction:(nullable NSNumber<SDLBool> *)driverDistraction;

Swift

init(navigation: (NSNumber & SDLBool)?, phoneCall: (NSNumber & SDLBool)?, videoStreaming: (NSNumber & SDLBool)?, remoteControl: (NSNumber & SDLBool)?, appServices: (NSNumber & SDLBool)?, displays: (NSNumber & SDLBool)?, seatLocation: (NSNumber & SDLBool)?, driverDistraction: (NSNumber & SDLBool)?)

Parameters

navigation

- navigation

phoneCall

- phoneCall

videoStreaming

- videoStreaming

remoteControl

- remoteControl

appServices

- appServices

displays

- displays

seatLocation

- seatLocation

driverDistraction

- driverDistraction

Return Value

A SDLHMICapabilities object

navigation

Availability of built in Nav. True: Available, False: Not Available

Boolean value. Optional.

Since SDL 3.0

Objective-C

@property (nonatomic, copy, nullable) NSNumber<SDLBool> *navigation;

Swift

@NSCopying var navigation: (NSNumber & SDLBool)? { get set }

phoneCall

Availability of built in phone. True: Available, False: Not Available

Boolean value. Optional.

Since SDL 3.0

Objective-C

@property (nonatomic, copy, nullable) NSNumber<SDLBool> *phoneCall;

Swift

@NSCopying var phoneCall: (NSNumber & SDLBool)? { get set }

videoStreaming

Availability of built in video streaming. True: Available, False: Not Available

Boolean value. Optional.

Since SDL 4.5

Objective-C

@property (nonatomic, copy, nullable) NSNumber<SDLBool> *videoStreaming;

Swift

@NSCopying var videoStreaming: (NSNumber & SDLBool)? { get set }

remoteControl

Availability of built in remote control. True: Available, False: Not Available

Boolean value. Optional.

Since SDL 4.5

Objective-C

@property (nonatomic, copy, nullable) NSNumber<SDLBool> *remoteControl;

Swift

@NSCopying var remoteControl: (NSNumber & SDLBool)? { get set }

appServices

Availability of app services. True: Available, False: Not Available

App services is supported since SDL 5.1. If your connection is 5.1+, you can assume that app services is available even though between v5.1 and v6.0 this parameter is nil.

Boolean value. Optional.

Since SDL 6.0

Objective-C

@property (nonatomic, copy, nullable) NSNumber<SDLBool> *appServices;

Swift

@NSCopying var appServices: (NSNumber & SDLBool)? { get set }

displays

Availability of displays. True: Available, False: Not Available

Boolean value. Optional.

Since SDL 6.0

Objective-C

@property (nonatomic, copy, nullable) NSNumber<SDLBool> *displays;

Swift

@NSCopying var displays: (NSNumber & SDLBool)? { get set }

seatLocation

Availability of seatLocation. True: Available, False: Not Available

Boolean value. Optional.

Since SDL 6.0 *

Objective-C

@property (nonatomic, copy, nullable) NSNumber<SDLBool> *seatLocation;

Swift

@NSCopying var seatLocation: (NSNumber & SDLBool)? { get set }

driverDistraction

Availability of driver distraction capability. True: Available, False: Not Available

@since SDL 7.0.0

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *driverDistraction;

Swift

var driverDistraction: (NSNumber & SDLBool)? { get set }