IRegistrationManager.GetRegistrationTransportType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Transport Type associated with the current IMS registration.
[Android.Runtime.Register("getRegistrationTransportType", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetGetRegistrationTransportType_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler:Android.Telephony.Ims.IRegistrationManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
[Android.Runtime.RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE")]
public void GetRegistrationTransportType (Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer transportTypeCallback);
[<Android.Runtime.Register("getRegistrationTransportType", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetGetRegistrationTransportType_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler:Android.Telephony.Ims.IRegistrationManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE")>]
abstract member GetRegistrationTransportType : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
Parameters
- executor
- IExecutor
The Executor
that will be used to call the transportTypeCallback.
- transportTypeCallback
- IConsumer
The transport type associated with the current IMS registration,
which will be one of following:
AccessNetworkConstants#TRANSPORT_TYPE_WWAN
,
AccessNetworkConstants#TRANSPORT_TYPE_WLAN
, or
AccessNetworkConstants#TRANSPORT_TYPE_INVALID
.
- Attributes
Remarks
Gets the Transport Type associated with the current IMS registration.
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.