LandingPageAction

public final class LandingPageAction : AirshipAction

Landing page action

  • Landing page action names.

    Declaration

    Swift

    public static let defaultNames: [String]
  • Schedule extender block.

    Declaration

    Swift

    public typealias ScheduleExtender = @Sendable (ActionArguments, inout AutomationSchedule) -> Void
  • Default constructor

    Declaration

    Swift

    public convenience init(
        borderRadius: Double = 2.0,
        scheduleExtender: ScheduleExtender? = nil
    )

    Parameters

    borderRadius

    Optional border radius in points. Defaults to 2.

    scheduleExtender

    Optional extender. Can be used to modify the landing page action schedule.

  • 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?