SDLDeleteInteractionChoiceSet Class Reference

Section Contents

Overview

Deletes an existing Choice Set identified by the parameter interactionChoiceSetID. If the specified interactionChoiceSetID is currently in use by an active SDLPerformInteraction this call to delete the Choice Set will fail returning an IN_USE resultCode

Function Group: Base

HMILevel needs to be FULL, LIMITED or BACKGROUD

Since SmartDeviceLink 1.0
see SDLCreateInteractionChoiceSet SDLPerformInteraction

-initWithId:

Convenience init to delete a choice set

Objective-C

- (nonnull instancetype)initWithId:(UInt32)choiceId;

Swift

init(id choiceId: UInt32)

Parameters

choiceId

A unique ID that identifies the Choice Set

Return Value

An SDLDeleteInteractionChoiceSet object

interactionChoiceSetID

a unique ID that identifies the Choice Set @discussion a unique ID that identifies the Choice Set

Notes: Min Value: 0; Max Value: 2000000000

Objective-C

@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull interactionChoiceSetID;

Swift

var interactionChoiceSetID: NSNumber & SDLInt { get set }