Freigeben über


StreamingServiceCallback.OnStreamMethodUpdated(StreamingMethod) Method

Definition

Notify of bcast/unicast method being used.

[Android.Runtime.Register("onStreamMethodUpdated", "(I)V", "GetOnStreamMethodUpdated_IHandler", ApiSince=28)]
public virtual void OnStreamMethodUpdated (Android.Telephony.Mbms.StreamingMethod methodType);
[<Android.Runtime.Register("onStreamMethodUpdated", "(I)V", "GetOnStreamMethodUpdated_IHandler", ApiSince=28)>]
abstract member OnStreamMethodUpdated : Android.Telephony.Mbms.StreamingMethod -> unit
override this.OnStreamMethodUpdated : Android.Telephony.Mbms.StreamingMethod -> unit

Parameters

methodType
StreamingMethod
Attributes

Remarks

Notify of bcast/unicast method being used.

This is intended to be informational. Indicates whether we're able to use cell broadcast or have had to fallback to unicast for this stream.

This must be called once at the beginning of the stream around the same time as we change to STATE_STARTED, but strict ordering is not specified. It must be called again if we change modes, but if that doesn't happen the callback won't be used again.

See StreamingService#BROADCAST_METHOD and StreamingService#UNICAST_METHOD

Java documentation for android.telephony.mbms.StreamingServiceCallback.onStreamMethodUpdated(int).

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