public final class IntentAction extends Object
Intent.getIntentActions()
Modifier and Type | Method | Description |
---|---|---|
Future<Object> |
execute() |
Execute the intent action.
|
void |
execute(Callback callback) |
Execute the intent action.
|
String |
getDisplayName() |
Get display name of this action.
|
String |
getIcon() |
Get icon of this action.
|
public void execute(@NullAllowed Callback callback)
callback
- Callback object that will be notified when the execution
completes. If callback is null, the result will be ignored.@NonNull public Future<Object> execute()
If the result is ignored, it's recommended to use
intentAction.execute(null);
@NonNull public String getDisplayName()
@NonNull public String getIcon()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.