Class MediaDiscoverer


  • public final class MediaDiscoverer
    extends Object
    Media discoverer component.
    • Method Detail

      • start

        public boolean start()
        Start media discovery.
        Returns:
        true if successful; false if error
      • stop

        public void stop()
        Stop media discovery.
      • isRunning

        public boolean isRunning()
        Is media discovery running?
        Returns:
        true if discovery is running; false if it is not
      • newMediaList

        public MediaList newMediaList()
        Get the discovered media list.

        The caller must release the returned MediaList when it has no further use for it.

        Returns:
        media list
      • newNediaListRef

        public MediaListRef newNediaListRef()
        Get the discovered media list as a MediaListRef.

        The caller must release the returned MediaList when it has no further use for it.

        Returns:
        media list
      • release

        public void release()
        Release the media discoverer and any associated native resources.