intentForMessage

fun intentForMessage(context: Context, bundle: Bundle?, message: Message): Intent

Creates an Intent for correctly displaying a Marigold Message Activity.

Return

An Intent to launch the MessageActivity with a specific Message.

Parameters

context

The Application Context.

bundle

Any bundled extras to add to the Intent.

message

The Message to display in MessageActivity.


fun intentForMessage(context: Context, bundle: Bundle?, messageId: String): Intent

Creates an Intent for correctly displaying a Marigold Message Activity.

Return

An Intent to launch the MessageActivity with a specific Message.

Parameters

context

The Application Context.

bundle

Any bundled extras to add to the Intent.

messageId

The Id of the Message to display in MessageActivity.