Interface Media

All Known Implementing Classes:
Media.CppProxy

public interface Media
Base class, represents media files handling.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
    float
     
    boolean
     
    boolean
     
    void
    pause video playback
    void
    starts video playback
    void
    resume paused video playback
    void
    setEndPosition(float position)
    set playback end position.
    void
    setLooped(boolean looped)
    set playback looping.
    void
    setStartPosition(float position)
    set playback start position.
    void
    stop video playback
  • Method Details

    • 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