NIMSDK-AOS  10.5.0
NosServiceObserve.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.nos;
2 
3 import com.netease.nimlib.apt.annotation.NIMService;
4 import com.netease.nimlib.invocation.ObserverInterface;
8 
12 @NIMService("网易云存储服务观察者")
13 @ObserverInterface
14 public interface NosServiceObserve {
15 
22  void observeNosTransferStatus(Observer<NosTransferInfo> observer, boolean register);
23 
30  void observeNosTransferProgress(Observer<NosTransferProgress> observer, boolean register);
31 }
网易云存储传输进度观察者接口
void observeNosTransferProgress(Observer< NosTransferProgress > observer, boolean register)
注册/注销NOS上传/下载进度观察者,上传时key是文件路径,下载时key为url
void observeNosTransferStatus(Observer< NosTransferInfo > observer, boolean register)
注册/注销NOS文件传输状态观察者