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
/
BrandSnapPlaysBlockViewModel
Brand
Snap
Plays
Block
View
Model
android
class
BrandSnapPlaysBlockViewModel
(
val
conditions
:
SnapPlaySearchCondition
,
val
sort
:
SortOrder
)
:
ViewModel
,
CanFavoriteSnapPlay
,
CanFavoriteStaff
(
source
)
Members
Constructors
Brand
Snap
Plays
Block
View
Model
Link copied to clipboard
android
constructor
(
conditions
:
SnapPlaySearchCondition
,
sort
:
SortOrder
)
Properties
conditions
Link copied to clipboard
android
val
conditions
:
SnapPlaySearchCondition
snap
Play
Id
List
Result
Link copied to clipboard
android
val
snapPlayIdListResult
:
StateFlow
<
Result
<
SnapPlayIdsData
>
?
>
sort
Link copied to clipboard
android
val
sort
:
SortOrder
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
Snap
Play
Items
Link copied to clipboard
android
suspend
fun
fetchSnapPlayItems
(
)
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
)