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
SDLAppServiceCapability

SDLAppServiceCapability Class Reference

Section Contents

Overview

A currently available service.

@since RPC 5.1

-initWithUpdatedAppServiceRecord:

Convenience init for required parameters.

Objective-C

- (nonnull instancetype)initWithUpdatedAppServiceRecord:
    (nonnull SDLAppServiceRecord *)updatedAppServiceRecord;

Swift

init(updatedAppServiceRecord: SDLAppServiceRecord)

Parameters

updatedAppServiceRecord

Service record for a specific app service provider

Return Value

A SDLAppServiceCapability object

-initWithUpdateReason:updatedAppServiceRecord:

Convenience init for all parameters.

Objective-C

- (nonnull instancetype)initWithUpdateReason:
                            (nullable SDLServiceUpdateReason)updateReason
                     updatedAppServiceRecord:
                         (nonnull SDLAppServiceRecord *)updatedAppServiceRecord;

Swift

convenience init(updateReason: SDLServiceUpdateReason?, updatedAppServiceRecord: SDLAppServiceRecord)

Parameters

updateReason

Update reason for this service record

updatedAppServiceRecord

Service record for a specific app service provider

Return Value

A SDLAppServiceCapability object

updateReason

Only included in OnSystemCapbilityUpdated. Update reason for this service record.

SDLServiceUpdateReason, Optional

Objective-C

@property (nonatomic, strong, nullable) SDLServiceUpdateReason updateReason;

Swift

var updateReason: SDLServiceUpdateReason? { get set }

updatedAppServiceRecord

Service record for a specific app service provider.

SDLAppServiceRecord, Required

Objective-C

@property (nonatomic, strong) SDLAppServiceRecord *_Nonnull updatedAppServiceRecord;

Swift

var updatedAppServiceRecord: SDLAppServiceRecord { get set }
View on GitHub.com
Previous Section Next Section