Rachel
Toggle table of contents
3.7.2
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.components.media
/
love.yinlin.compose.ui.media
/
VideoController
Video
Controller
@
Stable
abstract
class
VideoController
(
topBar
:
VideoActionBar.Factory
,
bottomBar
:
VideoActionBar.Factory
)
:
VideoState
Members
Constructors
Video
Controller
Link copied to clipboard
constructor
(
topBar
:
VideoActionBar.Factory
,
bottomBar
:
VideoActionBar.Factory
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
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
is
Show
Controls
Link copied to clipboard
var
isShowControls
:
Boolean
position
Link copied to clipboard
var
position
:
Long
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
(
)
Player
Controls
Link copied to clipboard
@
Composable
fun
PlayerControls
(
modifier
:
Modifier
=
Modifier
)
release
Link copied to clipboard
fun
release
(
)
seek
Link copied to clipboard
abstract
fun
seek
(
position
:
Long
)
stop
Link copied to clipboard
abstract
fun
stop
(
)
Surface
Content
Link copied to clipboard
@
Composable
abstract
fun
SurfaceContent
(
modifier
:
Modifier
=
Modifier
)