语言

StreamingServiceCallback.OnStreamMethodUpdated(StreamingMethod) 方法

定义

通知正在使用的 bcast/unicast 方法。

[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

参数

methodType
StreamingMethod

当前广播或单播传输方法。

特性

注解

通知正在使用的 bcast/unicast 方法。

这是信息性的。 指示我们是否可以使用单元格广播,或者必须回退到此流的单播。

必须在流的开头调用一次,因为我们更改为STATE_STARTED,但未指定严格的排序。 如果我们更改模式,则必须再次调用它,但如果这种情况未发生,则不会再次使用回调。

查看 StreamingService#BROADCAST_METHOD 和 StreamingService#UNICAST_METHOD

Java文档android.telephony.mbms.StreamingServiceCallback.onStreamMethodUpdated(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于