MbmsDownloadSession.RequestUpdateFileServices(IList<String>) 方法

定义

用于检索当前正在播发的可用 android.telephony.mbms.FileServiceInfos 列表的检查 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

参数

classList
IList<String>

应用希望接收 MbmsDownloadSessionCallback#onFileServicesUpdated(List) 回调的服务类列表。 对此方法的后续调用将替换此服务类列表(即中间件将不再发送仅旧列表中的服务匹配类的更新)。 此列表中的值应在使用此 API 之前与无线运营商协商。

属性

注解

用于检索当前正在播发的可用 android.telephony.mbms.FileServiceInfos 列表的检查 API。 通过调用 以异步方式返回结果 MbmsDownloadSessionCallback#onFileServicesUpdated(List)

通过回调的 MbmsDownloadSessionCallback#onError(int, String) 异步错误代码可能包括不特定于流式处理用例的任何错误。

可能会引发或 IllegalStateExceptionIllegalArgumentException

适用于 . 的 android.telephony.MbmsDownloadSession.requestUpdateFileServices(java.util.List<java.lang.String>)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于