Interface Media

  • All Known Implementing Classes:
    Media.CppProxy

    public interface Media
    Base class, represents media files handling.
    • Method Detail

      • setStartPosition

        void setStartPosition​(float position)
        set playback start position.
        Parameters:
        position - (float): playback start position (seconds)
      • setEndPosition

        void setEndPosition​(float position)
        set playback end position.
        Parameters:
        position - (float): playback end position (seconds)
      • setLooped

        void setLooped​(boolean looped)
        set playback looping.
        Parameters:
        looped - (bool): loop playback flag
      • isLooped

        boolean isLooped()
        Returns:
        loop playback flag (bool)
      • getStartPosition

        float getStartPosition()
        Returns:
        playback start position (float)
      • getEndPosition

        float getEndPosition()
        Returns:
        playback end position (float)
      • isPlaying

        boolean isPlaying()
        Returns:
        playback active flag.
      • play

        void play()
        starts video playback
      • pause

        void pause()
        pause video playback
      • stop

        void stop()
        stop video playback
      • resume

        void resume()
        resume paused video playback