TelephonyManager.GetNetworkSlicingConfiguration(IExecutor, IOutcomeReceiver) Method

Definition

Request to get the current slicing configuration including URSP rules and NSSAIs (configured, allowed and rejected).

[Android.Runtime.Register("getNetworkSlicingConfiguration", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetGetNetworkSlicingConfiguration_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE")]
public virtual void GetNetworkSlicingConfiguration (Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("getNetworkSlicingConfiguration", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetGetNetworkSlicingConfiguration_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE")>]
abstract member GetNetworkSlicingConfiguration : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.GetNetworkSlicingConfiguration : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

Parameters

executor
IExecutor

the executor on which callback will be invoked.

callback
IOutcomeReceiver

a callback to receive the current slicing configuration.

Attributes

Remarks

Java documentation for android.telephony.TelephonyManager.getNetworkSlicingConfiguration(java.util.concurrent.Executor, android.os.OutcomeReceiver<android.telephony.data.NetworkSlicingConfig, android.telephony.TelephonyManager.NetworkSlicingException>).

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