public static final class SrnRemoteInputAction.MultiSelectInputMode extends Object
Note : This must contain one choice item at the least to be sent.
Modifier and Type | Method and Description |
---|---|
SrnRemoteInputAction.MultiSelectInputMode |
addChoice(String label,
String choiceID)
Adds a choice to the input action.
|
SrnRemoteInputAction.MultiSelectInputMode |
addChoice(String label,
String choiceID,
SrnImageAsset icon)
Adds a choice to the input action.
|
SrnRemoteInputAction.MultiSelectInputMode |
addChoice(String label,
String choiceID,
SrnImageAsset icon,
boolean selected)
Adds a choice to the input action.
|
public SrnRemoteInputAction.MultiSelectInputMode addChoice(String label, String choiceID)
label
- the label to be setchoiceID
- the value to be sent back as resultNullPointerException
- If label or choiceID is null.public SrnRemoteInputAction.MultiSelectInputMode addChoice(String label, String choiceID, SrnImageAsset icon)
label
- the label to be setchoiceID
- the value to be sent back as resulticon
- the icon to be setNullPointerException
- If label or choiceID is null.public SrnRemoteInputAction.MultiSelectInputMode addChoice(String label, String choiceID, SrnImageAsset icon, boolean selected)
label
- the label to be setchoiceID
- the value to be sent back as resulticon
- the icon to be setselected
- true if the choice should be pre selected, false is default.NullPointerException
- If label or choiceID is null.Copyright © Samsung Electronics, Co., Ltd. All rights reserved.