Interface MediaViewController

  • All Implemented Interfaces:

    
    public interface MediaViewController
    
                        

    An interface to be implemented by the views that control the media files.

    • 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
      abstract void start(@NonNull() String optionsJson, @NonNull() String url) Start media playback.
      abstract void close() Close currently played media file.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • start

         abstract void start(@NonNull() String optionsJson, @NonNull() String url)

        Start media playback.

        Parameters:
        optionsJson - Media options in JSOn format (used for playing videos)
        url - Url to the media file.
      • close

         abstract void close()

        Close currently played media file.