Partager via


VcnManager.ClearVcnConfig(ParcelUuid) Method

Definition

Clears the VCN configuration for a given subscription group.

[Android.Runtime.Register("clearVcnConfig", "(Landroid/os/ParcelUuid;)V", "GetClearVcnConfig_Landroid_os_ParcelUuid_Handler", ApiSince=31)]
[Android.Runtime.RequiresPermission("carrier privileges")]
public virtual void ClearVcnConfig (Android.OS.ParcelUuid subscriptionGroup);
[<Android.Runtime.Register("clearVcnConfig", "(Landroid/os/ParcelUuid;)V", "GetClearVcnConfig_Landroid_os_ParcelUuid_Handler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("carrier privileges")>]
abstract member ClearVcnConfig : Android.OS.ParcelUuid -> unit
override this.ClearVcnConfig : Android.OS.ParcelUuid -> unit

Parameters

subscriptionGroup
ParcelUuid

the subscription group that the configuration should be applied to

Attributes

Remarks

Clears the VCN configuration for a given subscription group.

An app that has carrier privileges for any of the subscriptions in the given group may clear a VCN configuration. This API is ONLY permitted for callers running as the primary user. Any active VCN associated with this configuration will be torn down.

Java documentation for android.net.vcn.VcnManager.clearVcnConfig(android.os.ParcelUuid).

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