IntentTaskConfig
IntentTaskConfig
work_manager.IntentTaskConfig
Configuration for intent tasks: broadcast tasks (run when a specific broadcast is received) and activity tasks (run when a file or link is opened or edited from outside the app).
See also
Inheritance
↳
IntentTaskConfig
Table of contents
Properties
Properties
action
• Readonly action: string
Intent action for this task. For an activity task, "android.intent.action.VIEW" typically fires when viewing a file; for a broadcast task, "android.intent.action.BATTERY_CHANGED" fires on battery level changes.
dataType
• Optional Readonly dataType: string
For activity tasks only: MIME type filter for matching files.
local
• Optional Readonly local: boolean
path
• Readonly path: string
Absolute path to the script for this task.
Inherited from
type
• Optional Readonly type: "broadcast_intent_task" | "activity_intent_task"
Whether this is an activity intent task (activity_intent_task) or a broadcast intent task (broadcast_intent_task).
