Package com.batch.android
Class BatchNotificationChannelsManager.StringResChannelNameProvider
java.lang.Object
com.batch.android.BatchNotificationChannelsManager.StringResChannelNameProvider
- All Implemented Interfaces:
BatchNotificationChannelsManager.ChannelNameProvider
- Enclosing class:
- BatchNotificationChannelsManager
public static final class BatchNotificationChannelsManager.StringResChannelNameProvider
extends Object
implements BatchNotificationChannelsManager.ChannelNameProvider
Implementation of
ChannelNameProvider
using a String resource to automatically fetch
the right translation.-
Constructor Summary
-
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.
-
Constructor Details
-
StringResChannelNameProvider
-
-
Method Details
-
getDefaultChannelName
Description copied from interface:BatchNotificationChannelsManager.ChannelNameProvider
The user-facing channel name to return to the system.
If this method throws an exception, Batch will use its default name.- Specified by:
getDefaultChannelName
in interfaceBatchNotificationChannelsManager.ChannelNameProvider
-