UAInboxDelegate

@protocol UAInboxDelegate <NSObject>

Delegate protocol for receiving callbacks related to Rich Push message delivery and display.

  • Called when the UADisplayInboxAction was triggered from a foreground notification.

    Declaration

    Objective-C

    - (void)richPushMessageAvailable:(nonnull UAInboxMessage *)richPushMessage;

    Swift

    optional func richPushMessageAvailable(_ richPushMessage: UAInboxMessage)

    Parameters

    richPushMessage

    The Rich Push message

  • Called when the inbox is requested to be displayed by the UADisplayInboxAction.

    @deprecated Deprecated - to be removed in SDK version 10.0

    Declaration

    Objective-C

    - (void)showInboxMessage:(nonnull UAInboxMessage *)message;

    Swift

    optional func show(_ message: UAInboxMessage)

    Parameters

    message

    The Rich Push message

  • Called when the inbox is requested to be displayed by the UADisplayInboxAction.

    Declaration

    Objective-C

    - (void)showMessageForID:(nonnull NSString *)messageID;

    Swift

    optional func showMessage(forID messageID: String)

    Parameters

    messageID

    The message ID of the Rich Push message

  • Called when the inbox is requested to be displayed by the UADisplayInboxAction.

    Declaration

    Objective-C

    - (void)showInbox;

    Swift

    func showInbox()