ClipboardAction

open class ClipboardAction : Action

An action that adds text to the clipboard.

Accepted situations: SITUATION_PUSH_OPENED, SITUATION_WEB_VIEW_INVOCATION, SITUATION_MANUAL_INVOCATION, SITUATION_BACKGROUND_NOTIFICATION_ACTION_BUTTON, SITUATION_AUTOMATION, and SITUATION_FOREGROUND_NOTIFICATION_ACTION_BUTTON.

Accepted argument value - A string with the clipboard text or a map with:

Result value: The arguments value.

Default Registration Names: ^c, clipboard_action

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val DEFAULT_REGISTRY_NAME: String = "clipboard_action"
Default registry name
Link copied to clipboard
Default registry short name
Link copied to clipboard
val LABEL_KEY: String = "label"
Key to define the ClipData's label when providing the action's value as a map.
Link copied to clipboard
val TEXT_KEY: String = "text"
Key to define the ClipData's text when providing the action's value as a map.

Inherited properties

Link copied to clipboard
Situation where an action is triggered from Action Automation.
Situation where an action is triggered from a background notification action button.
Situation where an action is triggered from a foreground notification action button.
Link copied to clipboard
Situation where an action is manually invoked.
Link copied to clipboard
Situation where an action is triggered when a push is opened.
Link copied to clipboard
Situation where an action is triggered when a push is received.
Link copied to clipboard
Situation where an action is triggered from a web view.

Functions

Link copied to clipboard
Called before an action is performed to determine if the the action can accept the arguments.
Link copied to clipboard
Performs the action.
Link copied to clipboard
Determines which thread runs the action.

Inherited functions

Link copied to clipboard
open fun onFinish(@NonNull arguments: ActionArguments, @NonNull result: ActionResult)
Called after the action performs.
Link copied to clipboard
open fun onStart(@NonNull arguments: ActionArguments)
Called before an action is performed.