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

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

Swift

var triggerSource: SDLTriggerSource? { get set }
View on GitHub.com
Previous Section Next Section