Push Config
Push notification configuration for messages.
Customizes how remote push notifications are displayed and behaved.
Usage Example:
val pushConfig = PushConfig().apply {
pushTitle = "New message"
pushContent = "You received a message"
pushData = "{\"key\":\"value\"}"
iOSConfig = IOSPushConfig().apply {
threadId = "chat_group_1"
interruptionLevel = "time-sensitive"
}
androidConfig = AndroidPushConfig().apply {
fcmChannelId = "chat_messages"
}
}Properties
Android platform push configuration.
Whether to hide the push notification title.
Whether to force showing notification detail content.
iOS platform push configuration.
Push notification content. null uses the default content.
Push template ID for localized push content.
Functions
Android platform push configuration.
Whether to hide the push notification title.
Whether to force showing notification detail content.
iOS platform push configuration.
Push notification content. null uses the default content.
Extra data attached to the push notification. null means none.
Push notification title. null uses the default title.
Push template ID for localized push content.
Android platform push configuration.
Whether to hide the push notification title.
Whether to force showing notification detail content.
iOS platform push configuration.
Push notification content. null uses the default content.
Extra data attached to the push notification. null means none.
Push notification title. null uses the default title.
Push template ID for localized push content.