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

SDLSeatMemoryAction Class Reference

Section Contents

Overview

Specify the action to be performed.

-initWithId:action:

@abstract Constructs a newly allocated SDLSeatMemoryAction object with id, label (max length 100 chars) and action type

Objective-C

- (nonnull instancetype)initWithId:(UInt8)id
                            action:(nonnull SDLSeatMemoryActionType)action;

Swift

init(id: UInt8, action: SDLSeatMemoryActionType)

Parameters

id

of the action to be performed

action

type of action to be performed

Return Value

A SDLSeatMemoryAction object

-initWithId:label:action:

@abstract Constructs a newly allocated SDLSeatMemoryAction object with id, label (max length 100 chars) and action type

Objective-C

- (nonnull instancetype)initWithId:(UInt8)id
                             label:(nullable NSString *)label
                            action:(nonnull SDLSeatMemoryActionType)action;

Swift

init(id: UInt8, label: String?, action: SDLSeatMemoryActionType)

Parameters

id

of the action to be performed

label

of the action to be performed.

action

type of action to be performed

Return Value

A SDLSeatMemoryAction object

id

@abstract id of the action to be performed.

Required, MinValue- 0 MaxValue= 10

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLInt> *_Nonnull id;

Swift

var id: NSNumber & SDLInt { get set }

label

@abstract label of the action to be performed.

Optional, Max length 100 chars

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSString *label;

Swift

var label: String? { get set }

action

@abstract type of action to be performed

Required, - see: SDLSeatMemoryActionType

Objective-C

@property (readwrite, strong, nonatomic) SDLSeatMemoryActionType _Nonnull action;

Swift

var action: SDLSeatMemoryActionType { get set }
View on GitHub.com
Previous Section Next Section