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 }