Package 

Class ChannelUtilsKt

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