-
public interface BatchNotificationChannelsManager.NotificationChannelIdInterceptorInterface describing a channel ID interceptor for notifications displayed by Batch
-
-
Method Summary
Modifier and Type Method Description abstract StringgetChannelId(@NonNull() BatchPushPayload payload, String deductedChannelId)Method that should return the notification channel id that should beNote that it might be called on any API level, even ones lower than O. -
-
Method Detail
-
getChannelId
@Nullable() abstract String getChannelId(@NonNull() BatchPushPayload payload, String deductedChannelId)
Method that should return the notification channel id that should beNote that it might be called on any API level, even ones lower than O.
If this method throws an exception, Batch will use the value of deductedChannelId.
- Parameters:
payload- Full push payload.deductedChannelId- Channel ID
-
-
-
-