easemob-websdk 3.0.7 没有setPresence方法啊
conn: e
isHttpDNS: false
isMultiLoginSessions: true
wait: 30
retry: false
https: false
url: "http://im-api-v2.easemob.com/ws"
hold: 1
route: null
inactivity: 30
heartBeatWait: 4500
maxRetries: 5
isAutoLogin: false
pollingTime: 800
stropheConn: false
autoReconnectNumMax: 5
autoReconnectNumTotal: 0
autoReconnectInterval: 2
context: {status: 400, jid: {…}, root: l, userId: "XXX", appKey: "XXX", …}
sendQueue: r {_array_h: t}
intervalId: null
apiUrl: "http://a1.easemob.com"
isWindowSDK: false
encrypt: {encrypt: {…}}
delivery: true
appKey: "XXX"
domain: "easemob.com"
clientResource: "XXX"
user: "XXX"
orgName: "XXX"
appName: "XXX"
token: "XXXX"
unSendMsgArr: []
dnsArr: (3) ["https://rs.easemob.com", "http://182.92.174.78", "http://112.126.66.111"]
dnsIndex: 0
dnsTotal: 3
restHosts: []
restIndex: 0
restTotal: 0
xmppHosts: []
xmppIndex: 0
xmppTotal: 0
groupOption: {}
version: "3.0.0"
compressAlgorimth: 0
userAgent: 0
pov: 0
command: 3
deviceId: "webim"
encryptKey: ""
firstPayload: []
compressType: [0]
encryptType: [0]
osType: 16
onOpened: ƒ onOpened(message)
onClosed: ƒ onClosed(message)
onTextMessage: ƒ onTextMessage(message)
onEmojiMessage: ƒ onEmojiMessage(message)
onPictureMessage: ƒ onPictureMessage(message)
onAudioMessage: ƒ onAudioMessage(message)
onVideoMessage: ƒ onVideoMessage(message)
onFileMessage: ƒ onFileMessage(message)
onLocationMessage: ƒ onLocationMessage(message)
onCmdMessage: ƒ onCmdMessage(message)
onStatisticMessage: ƒ ()
onPresence: ƒ onPresence(message)
onRoster: ƒ onRoster(message)
onError: ƒ onError(message)
onReceivedMessage: ƒ onReceivedMessage(message)
onInviteMessage: ƒ onInviteMessage(message)
onDeliverdMessage: ƒ onDeliveredMessage(message)
onReadMessage: ƒ onReadMessage(message)
onRecallMessage: ƒ onRecallMessage(message)
onMutedMessage: ƒ onMutedMessage(message)
onOffline: ƒ onOffline()
onOnline: ƒ onOnline()
onConfirmPop: ƒ ()
onCreateGroup: ƒ onCreateGroup(message)
onUpdateMyGroupList: ƒ ()
onUpdateMyRoster: ƒ ()
onBlacklistUpdate: ƒ onBlacklistUpdate(list)
logOut: false
offLineSendConnecting: false
__proto__: Object
isHttpDNS: false
isMultiLoginSessions: true
wait: 30
retry: false
https: false
url: "http://im-api-v2.easemob.com/ws"
hold: 1
route: null
inactivity: 30
heartBeatWait: 4500
maxRetries: 5
isAutoLogin: false
pollingTime: 800
stropheConn: false
autoReconnectNumMax: 5
autoReconnectNumTotal: 0
autoReconnectInterval: 2
context: {status: 400, jid: {…}, root: l, userId: "XXX", appKey: "XXX", …}
sendQueue: r {_array_h: t}
intervalId: null
apiUrl: "http://a1.easemob.com"
isWindowSDK: false
encrypt: {encrypt: {…}}
delivery: true
appKey: "XXX"
domain: "easemob.com"
clientResource: "XXX"
user: "XXX"
orgName: "XXX"
appName: "XXX"
token: "XXXX"
unSendMsgArr: []
dnsArr: (3) ["https://rs.easemob.com", "http://182.92.174.78", "http://112.126.66.111"]
dnsIndex: 0
dnsTotal: 3
restHosts: []
restIndex: 0
restTotal: 0
xmppHosts: []
xmppIndex: 0
xmppTotal: 0
groupOption: {}
version: "3.0.0"
compressAlgorimth: 0
userAgent: 0
pov: 0
command: 3
deviceId: "webim"
encryptKey: ""
firstPayload: []
compressType: [0]
encryptType: [0]
osType: 16
onOpened: ƒ onOpened(message)
onClosed: ƒ onClosed(message)
onTextMessage: ƒ onTextMessage(message)
onEmojiMessage: ƒ onEmojiMessage(message)
onPictureMessage: ƒ onPictureMessage(message)
onAudioMessage: ƒ onAudioMessage(message)
onVideoMessage: ƒ onVideoMessage(message)
onFileMessage: ƒ onFileMessage(message)
onLocationMessage: ƒ onLocationMessage(message)
onCmdMessage: ƒ onCmdMessage(message)
onStatisticMessage: ƒ ()
onPresence: ƒ onPresence(message)
onRoster: ƒ onRoster(message)
onError: ƒ onError(message)
onReceivedMessage: ƒ onReceivedMessage(message)
onInviteMessage: ƒ onInviteMessage(message)
onDeliverdMessage: ƒ onDeliveredMessage(message)
onReadMessage: ƒ onReadMessage(message)
onRecallMessage: ƒ onRecallMessage(message)
onMutedMessage: ƒ onMutedMessage(message)
onOffline: ƒ onOffline()
onOnline: ƒ onOnline()
onConfirmPop: ƒ ()
onCreateGroup: ƒ onCreateGroup(message)
onUpdateMyGroupList: ƒ ()
onUpdateMyRoster: ƒ ()
onBlacklistUpdate: ƒ onBlacklistUpdate(list)
logOut: false
offLineSendConnecting: false
__proto__: Object
没有找到相关结果
已邀请:
1 个回复
lizg - ……
直接在config 配置中设置出席状态