UADisplayInboxAction Class Reference
Inherits from | UAAction : NSObject |
Declared in | UADisplayInboxAction.h |
Overview
Requests the inbox be displayed.
The action will call the UAInboxDelegate or the UAInboxPushHandlerDelegate if the UAInboxDelegate is not available. If the specified message is available showInboxMessage: will be called 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, and UASituationForegroundInteractiveButton
Result value: nil
Instance Methods
displayInboxMessage:situation:
Called when the action attempts to display the inbox message. This method should not ordinarily be called directly.
- (void)displayInboxMessage:(UAInboxMessage *)message situation:(UASituation)situation
Parameters
- message
The inbox message.
- situation
The argument’s situation.
Declared In
UADisplayInboxAction.h