Video Player State
Represents the state and controls for a video player. This class provides properties and methods to manage video playback, including play, pause, stop, seeking, and more. It maintains information about the playback state, such as whether the video is currently playing, volume levels, and playback position.
Functions of this class are tied to managing and interacting with the underlying video player implementation.
Inheritors
DefaultVideoPlayerState
LinuxVideoPlayerState
MacVideoPlayerState
WindowsVideoPlayerState
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the total duration of the video as a formatted string.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the current playback position as a formatted string.
Link copied to clipboard
Provides the audio level for the right channel as a percentage.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Denotes whether the user is manually adjusting the playback position.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun openFile(file: PlatformFile, initializeplayerState: InitialPlayerState = InitialPlayerState.PLAY)
Link copied to clipboard
abstract fun openUri(uri: String, initializeplayerState: InitialPlayerState = InitialPlayerState.PLAY)
Opens a video file or URL for playback.
Link copied to clipboard
Link copied to clipboard