Aracılığıyla paylaş


MbmsDownloadSession.RequestUpdateFileServices(IList<String>) Method

Definition

An inspection API to retrieve the list of available android.telephony.mbms.FileServiceInfos currently being advertised.

[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

Parameters

classList
IList<String>

A list of service classes which the app wishes to receive MbmsDownloadSessionCallback#onFileServicesUpdated(List) callbacks about. Subsequent calls to this method will replace this list of service classes (i.e. the middleware will no longer send updates for services matching classes only in the old list). Values in this list should be negotiated with the wireless carrier prior to using this API.

Attributes

Remarks

An inspection API to retrieve the list of available android.telephony.mbms.FileServiceInfos currently being advertised. The results are returned asynchronously via a call to MbmsDownloadSessionCallback#onFileServicesUpdated(List)

Asynchronous error codes via the MbmsDownloadSessionCallback#onError(int, String) callback may include any of the errors that are not specific to the streaming use-case.

May throw an IllegalStateException or IllegalArgumentException.

Java documentation for android.telephony.MbmsDownloadSession.requestUpdateFileServices(java.util.List<java.lang.String>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to