staffstart-android-sdk
Toggle table of contents
android
Platform filter
android
Switch theme
Search in API
staffstart-android-sdk
staffstart-app
/
com.vanish.standard.staffstart.app.viewmodel
/
SnapPlayViewModel
Snap
Play
View
Model
android
class
SnapPlayViewModel
(
snapPlayId
:
Int
,
ssAppViewModel
:
SSAppViewModel
)
:
ViewModel
,
CanFavoriteSnapPlay
,
CanFavoriteStaff
(
source
)
Members
Constructors
Snap
Play
View
Model
Link copied to clipboard
android
constructor
(
snapPlayId
:
Int
,
ssAppViewModel
:
SSAppViewModel
)
Properties
is
Already
Called
Tracking
Link copied to clipboard
android
val
isAlreadyCalledTracking
:
StateFlow
<
Boolean
>
snap
Play
Id
Result
Link copied to clipboard
android
val
snapPlayIdResult
:
StateFlow
<
Result
<
Int
?
>
?
>
Functions
add
Closeable
Link copied to clipboard
android
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
add
Favorite
Snap
Play
Link copied to clipboard
android
open
override
fun
addFavoriteSnapPlay
(
snapPlayId
:
Int
,
consumerUserCode
:
String
)
add
Favorite
Staff
Link copied to clipboard
android
open
override
fun
addFavoriteStaff
(
userId
:
Int
,
consumerUserCode
:
String
)
get
Closeable
Link copied to clipboard
android
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
reload
Link copied to clipboard
android
fun
reload
(
)
remove
Favorite
Snap
Play
Link copied to clipboard
android
open
override
fun
removeFavoriteSnapPlay
(
snapPlayId
:
Int
,
consumerUserCode
:
String
)
remove
Favorite
Staff
Link copied to clipboard
android
open
override
fun
removeFavoriteStaff
(
userId
:
Int
,
consumerUserCode
:
String
)
tracking
Page
If
Needed
Link copied to clipboard
android
fun
trackingPageIfNeeded
(
)