Class Media.CppProxy

java.lang.Object
com.banuba.sdk.scene.Media.CppProxy
All Implemented Interfaces:
Media
Enclosing interface:
Media

public static final class Media.CppProxy extends Object implements Media
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • setStartPosition

      public void setStartPosition(float position)
      Description copied from interface: Media
      set playback start position.
      Specified by:
      setStartPosition in interface Media
      Parameters:
      position - (float): playback start position (seconds)
    • setEndPosition

      public void setEndPosition(float position)
      Description copied from interface: Media
      set playback end position.
      Specified by:
      setEndPosition in interface Media
      Parameters:
      position - (float): playback end position (seconds)
    • setLooped

      public void setLooped(boolean looped)
      Description copied from interface: Media
      set playback looping.
      Specified by:
      setLooped in interface Media
      Parameters:
      looped - (bool): loop playback flag
    • isLooped

      public boolean isLooped()
      Specified by:
      isLooped in interface Media
      Returns:
      loop playback flag (bool)
    • getStartPosition

      public float getStartPosition()
      Specified by:
      getStartPosition in interface Media
      Returns:
      playback start position (float)
    • getEndPosition

      public float getEndPosition()
      Specified by:
      getEndPosition in interface Media
      Returns:
      playback end position (float)
    • isPlaying

      public boolean isPlaying()
      Specified by:
      isPlaying in interface Media
      Returns:
      playback active flag.
    • play

      public void play()
      Description copied from interface: Media
      starts video playback
      Specified by:
      play in interface Media
    • pause

      public void pause()
      Description copied from interface: Media
      pause video playback
      Specified by:
      pause in interface Media
    • stop

      public void stop()
      Description copied from interface: Media
      stop video playback
      Specified by:
      stop in interface Media
    • resume

      public void resume()
      Description copied from interface: Media
      resume paused video playback
      Specified by:
      resume in interface Media