Class MediaSession.ChannelBuilder

  • Enclosing class:
    MediaSession

    public static final class MediaSession.ChannelBuilder
    extends java.lang.Object
    A data class holding info on what channel should be created after network creation.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelBuilder​(java.lang.String channelName, java.lang.String channelMetadata)
      The constructor of this class.
      ChannelBuilder​(java.lang.String channelName, java.lang.String channelMetadata, int maxStreams)
      The constructor of this class.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • ChannelBuilder

        public ChannelBuilder​(java.lang.String channelName,
                              java.lang.String channelMetadata)
        The constructor of this class.
        Parameters:
        channelName - Name of the channel to be created
        channelMetadata - Metadata of the channel to be created
      • ChannelBuilder

        public ChannelBuilder​(java.lang.String channelName,
                              java.lang.String channelMetadata,
                              int maxStreams)
        The constructor of this class.
        Parameters:
        channelName - Name of the channel to be created
        channelMetadata - Metadata of the channel to be created
        maxStreams - max no. of streams allowed in this channel (-1 for unlimited)