Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLAppServiceCapability Class Reference

Section Contents

Overview

Undocumented

-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 (readwrite, strong, nonatomic, nullable)
    SDLServiceUpdateReason updateReason;

Swift

var updateReason: SDLServiceUpdateReason? { get set }

updatedAppServiceRecord

Service record for a specific app service provider.

SDLAppServiceRecord, Required

Objective-C

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

Swift

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