DeepLinkAction
public final class DeepLinkAction : AirshipAction
Opens a deep link URL.
Expected argument values: A valid URL String.
Valid situations: All but backgroundPush and backgroundInteractiveButton
-
Default names - “deep_link_action”, “^d”
Declaration
Swift
public static let defaultNames: [String] -
Default predicate - Rejects
Airship.foregroundPushDeclaration
Swift
public static let defaultPredicate: @Sendable (ActionArguments) -> Bool -
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