getExtra

Gets an extra from the push bundle.

Return

The extra.

Parameters

key

The extra key.


open fun getExtra(@NonNull key: String, @NonNull defaultValue: String): String

Gets an extra from the push bundle.

Return

The extra or the default value if the extra does not exist.

Parameters

key

The extra key.

defaultValue

Default value if the value does not exist.