Package 

Interface BatchNotificationChannelsManager.NotificationChannelIdInterceptor

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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