Language

VcnConfig.Builder(Context) Constructor

Definition

Creates a builder for a VCN configuration.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=31)]
public Builder(Android.Content.Context context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=31)>]
new Android.Net.Vcn.VcnConfig.Builder : Android.Content.Context -> Android.Net.Vcn.VcnConfig.Builder

Parameters

context
Context

The context used to identify the app that provides this configuration. This value cannot be null.

Attributes

Remarks

The builder records the context's operation package name as the provisioning package. Add at least one gateway connection configuration before calling Build().

See the Android 14 VcnConfig implementation.

Applies to