-
- All Implemented Interfaces:
-
com.batch.android.BatchNotificationChannelsManager.ChannelNameProvider
public final class BatchNotificationChannelsManager.StringResChannelNameProvider implements BatchNotificationChannelsManager.ChannelNameProvider
Implementation of ChannelNameProvider using a String resource to automatically fetchthe right translation.
-
-
Constructor Summary
Constructors Constructor Description BatchNotificationChannelsManager.StringResChannelNameProvider(Context context, int channelNameResourceId)
-
Method Summary
Modifier and Type Method Description StringgetDefaultChannelName()The user-facing channel name to return to the system. -
-
Constructor Detail
-
BatchNotificationChannelsManager.StringResChannelNameProvider
BatchNotificationChannelsManager.StringResChannelNameProvider(Context context, int channelNameResourceId)
-
-
Method Detail
-
getDefaultChannelName
@NonNull() String getDefaultChannelName()
The user-facing channel name to return to the system.If this method throws an exception, Batch will use its default name.
-
-
-
-