Type Aliases
LoginResult
Login
Result
: { appkey
: string; clientIP
: string; clientPort
: number; clientType
: TClientType; consid
: string; customClientType
: number; deviceId
: string; hasTokenPreviously
: boolean; isAutoReconnect
: boolean; loginTime
: number; online
: boolean; os
: string; pushType
: number }Type declaration
appkey: string
clientIP: string
clientPort: number
consid: string
customClientType: number
deviceId: string
hasTokenPreviously: boolean
isAutoReconnect: boolean
loginTime: number
online: boolean
os: string
pushType: number
MultiSpotLoginResult
Multi
Spot
Login
Result
: { account
: string; clientType
: TClientType; connectionId
: string; deviceId
: string; ip
: string; mac
: string; online
: boolean; os
: string; time
: number }Type declaration
account: string
connectionId: string
deviceId: string
ip: string
mac: string
online: boolean
os: string
time: number
QChat
QChat: { announcement: string; broadcastUrl: string; createTime: number; creator: string; custom: string; id: string; mute: boolean; name: string; onlineMemberNum: number; updateTime: number }
Type declaration
announcement: string
broadcastUrl: string
createTime: number
creator: string
custom: string
id: string
mute: boolean
name: string
onlineMemberNum: number
updateTime: number
QChatInitializeOptions
QChatInitializeOptions: { account: string; appkey: string; authType?: number; debugLevel?: string; isFixedDeviceId?: boolean; linkAddresses: string[]; loginExt?: string; needReconnect?: boolean; reconnectionAttempts?: number; token: string }
Type declaration
account: string
appkey: string
Optional authType?: number
Optional debugLevel?: string
Optional isFixedDeviceId?: boolean
linkAddresses: string[]
Optional loginExt?: string
Optional needReconnect?: boolean
Optional reconnectionAttempts?: number
token: string
QChatMessageUnread
QChatMessageUnread: { channelId: number; idClient: string; serverId: string }
Type declaration
channelId: number
idClient: string
serverId: string
QChatOtherOptions
QChatOtherOptions: { QChatMedia?: { neroom: any }; cloudStorageConfig: { s3?: any } }
Type declaration
Optional QChatMedia?: { neroom: any }
cloudStorageConfig: { s3?: any }
TKickedReason
TKicked
Reason
: { clientType
: TClientType; customClientType
: number; ext
?: string; message
: string; reason
: "unknow" | "samePlatformKick" | "serverKick" | "otherPlatformKick" | "silentlyKick" }Type declaration
customClientType: number
Optional ext?: string
message: string
reason: "unknow" | "samePlatformKick" | "serverKick" | "otherPlatformKick" | "silentlyKick"
WillReconnectEventResult
WillReconnectEventResult: { duration: number; retryCount: number }
Type declaration
duration: number
retryCount: number
端测的IP