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
SDLSystemCapability

SDLSystemCapability Class Reference

Section Contents

Overview

The systemCapabilityType indicates which type of data should be changed and identifies which data object exists in this struct. For example, if the SystemCapability Type is NAVIGATION then a “navigationCapability” should exist.

First implemented in SDL Core v4.4

-initWithAppServicesCapabilities:

Convenience init for an App Service Capability

Objective-C

- (nonnull instancetype)initWithAppServicesCapabilities:
    (nonnull SDLAppServicesCapabilities *)capability;

Swift

init(appServicesCapabilities capability: SDLAppServicesCapabilities)

Parameters

capability

Describes the capabilities of app services including what service types are supported and the current state of services

Return Value

A SDLSystemCapability object

-initWithNavigationCapability:

Convenience init for a Navigation Capability

Objective-C

- (nonnull instancetype)initWithNavigationCapability:
    (nonnull SDLNavigationCapability *)capability;

Swift

init(navigationCapability capability: SDLNavigationCapability)

Parameters

capability

Describes the extended capabilities of the onboard navigation system

Return Value

A SDLSystemCapability object

-initWithPhoneCapability:

Convenience init for a Phone Capability

Objective-C

- (nonnull instancetype)initWithPhoneCapability:
    (nonnull SDLPhoneCapability *)capability;

Swift

init(phoneCapability capability: SDLPhoneCapability)

Parameters

capability

Describes the extended capabilities of the module’s phone feature

Return Value

A SDLSystemCapability object

-initWithVideoStreamingCapability:

Convenience init for a Video Streaming Capability

Objective-C

- (nonnull instancetype)initWithVideoStreamingCapability:
    (nonnull SDLVideoStreamingCapability *)capability;

Swift

init(videoStreamingCapability capability: SDLVideoStreamingCapability)

Parameters

capability

Describes the capabilities of the module’s video streaming feature

Return Value

A SDLSystemCapability object

-initWithRemoteControlCapability:

Convenience init for a Remote Control Capability

Objective-C

- (nonnull instancetype)initWithRemoteControlCapability:
    (nonnull SDLRemoteControlCapabilities *)capability;

Swift

init(remoteControlCapability capability: SDLRemoteControlCapabilities)

Parameters

capability

Describes the extended capabilities of the module’s remote control feature

Return Value

A SDLSystemCapability object

-initWithDisplayCapabilities:

Convenience init for DisplayCapability list

Objective-C

- (nonnull instancetype)initWithDisplayCapabilities:
    (nonnull NSArray<SDLDisplayCapability *> *)capabilities;

Swift

init(displayCapabilities capabilities: [SDLDisplayCapability])

Parameters

capabilities

Contains capabilities related to a physical screen and any associated windows

Return Value

A SDLSystemCapability object

-initWithSeatLocationCapability:

Convenience init for a Remote Control Capability

Objective-C

- (nonnull instancetype)initWithSeatLocationCapability:
    (nonnull SDLSeatLocationCapability *)capability;

Swift

init(seatLocationCapability capability: SDLSeatLocationCapability)

Parameters

capability

Describes information about the locations of each seat

Return Value

A SDLSystemCapability object

-initWithDriverDistractionCapability:

Convenience init for a Driver Distraction capability

Objective-C

- (nonnull instancetype)initWithDriverDistractionCapability:
    (nonnull SDLDriverDistractionCapability *)capability;

Swift

init(driverDistractionCapability capability: SDLDriverDistractionCapability)

Parameters

capability

Describes capabilities when the driver is distracted

Return Value

A SDLSystemCapability object

systemCapabilityType

Used as a descriptor of what data to expect in this struct. The corresponding param to this enum should be included and the only other parameter included.

Objective-C

@property (nonatomic, strong) SDLSystemCapabilityType _Nonnull systemCapabilityType;

Swift

var systemCapabilityType: SDLSystemCapabilityType { get set }

appServicesCapabilities

Describes the capabilities of app services including what service types are supported and the current state of services.

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLAppServicesCapabilities *appServicesCapabilities;

Swift

var appServicesCapabilities: SDLAppServicesCapabilities? { get set }

navigationCapability

Describes the extended capabilities of the onboard navigation system

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLNavigationCapability *navigationCapability;

Swift

var navigationCapability: SDLNavigationCapability? { get set }

phoneCapability

Describes the extended capabilities of the module’s phone feature

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLPhoneCapability *phoneCapability;

Swift

var phoneCapability: SDLPhoneCapability? { get set }

videoStreamingCapability

Describes the capabilities of the module’s video streaming feature

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLVideoStreamingCapability *videoStreamingCapability;

Swift

var videoStreamingCapability: SDLVideoStreamingCapability? { get set }

remoteControlCapability

Describes the extended capabilities of the module’s remote control feature

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLRemoteControlCapabilities *remoteControlCapability;

Swift

var remoteControlCapability: SDLRemoteControlCapabilities? { get set }

seatLocationCapability

Describes information about the locations of each seat

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLSeatLocationCapability *seatLocationCapability;

Swift

var seatLocationCapability: SDLSeatLocationCapability? { get set }

displayCapabilities

Contain the display related information and all windows related to that display

Optional

@since SDL 6.0

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLDisplayCapability *> *displayCapabilities;

Swift

var displayCapabilities: [SDLDisplayCapability]? { get set }

driverDistractionCapability

Describes capabilities when the driver is distracted

@since SDL 7.0.0

Objective-C

@property (nonatomic, strong, nullable) SDLDriverDistractionCapability *driverDistractionCapability;

Swift

var driverDistractionCapability: SDLDriverDistractionCapability? { get set }
View on GitHub.com
Previous Section Next Section