ImsMmTelManager.GetRegistrationTransportType(IExecutor, IConsumer) Method

Definition

Requires Permission: android.Manifest.permission#READ_PRECISE_PHONE_STATE READ_PRECISE_PHONE_STATE or that the calling app has carrier privileges (see android.telephony.TelephonyManager#hasCarrierPrivileges).

[Android.Runtime.Register("getRegistrationTransportType", "(Ljava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetGetRegistrationTransportType_Ljava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=30)]
public virtual 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", ApiSince=30)>]
abstract member GetRegistrationTransportType : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
override this.GetRegistrationTransportType : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit

Parameters

executor
IExecutor
transportTypeCallback
IConsumer

Implements

Attributes

Remarks

Requires Permission: android.Manifest.permission#READ_PRECISE_PHONE_STATE READ_PRECISE_PHONE_STATE or that the calling app has carrier privileges (see android.telephony.TelephonyManager#hasCarrierPrivileges). Access by profile owners is deprecated and will be removed in a future release.

To be added

Java documentation for android.telephony.ims.ImsMmTelManager.getRegistrationTransportType(java.util.concurrent.Executor, java.util.function.Consumer<java.lang.Integer>).

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