UADisplayInboxAction

@interface UADisplayInboxAction : UAAction

Requests the inbox be displayed.

The action will call the UAInboxDelegate showInboxMessage: if the specified message for every accepted situation except UASituationForegroundPush where richPushMessageAvailable: will be called instead.

If the message is unavailable because the message is not in the message list or the message ID was not supplied then showInbox will be called for every situation except for UASituationForegroundPush.

This action is registered under the names open_mc_action and ^mc.

Expected argument value is an inbox message ID as an NSString, nil, or auto to look for the message in the argument’s metadata.

Valid situations: UASituationForegroundPush, UASituationLaunchedFromPush, UASituationWebViewInvocation, UASituationManualInvocation, UASituationForegroundInteractiveButton, and UASituationAutomation

Result value: nil

  • Called when the action attempts to display the inbox message. This method should not ordinarily be called directly.

    Declaration

    Objective-C

    - (void)displayInboxMessage:(nonnull UAInboxMessage *)message
                      situation:(UASituation)situation;

    Swift

    func displayInboxMessage(_ message: Any!, situation: Any!)

    Parameters

    message

    The inbox message.

    situation

    The argument’s situation.

  • Called when the action attempts to display the inbox. This method should not ordinarily be called directly.

    Declaration

    Objective-C

    - (void)displayInboxWithSituation:(UASituation)situation;

    Swift

    func displayInbox(withSituation situation: Any!)

    Parameters

    situation

    The argument’s situation.