NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
PassthroughServiceObserve.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.passthrough;
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.passthrough.model.PassthroughNotifyData;
7
8/**
9 * 应用服务器通过im下发消息
10 */
11@NIMService("透传服务观察者")
12@ObserverInterface
13public interface PassthroughServiceObserve {
14
15 /**
16 * 监听服务器下发透传消息
17 *
18 * @param observer 观察者,应用服务器透传消息。
19 * @param register true为注册监听,false为取消监听
20 */
22
23}
void observePassthroughNotify(Observer< PassthroughNotifyData > observer, boolean register)
监听服务器下发透传消息