Sdílet prostřednictvím


MbmsStreamingSession.RequestUpdateStreamingServices Method

Definition

An inspection API to retrieve the list of streaming media currently be advertised.

[Android.Runtime.Register("requestUpdateStreamingServices", "(Ljava/util/List;)V", "GetRequestUpdateStreamingServices_Ljava_util_List_Handler", ApiSince=28)]
public virtual void RequestUpdateStreamingServices (System.Collections.Generic.IList<string>? serviceClassList);
[<Android.Runtime.Register("requestUpdateStreamingServices", "(Ljava/util/List;)V", "GetRequestUpdateStreamingServices_Ljava_util_List_Handler", ApiSince=28)>]
abstract member RequestUpdateStreamingServices : System.Collections.Generic.IList<string> -> unit
override this.RequestUpdateStreamingServices : System.Collections.Generic.IList<string> -> unit

Parameters

serviceClassList
IList<String>

A list of streaming service classes that the app would like updates on. The exact names of these classes should be negotiated with the wireless carrier separately.

Attributes

Remarks

An inspection API to retrieve the list of streaming media currently be advertised. The results are returned asynchronously via MbmsStreamingSessionCallback#onStreamingServicesUpdated(List) on the callback provided upon creation.

Multiple calls replace the list of service classes of interest.

May throw an IllegalArgumentException or an IllegalStateException.

Java documentation for android.telephony.MbmsStreamingSession.requestUpdateStreamingServices(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