public class SrnHostAction extends SrnAction
It supports communication using android intents.
SrnAction.CallbackIntent
Constructor and Description |
---|
SrnHostAction(String label)
Constructs a host action.
|
Modifier and Type | Method and Description |
---|---|
void |
setIcon(SrnImageAsset icon)
Sets the icon for this action.
|
void |
setToast(String toast)
Sets the toast for this action.
|
setCallbackIntent
public SrnHostAction(String label)
label
- the label to setNullPointerException
- If label is null.IllegalArgumentException
- If label is an empty string.public void setToast(String toast)
toast
- the toast to setpublic void setIcon(SrnImageAsset icon)
icon
- the icon to setCopyright © Samsung Electronics, Co., Ltd. All rights reserved.