MbmsDownloadSession.RequestUpdateFileServices(IList<String>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于检索当前正在播发的可用 android.telephony.mbms.FileServiceInfo
s 列表的检查 API。
[Android.Runtime.Register("requestUpdateFileServices", "(Ljava/util/List;)V", "GetRequestUpdateFileServices_Ljava_util_List_Handler", ApiSince=28)]
public virtual void RequestUpdateFileServices (System.Collections.Generic.IList<string> classList);
[<Android.Runtime.Register("requestUpdateFileServices", "(Ljava/util/List;)V", "GetRequestUpdateFileServices_Ljava_util_List_Handler", ApiSince=28)>]
abstract member RequestUpdateFileServices : System.Collections.Generic.IList<string> -> unit
override this.RequestUpdateFileServices : System.Collections.Generic.IList<string> -> unit
参数
应用希望接收 MbmsDownloadSessionCallback#onFileServicesUpdated(List)
回调的服务类列表。 对此方法的后续调用将替换此服务类列表(即中间件将不再发送仅旧列表中的服务匹配类的更新)。
此列表中的值应在使用此 API 之前与无线运营商协商。
- 属性
注解
用于检索当前正在播发的可用 android.telephony.mbms.FileServiceInfo
s 列表的检查 API。 通过调用 以异步方式返回结果 MbmsDownloadSessionCallback#onFileServicesUpdated(List)
通过回调的 MbmsDownloadSessionCallback#onError(int, String)
异步错误代码可能包括不特定于流式处理用例的任何错误。
可能会引发或 IllegalStateException
IllegalArgumentException
。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。