NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
RobotServiceObserve.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.robot;
2
3import com.netease.nimlib.apt.annotation.NIMService;
4import com.netease.nimlib.invocation.ObserverInterface;
5import com.netease.nimlib.sdk.Observer;
6import com.netease.nimlib.sdk.robot.model.RobotChangedNotify;
7
8/**
9 * 机器人数据变更接口
10 */
11@NIMService("机器人服务观察者")
12@ObserverInterface
13public interface RobotServiceObserve {
14 /**
15 * 监听机器人变更通知
16 *
17 * @param observer 观察者,参数为收到的机器人变更通知。
18 * @param register true为注册监听,false为取消监听
19 */
21}
void observeRobotChangedNotify(Observer< RobotChangedNotify > observer, boolean register)
监听机器人变更通知