Package com.banuba.sdk.scene
Class Media.CppProxy
java.lang.Object
com.banuba.sdk.scene.Media.CppProxy
- All Implemented Interfaces:
Media
- Enclosing interface:
- Media
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Media
Media.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
finalize()
float
float
boolean
isLooped()
boolean
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 Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
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 -
resume
public void resume()Description copied from interface:Media
resume paused video playback
-