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 (nonatomic, strong) 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 (nonatomic, strong, nullable) NSString *label;

Swift

var label: String? { get set }

action

@abstract type of action to be performed

Required, - see: SDLSeatMemoryActionType

Objective-C

@property (nonatomic, strong) SDLSeatMemoryActionType _Nonnull action;

Swift

var action: SDLSeatMemoryActionType { get set }