Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.components.media
/
love.yinlin.compose.ui.media
/
VideoState
Video
State
@
Stable
abstract
class
VideoState
(
context
:
Context
,
val
topBar
:
VideoActionBar
?
,
val
bottomBar
:
VideoActionBar
?
)
Inheritors
VideoController
Members
Constructors
Video
State
Link copied to clipboard
constructor
(
context
:
Context
,
topBar
:
VideoActionBar
?
,
bottomBar
:
VideoActionBar
?
)
Properties
bottom
Bar
Link copied to clipboard
val
bottomBar
:
VideoActionBar
?
duration
Link copied to clipboard
var
duration
:
Long
error
Link copied to clipboard
var
error
:
Throwable
?
is
Playing
Link copied to clipboard
var
isPlaying
:
Boolean
orientation
Controller
Link copied to clipboard
val
orientationController
:
OrientationController
position
Link copied to clipboard
var
position
:
Long
top
Bar
Link copied to clipboard
val
topBar
:
VideoActionBar
?
url
Link copied to clipboard
var
url
:
String
?
Functions
load
Link copied to clipboard
abstract
fun
load
(
path
:
String
)
pause
Link copied to clipboard
abstract
fun
pause
(
)
play
Link copied to clipboard
abstract
fun
play
(
)
release
Link copied to clipboard
abstract
fun
release
(
)
seek
Link copied to clipboard
abstract
fun
seek
(
position
:
Long
)
stop
Link copied to clipboard
abstract
fun
stop
(
)
Video
Player
Controls
Link copied to clipboard
@
Composable
fun
VideoPlayerControls
(
modifier
:
Modifier
=
Modifier
)