package com.adealink.weparty.module.room.viewmodel

import androidx.lifecycle.LiveData
import com.adealink.frame.base.Rlt
import com.adealink.frame.mvvm.livedata.ExtLiveData
import com.adealink.weparty.module.profile.data.UserInfo

/**
 */
interface IRoomMemberViewModel {

    val onlineMemberCountLD: LiveData<Long>

    val audienceJoinedLD : ExtLiveData<UserInfo>

    fun getRoomMemberInfo(uid: String): LiveData<Rlt<UserInfo>>
    fun getRoomMembersInfo(uidSet: Set<String>): LiveData<Rlt<Map<String, UserInfo>>>
}