package com.ez.ertcmeeting.bean

import com.ez.basertc.RTCConstant

class UserAccount {
    var userId: String = "0"
    var videoStatus: Int = DeviceState.DS_Closed.value
    var audioStatus: Int = DeviceState.DS_Closed.value
    var volume: Int = 0
//    var videoInfoData: VideoInfoData? = null
    var streamType: Int = RTCConstant.ERTC_VIDEO_STREAM_TYPE_NULL
    var upNetQuality: Int = 0
    var downNetQuality: Int = 0
    var decodeEngine: Int = RTCConstant.ERTC_DECODE_ENGINE_UNKNOWN

    override fun toString(): String {
        return "UserStatusData{" +
                "userId=" + userId +
                ", videoStatus=" + videoStatus +
                ", audioStatus=" + audioStatus +
                ", volume=" + volume +
                ", streamType=" + streamType +
                ", upNetQuality=" + upNetQuality +
                ", downNetQuality=" + downNetQuality +
                ", decodeEngine=" + decodeEngine +
                '}'
    }
    companion object {
        fun newIntent(userId: String) : UserAccount{
            var userAccount = UserAccount()
            userAccount.userId = userId
            return userAccount;
        }
    }
}