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

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

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 (readwrite, strong, nonatomic)
    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 (readwrite, strong, nonatomic, nullable)
    SDLAppServicesCapabilities *appServicesCapabilities;

Swift

var appServicesCapabilities: SDLAppServicesCapabilities? { get set }

navigationCapability

Describes the extended capabilities of the onboard navigation system

Optional

Objective-C

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

Swift

var navigationCapability: SDLNavigationCapability? { get set }

phoneCapability

Describes the extended capabilities of the module’s phone feature

Optional

Objective-C

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

Swift

var phoneCapability: SDLPhoneCapability? { get set }

videoStreamingCapability

Describes the capabilities of the module’s video streaming feature

Optional

Objective-C

@property (readwrite, strong, nonatomic, 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 (readwrite, strong, nonatomic, nullable)
    SDLRemoteControlCapabilities *remoteControlCapability;

Swift

var remoteControlCapability: SDLRemoteControlCapabilities? { get set }
View on GitHub.com
Previous Section Next Section