sender-sdk
androidJvm
sender-sdk
/
tv.vizbee.ui.castbar.viewmodel
/
CastBarLayoutViewModel
Cast
Bar
Layout
View
Model
class
CastBarLayoutViewModel
:
ViewModel
,
SessionStateListener
Members
Constructors
Cast
Bar
Layout
View
Model
Link copied to clipboard
constructor
(
)
Functions
get
Scale
Type
Link copied to clipboard
fun
getScaleType
(
scaleTypeIndex
:
Int
)
:
ImageView.ScaleType
get
Sub
Title
Link copied to clipboard
fun
getSubTitle
(
state
:
CastBarState
,
deviceInstance
:
DeviceInstance
,
context
:
Context
)
:
String
get
Title
Link copied to clipboard
fun
getTitle
(
state
:
CastBarState
,
deviceInstance
:
DeviceInstance
,
context
:
Context
)
:
String
init
Link copied to clipboard
fun
init
(
context
:
Context
)
on
Session
State
Changed
Link copied to clipboard
open
override
fun
onSessionStateChanged
(
newState
:
Int
)
on
Stop
Link copied to clipboard
fun
onStop
(
context
:
Context
)
Properties
allowed
Device
Count
Link copied to clipboard
var
allowedDeviceCount
:
Int
priority
Device
Live
Data
Link copied to clipboard
val
priorityDeviceLiveData
:
LiveData
<
DeviceInstance
>
session
Manager
Link copied to clipboard
var
sessionManager
:
VizbeeSessionManager
?
state
Live
Data
Link copied to clipboard
val
stateLiveData
:
LiveData
<
CastBarState
>