public class SrnRemoteLaunchAction extends SrnAction
SrnAction.CallbackIntent
Constructor and Description |
---|
SrnRemoteLaunchAction(String label)
Constructs a remote launch action.
|
SrnRemoteLaunchAction(String label,
Uri data)
Constructs a remote launch action with a specific operation and associated
Uri.
|
Modifier and Type | Method and Description |
---|---|
void |
setData(Uri data)
Sets the uri pointing to the data to associate which operation is set for
this action.
|
void |
setExtras(Bundle extras)
Sets extras for this action.
|
void |
setIcon(SrnImageAsset icon)
Sets the icon for this action.
|
void |
setMimeType(String type)
Sets the mime type that represents the data set using
setData(Uri) |
void |
setOperation(String operation)
Sets the operation name for this action.
|
void |
setPackage(String packageName)
Sets package name for the action.
|
setCallbackIntent
public SrnRemoteLaunchAction(String label)
label
- the label to be setNullPointerException
- If label is null.IllegalArgumentException
- If label is an empty string.public SrnRemoteLaunchAction(String label, Uri data)
label
- the label to be setdata
- the associated data formatted as a UriNullPointerException
- If label is null.IllegalArgumentException
- If label is an empty string.public void setIcon(SrnImageAsset icon)
icon
- the icon to be setpublic void setData(Uri data)
data
- the uri representing the data the operation is associated
with.public void setMimeType(String type)
setData(Uri)
type
- the mime type to be set.public void setPackage(String packageName)
packageName
- the package name to be set.public void setExtras(Bundle extras)
extras
- the bundle with the extras to be set.public void setOperation(String operation)
operation
- the operation name to be set.Copyright © Samsung Electronics, Co., Ltd. All rights reserved.