sender-sdk
androidJvm
sender-sdk
/
tv.vizbee.ui.castbar.viewmodel
/
MiniPlayerLayoutViewModel
Mini
Player
Layout
View
Model
class
MiniPlayerLayoutViewModel
:
ViewModel
,
VideoClient.VideoStatusListener
Members
Constructors
Mini
Player
Layout
View
Model
Link copied to clipboard
constructor
(
)
Functions
get
Casting
To
Message
Link copied to clipboard
fun
getCastingToMessage
(
context
:
Context
)
:
String
get
Scale
Type
Link copied to clipboard
fun
getScaleType
(
scaleTypeIndex
:
Int
)
:
ImageView.ScaleType
get
Stream
Duration
Link copied to clipboard
fun
getStreamDuration
(
videoStatus
:
VideoStatus
)
:
Int
get
Stream
Position
Link copied to clipboard
fun
getStreamPosition
(
videoStatus
:
VideoStatus
)
:
Int
get
Sub
Title
Text
Link copied to clipboard
fun
getSubTitleText
(
context
:
Context
)
:
String
?
get
Thumbnail
Url
Link copied to clipboard
fun
getThumbnailUrl
(
videoStatus
:
VideoStatus
)
:
String
get
Title
Text
Link copied to clipboard
fun
getTitleText
(
context
:
Context
)
:
String
?
init
Link copied to clipboard
fun
init
(
)
on
Stop
Link copied to clipboard
fun
onStop
(
)
on
Video
Status
Updated
Link copied to clipboard
open
override
fun
onVideoStatusUpdated
(
videoStatus
:
VideoStatus
)
remove
Video
Status
Listener
Link copied to clipboard
fun
removeVideoStatusListener
(
)
Properties
video
Client
Link copied to clipboard
var
videoClient
:
VideoClient
?
video
Status
Live
Data
Link copied to clipboard
val
videoStatusLiveData
:
LiveData
<
VideoStatus
>