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
Documentation
SDLAppServicesCapabilities

SDLAppServicesCapabilities Class Reference

Section Contents

Overview

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

@since RPC 5.1

-initWithAppServices:

Convenience init.

Objective-C

- (nonnull instancetype)initWithAppServices:
    (nullable NSArray<SDLAppServiceCapability *> *)appServices;

Swift

init(appServices: [SDLAppServiceCapability]?)

Parameters

appServices

An array of currently available services.

Return Value

A SDLAppServicesCapabilities object

appServices

An array of currently available services. If this is an update to the capability the affected services will include an update reason in that item.

Array of SDLAppServiceCapability, Optional

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLAppServiceCapability *> *appServices;

Swift

var appServices: [SDLAppServiceCapability]? { get set }
View on GitHub.com
Previous Section Next Section