SubscriptionListAction
public final class SubscriptionListAction : AirshipAction
Subscribes to/unsubscribes from a subscription list.
Valid situations: ActionSituation.foregroundPush
, ActionSituation.launchedFromPush
ActionSituation.webViewInvocation
, ActionSituation.foregroundInteractiveButton
,
ActionSituation.backgroundInteractiveButton
, ActionSituation.manualInvocation
, and
ActionSituation.automation
-
Default names - “subscription_list_action”, “^sl”, “edit_subscription_list_action”, “^sla”
Declaration
Swift
public static let defaultNames: [String]
-
Default predicate - rejects foreground pushes with visible display options
Declaration
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
public func perform(arguments: ActionArguments) async throws -> AirshipJSON?