TelephonyManager.GetNetworkSlicingConfiguration(IExecutor, IOutcomeReceiver) 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.
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
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.