public class SrnRemoteBuiltInAction extends SrnAction
Modifier and Type | Class and Description |
---|---|
static class |
SrnRemoteBuiltInAction.OperationType
Indicates what type of built in action is wanted.
|
SrnAction.CallbackIntent
Constructor and Description |
---|
SrnRemoteBuiltInAction(String label)
Constructs a built-in action.
|
SrnRemoteBuiltInAction(String label,
SrnRemoteBuiltInAction.OperationType opType)
Constructs a built-in action with an operation.
|
Modifier and Type | Method and Description |
---|---|
void |
setData(Uri uri)
Sets the uri pointing to the data associated with the built in action
set for this action.
|
void |
setType(SrnRemoteBuiltInAction.OperationType opType)
Sets the built in action, such as OPERATION_CALL for the action.
|
setCallbackIntent
public SrnRemoteBuiltInAction(String label)
label
- the label to setNullPointerException
- If label is null.IllegalArgumentException
- If label is an empty string.public SrnRemoteBuiltInAction(String label, SrnRemoteBuiltInAction.OperationType opType)
label
- the label to setopType
- the built in operation to set.NullPointerException
- If label is null.NullPointerException
- If opType is null.IllegalArgumentException
- If label is an empty string.public void setType(SrnRemoteBuiltInAction.OperationType opType)
opType
- the built in operation to set.NullPointerException
- If opType is null.public void setData(Uri uri)
uri
- the uri representing the data the built in action is
associated with.Copyright © Samsung Electronics, Co., Ltd. All rights reserved.