語言

NetworkCapabilities.NetCapabilityTrusted 欄位

定義

警告

This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.

表示使用者對此網路表示隱含信任。

[Android.Runtime.Register("NET_CAPABILITY_TRUSTED")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)]
public const Android.Net.NetCapability NetCapabilityTrusted = 14;
[<Android.Runtime.Register("NET_CAPABILITY_TRUSTED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)>]
val mutable NetCapabilityTrusted : Android.Net.NetCapability

欄位值

Value = 14

實作

屬性

備註

表示使用者對此網路表示隱含信任。 這通常代表是 SIM 卡選擇的電信業者、插上乙太網路、配對的藍牙裝置,或使用者要求連接的 Wi-Fi 裝置。 不受信任的網路大概只限於未知的 WiFi AP。 預設設定。

Java 文件 android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED。

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

適用於