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
共1个回复

lizg

2020-02-17 18:38

是的,没有了 直接在config 配置中设置出席状态
点击此处继续提问与开发者们互动

申请试用

提交后工作人员会尽快与您联系进行功能演示
技术咨询已转移到管理后台,请先登录

即时通讯云使用者请在应用详情页面咨询
客服云使用者请进入管理员模式咨询

×

在线咨询

电话咨询

技术咨询

免费试用