ScheduleAction

public final class ScheduleAction : AirshipAction

Action to schedule other actions.

This action is registered under the names schedule_actions and ^sa.

Expected argument values: Dictionary representing a schedule info JSON.

Valid situations: ActionSituation.backgroundPush, .foregroundPush, .webViewInvocation, .manualInvocation, and .automation

Result value: Schedule ID or throw if the schedule failed.

  • Cancel schedules action names.

    Declaration

    Swift

    public static let defaultNames: [String]
  • accepts(arguments:) Asynchronous

    Declaration

    Swift

    public func accepts(arguments: ActionArguments) async -> Bool
  • perform(arguments:) Asynchronous

    Declaration

    Swift

    public func perform(arguments: ActionArguments) async throws -> AirshipJSON?