createIntent

fun createIntent(context: Context, messageId: String): Intent

Creates an Intent to display the message with the given messageId.

Return

An Intent to display a message in MessageActivity.

Parameters

context

The context. Used to set the package name for the intent and to resolve whether MessageCenter.VIEW_MESSAGE_INTENT_ACTION can be handled.

messageId

The message ID to display.