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
iOS Documentation
SDLAppCapability

SDLAppCapability Class Reference

Section Contents

Overview

@added in SmartDeviceLink 7.1.0

-initWithAppCapabilityType:

Objective-C

- (nonnull instancetype)initWithAppCapabilityType:
    (nonnull SDLAppCapabilityType)appCapabilityType;

Swift

init(appCapabilityType: SDLAppCapabilityType)

Parameters

appCapabilityType

- appCapabilityType

Return Value

A SDLAppCapability object

-initWithAppCapabilityType:videoStreamingCapability:

Objective-C

- (nonnull instancetype)
    initWithAppCapabilityType:(nonnull SDLAppCapabilityType)appCapabilityType
     videoStreamingCapability:
         (nullable SDLVideoStreamingCapability *)videoStreamingCapability;

Swift

init(appCapabilityType: SDLAppCapabilityType, videoStreamingCapability: SDLVideoStreamingCapability?)

Parameters

appCapabilityType

- appCapabilityType

videoStreamingCapability

- videoStreamingCapability

Return Value

A SDLAppCapability object

appCapabilityType

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 param included.

Objective-C

@property (nonatomic, strong) SDLAppCapabilityType _Nonnull appCapabilityType;

Swift

var appCapabilityType: SDLAppCapabilityType { get set }

videoStreamingCapability

Describes supported capabilities for video streaming

Objective-C

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

Swift

var videoStreamingCapability: SDLVideoStreamingCapability? { get set }
View on GitHub.com
Previous Section Next Section