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
SDLDeleteInteractionChoiceSet

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