次の方法で共有


IMbmsGroupCallSessionCallback.OnServiceInterfaceAvailable Method

Definition

Called soon after the app calls MbmsGroupCallSession#create.

[Android.Runtime.Register("onServiceInterfaceAvailable", "(Ljava/lang/String;I)V", "GetOnServiceInterfaceAvailable_Ljava_lang_String_IHandler:Android.Telephony.Mbms.IMbmsGroupCallSessionCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public virtual void OnServiceInterfaceAvailable (string interfaceName, int index);
[<Android.Runtime.Register("onServiceInterfaceAvailable", "(Ljava/lang/String;I)V", "GetOnServiceInterfaceAvailable_Ljava_lang_String_IHandler:Android.Telephony.Mbms.IMbmsGroupCallSessionCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member OnServiceInterfaceAvailable : string * int -> unit
override this.OnServiceInterfaceAvailable : string * int -> unit

Parameters

interfaceName
String

The interface name for the data link.

index
Int32

The index for the data link.

Attributes

Remarks

Called soon after the app calls MbmsGroupCallSession#create. The information supplied via this callback may be used to establish a data-link interface with the modem.

In order to establish the data-link interface, the multicast IP and port must be obtained out-of-band from the carrier. A java.net.MulticastSocket may then be constructed using a java.net.NetworkInterface with the name and interface supplied by this callback.

Java documentation for android.telephony.mbms.MbmsGroupCallSessionCallback.onServiceInterfaceAvailable(java.lang.String, 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