Interface MediaSession.StreamHandler

    • Method Detail

      • start

        void start()
      • stop

        void stop()
      • shouldClosePreviousStream

        boolean shouldClosePreviousStream​(MediaSession.StreamHandler handler)
        Determine if the handler should be closed.
        Parameters:
        handler - The other stream in the same channel as this
        Returns:
        true if it has to be stop()ed