Package 

Interface ChannelMarkReadListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract 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
    • Constructor Detail

    • Method Detail

      • onChannelMarkReadPrecondition

         abstract 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.