public final class IntentAction
extends java.lang.Object
Intent.getIntentActions()| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.Future<java.lang.Object> |
execute() |
Execute the intent action.
|
void |
execute(Callback callback) |
Execute the intent action.
|
java.lang.String |
getDisplayName() |
Get display name of this action.
|
java.lang.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 java.util.concurrent.Future<java.lang.Object> execute()
If the result is ignored, it's recommended to use
intentAction.execute(null);
@NonNull public java.lang.String getDisplayName()
@NonNull public java.lang.String getIcon()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.