Package com.banuba.sdk.scene
Class Media.CppProxy
- java.lang.Object
-
- com.banuba.sdk.scene.Media.CppProxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Media
Media.CppProxy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
protected void
finalize()
float
getEndPosition()
float
getStartPosition()
boolean
isLooped()
boolean
isPlaying()
void
pause()
pause video playbackvoid
play()
starts video playbackvoid
resume()
resume paused video playbackvoid
setEndPosition(float position)
set playback end position.void
setLooped(boolean looped)
set playback looping.void
setStartPosition(float position)
set playback start position.void
stop()
stop video playback
-
-
-
Method Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
setStartPosition
public void setStartPosition(float position)
Description copied from interface:Media
set playback start position.- Specified by:
setStartPosition
in interfaceMedia
- 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 interfaceMedia
- Parameters:
position
- (float): playback end position (seconds)
-
setLooped
public void setLooped(boolean looped)
Description copied from interface:Media
set playback looping.
-
isLooped
public boolean isLooped()
-
getStartPosition
public float getStartPosition()
- Specified by:
getStartPosition
in interfaceMedia
- Returns:
- playback start position (float)
-
getEndPosition
public float getEndPosition()
- Specified by:
getEndPosition
in interfaceMedia
- Returns:
- playback end position (float)
-
isPlaying
public boolean isPlaying()
-
play
public void play()
Description copied from interface:Media
starts video playback
-
pause
public void pause()
Description copied from interface:Media
pause video playback
-
stop
public void stop()
Description copied from interface:Media
stop video playback
-
-