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
SDLGetSystemCapability

SDLGetSystemCapability Class Reference

Section Contents

Overview

SDL RPC Request for expanded information about a supported system/HMI capability

@since SDL 4.5

-initWithType:

Convenience init

Objective-C

- (nonnull instancetype)initWithType:(nonnull SDLSystemCapabilityType)type;

Swift

init(type: SDLSystemCapabilityType)

Parameters

type

The type of system capability

Return Value

A SDLSystemCapabilityType object

-initWithType:subscribe:

Convenience init

Objective-C

- (nonnull instancetype)initWithType:(nonnull SDLSystemCapabilityType)type
                           subscribe:(BOOL)subscribe;

Swift

init(type: SDLSystemCapabilityType, subscribe: Bool)

Parameters

type

The type of system capability

subscribe

Whether or not to subscribe to updates of the supplied service capability type

Return Value

A SDLSystemCapabilityType object

systemCapabilityType

The type of system capability to get more information on

SDLSystemCapabilityType, Required

Objective-C

@property (nonatomic, strong) SDLSystemCapabilityType _Nonnull systemCapabilityType;

Swift

var systemCapabilityType: SDLSystemCapabilityType { get set }

subscribe

Flag to subscribe to updates of the supplied service capability type. If true, the requester will be subscribed. If false, the requester will not be subscribed and be removed as a subscriber if it was previously subscribed.

Boolean, Optional

Objective-C

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

Swift

var subscribe: (NSNumber & SDLBool)? { get set }
View on GitHub.com
Previous Section Next Section