LandingPageAction
public final class LandingPageAction : AirshipAction
Landing page action
-
Landing page action names.
Declaration
Swift
public static let defaultNames: [String] -
Default predicate - rejects
ActionSituation.foregroundPushDeclaration
Swift
public static let defaultPredicate: @Sendable (ActionArguments) -> Bool -
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
borderRadiusOptional border radius in points. Defaults to 2.
scheduleExtenderOptional 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
@MainActor public func perform(arguments: ActionArguments) async throws -> AirshipJSON?
View on GitHub