Package 

Interface ChannelMarkReadListener

    • Method Summary

      Modifier and Type Method Description
      Result<Unit> onChannelMarkReadPrecondition(String channelType, String channelId) Run precondition for the request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onChannelMarkReadPrecondition

         Result<Unit> onChannelMarkReadPrecondition(String channelType, String channelId)

        Run precondition for the request. If it returns Result.isSuccess then the request is run otherwise it returns Result.error and no request is made.

        Parameters:
        channelType - Type of the channel to mark as read.
        channelId - Id of the channel to mark as read.