Package com.batch.android
Interface BatchNotificationChannelsManager.ChannelNameProvider
- All Known Implementing Classes:
BatchNotificationChannelsManager.StringResChannelNameProvider
- Enclosing class:
- BatchNotificationChannelsManager
public static interface BatchNotificationChannelsManager.ChannelNameProvider
Interface describing a channel name provider.
Implementing that interface allows Batch to call you back on locale change, to update your channel name translation.
-
Method Summary
Modifier and TypeMethodDescriptionThe user-facing channel name to return to the system.
If this method throws an exception, Batch will use its default name.
-
Method Details
-
getDefaultChannelName
String getDefaultChannelName()The user-facing channel name to return to the system.
If this method throws an exception, Batch will use its default name.
-