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
SDLSeatMemoryAction

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 }
View on GitHub.com
Previous Section Next Section