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
/
StaffViewModel
Staff
View
Model
android
class
StaffViewModel
(
staffId
:
Int
,
ssAppViewModel
:
SSAppViewModel
)
:
ViewModel
,
CanFavoriteSnapPlay
,
CanFavoriteStaff
(
source
)
Members
Constructors
Staff
View
Model
Link copied to clipboard
android
constructor
(
staffId
:
Int
,
ssAppViewModel
:
SSAppViewModel
)
Properties
staff
Link copied to clipboard
android
val
staff
:
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
)
fetch
Staff
Link copied to clipboard
android
fun
fetchStaff
(
)
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
)