Creates a Choice Set which can be used in subsequent SDLPerformInteraction Operations.
HMILevel needs to be FULL, LIMITED or BACKGROUND
Before a perform interaction is sent you MUST wait for the success from the CreateInteractionChoiceSet RPC.
If you do not wait the system may not recognize the first utterance from the user.
@since SDL 1.0
See
SDLDeleteInteractionChoiceSet SDLPerformInteractionConvenience init for creating a choice set RPC
- (nonnull instancetype)initWithId:(UInt32)choiceId
choiceSet:(nonnull NSArray<SDLChoice *> *)choiceSet;
init(id choiceId: UInt32, choiceSet: [SDLChoice])
A unique ID that identifies the Choice Set
Array of choices, which the user can select by menu or voice recognition
An SDLCreateInteractionChoiceSet object
A unique ID that identifies the Choice Set
Required, Integer, 0 - 2,000,000,000
@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull interactionChoiceSetID;
var interactionChoiceSetID: NSNumber & SDLInt { get set }
Array of choices, which the user can select by menu or voice recognition
Required, SDLChoice, Array size 1 - 100
@property (nonatomic, strong) NSArray<SDLChoice *> *_Nonnull choiceSet;
var choiceSet: [SDLChoice] { get set }