Language

VpnService.Builder.SetConfigureIntent(PendingIntent) Method

Definition

Set the PendingIntent to an activity for users to configure the VPN connection.

[Android.Runtime.Register("setConfigureIntent", "(Landroid/app/PendingIntent;)Landroid/net/VpnService$Builder;", "GetSetConfigureIntent_Landroid_app_PendingIntent_Handler")]
public virtual Android.Net.VpnService.Builder SetConfigureIntent(Android.App.PendingIntent intent);
[<Android.Runtime.Register("setConfigureIntent", "(Landroid/app/PendingIntent;)Landroid/net/VpnService$Builder;", "GetSetConfigureIntent_Landroid_app_PendingIntent_Handler")>]
abstract member SetConfigureIntent : Android.App.PendingIntent -> Android.Net.VpnService.Builder
override this.SetConfigureIntent : Android.App.PendingIntent -> Android.Net.VpnService.Builder

Parameters

intent
PendingIntent

The activity intent used by the system's VPN configuration button.

Returns

This VPN builder with the requested setting updated.

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.

Java documentation for android.net.VpnService.Builder.setConfigureIntent(android.app.PendingIntent).

Applies to