Interface VolumeChangeEvent
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event
,com.theoplayer.android.api.event.player.PlayerEvent
public interface VolumeChangeEvent implements PlayerEvent<E>
Fired when VOLUMECHANGE occurs for the Player.
- The players volume percentage as a rational number between 0 and 1.
- Changes the value of getVolume.
-
-
Method Summary
Modifier and Type Method Description abstract double
getCurrentTime()
The time at which the volume of the player was changed, in seconds. abstract double
getVolume()
The new volume of the player. -
-
Method Detail
-
getCurrentTime
abstract double getCurrentTime()
The time at which the volume of the player was changed, in seconds.
- Returns:
The time at which the volume of the player was changed, in seconds.
-
getVolume
abstract double getVolume()
The new volume of the player.
- This is a percentage, represented as a rational number between 0 and 1.
- Returns:
The new volume of the player. (NonNull)
-
-
-
-