Class ChannelUtilsKt

    • 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
      final static String generateChannelIdIfNeeded(String channelId, List<String> memberIds) Generates the channel id based on the member ids if provided channelId is empty.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • generateChannelIdIfNeeded

         final static String generateChannelIdIfNeeded(String channelId, List<String> memberIds)

        Generates the channel id based on the member ids if provided channelId is empty. Member-based id should only be used for creating distinct channels. Created member-based id might differ from the one created by the server if the channel already exists and was created with different members order.

        Parameters:
        channelId - The channel id.
        memberIds - The list of members' ids.