ScheduleAction

class ScheduleAction @JvmOverloads constructor(scheduler: suspend (AutomationSchedule) -> Unit = { Airship.inAppAutomation.upsertSchedules(listOf(it)) }) : Action(source)

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 = { Airship.inAppAutomation.upsertSchedules(listOf(it)) })

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun acceptsArguments(arguments: ActionArguments): Boolean
Link copied to clipboard
open override fun perform(arguments: ActionArguments): ActionResult

Inherited functions

Link copied to clipboard
open fun onFinish(arguments: ActionArguments, result: ActionResult)
Link copied to clipboard
open fun onStart(arguments: ActionArguments)
Link copied to clipboard
Link copied to clipboard