MessageCenterAction

public final class MessageCenterAction : AirshipAction

Message center action that launches the message center.

Valid situations: ActionSituation.manualInvocation, ActionSituation.launchedFromPush ActionSituation.webViewInvocation, ActionSituation.foregroundInteractiveButton, ActionSituation.manualInvocation, and ActionSituation.automation

  • Default names - “_uamid”, “overlay_inbox_action”, “display_inbox_action”, “^mc”, “^mco”

    Declaration

    Swift

    public static let defaultNames: [String]
  • Action value for the message ID place holder.

    Declaration

    Swift

    public static let messageIDPlaceHolder: String
  • 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?