VpnService.Builder.SetConfigureIntent(PendingIntent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定 為 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)。