Interface: IntentTaskConfig


CloudControl Pro 9 Docs / work_manager / IntentTaskConfig

Interface: IntentTaskConfig

work_manager.IntentTaskConfig

The configuration of the intent task. It includes broadcast task (triggers at a specific broadcast event), and activity task (triggers at opening external files, links, etc. ).

See

Hierarchy

Table of contents

Properties

Properties

action

Readonly action: string

The action of the task. For example, in an activity task, "android.intent.action.VIEW" is triggered when opening files; in a broadcast task, "android.intent.action.BATTERY_CHANGED" is triggered when the battery changes.


dataType

Optional Readonly dataType: string

The MIME type of the file to be opened in an activity task.


local

Optional Readonly local: boolean


path

Readonly path: string

The script path of the task, must be a absolute path.

Inherited from

TaskConfig.path


type

Optional Readonly type: "broadcast_intent_task" | "activity_intent_task"

Specifies whether the task is an activity task (activity_intent_task) or a broadcast task (broadcast_intent_task).