語言

VpnService.Builder.SetConfigureIntent(PendingIntent) 方法

定義

設定 為 PendingIntent 一個活動,讓使用者能設定 VPN 連線。

[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

參數

intent
PendingIntent

系統 VPN 設定按鈕所使用的活動意圖。

傳回

這個 VPN 建構器已更新,並符合所要求的設定。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

Java 文件 android.net.VpnService.Builder.setConfigureIntent(android.app.PendingIntent)。

適用於