ScheduleAction
class ScheduleAction @JvmOverloads constructor(scheduler: suspend (AutomationSchedule) -> Unit = {
InAppAutomation.shared().upsertSchedules(listOf(it))
}) : Action
Action to schedule actions.
Accepted situations: Action.SITUATION_MANUAL_INVOCATION, Action.SITUATION_WEB_VIEW_INVOCATION, Action.SITUATION_AUTOMATION, and Action.SITUATION_PUSH_RECEIVED.
Result value: Schedule ID.
Default Registration Names: ScheduleAction.DEFAULT_NAMES
Default Registration Predicate: none
Constructors
Link copied to clipboard
constructor(scheduler: suspend (AutomationSchedule) -> Unit = {
InAppAutomation.shared().upsertSchedules(listOf(it))
})