toggle menu
amity-sdk
6.35.0.0
androidJvm
switch theme
search in API
amity-sdk
/
com.amity.socialcloud.sdk.api.core.presence
/
AmityUserPresenceRepository
Amity
User
Presence
Repository
class
AmityUserPresenceRepository
Members
Functions
get
Online
Users
Count
Link copied to clipboard
fun
getOnlineUsersCount
(
)
:
Single
<
Int
>
get
Online
Users
Snapshot
Link copied to clipboard
fun
getOnlineUsersSnapshot
(
)
:
Single
<
AmityOnlineUsersSnapshot
>
get
Syncing
User
Presence
Link copied to clipboard
fun
getSyncingUserPresence
(
)
:
Flowable
<
List
<
AmityUserPresence
>
>
get
User
Presence
Link copied to clipboard
fun
getUserPresence
(
userIds
:
List
<
String
>
)
:
Single
<
List
<
AmityUserPresence
>
>
sync
User
Presence
Link copied to clipboard
fun
syncUserPresence
(
userId
:
String
,
viewId
:
String
=
"amity-global"
)
unsync
All
User
Presence
Link copied to clipboard
fun
unsyncAllUserPresence
(
)
unsync
User
Presence
Link copied to clipboard
fun
unsyncUserPresence
(
userId
:
String
,
viewId
:
String
=
"amity-global"
)