SDLPerformInteractionResponse Class Reference

Section Contents

Overview

PerformInteraction Response is sent, when SDLPerformInteraction has been called

@since SDL 1.0

choiceID

ID of the choice that was selected in response to PerformInteraction. Only is valid if general result is “success:true”.

Optional, Integer, 0 - 2,000,000,000

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLInt> *choiceID;

Swift

var choiceID: (NSNumber & SDLInt)? { get set }

manualTextEntry

Manually entered text selection, e.g. through keyboard. Can be returned in lieu of choiceID, depending on the trigger source.

Optional, Max length 500 chars

Objective-C

@property (nonatomic, strong, nullable) NSString *manualTextEntry;

Swift

var manualTextEntry: String? { get set }

triggerSource

A SDLTriggerSource object which will be shown in the HMI. Only is valid if resultCode is SUCCESS.

Objective-C

@property (nonatomic, strong, nullable) SDLTriggerSource triggerSource;

Swift

var triggerSource: SDLTriggerSource? { get set }