Udostępnij za pośrednictwem


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

Returns

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.

Applies to