共用方式為


TelephonyManager.DataEnabledReasonPolicy 欄位

定義

警告

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

表示因為原則而造成數據控制。

[Android.Runtime.Register("DATA_ENABLED_REASON_POLICY", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.DataEnabledReason enum directly instead of this field.", true)]
public const Android.Telephony.DataEnabledReason DataEnabledReasonPolicy = 1;
[<Android.Runtime.Register("DATA_ENABLED_REASON_POLICY", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.DataEnabledReason enum directly instead of this field.", true)>]
val mutable DataEnabledReasonPolicy : Android.Telephony.DataEnabledReason

欄位值

Value = 1
屬性

備註

表示因為原則而造成數據控制。 通常會在傳遞數據限制時使用。 開啟/關閉的原則數據不會影響使用者設定,但如果設定為 false,則會略過設定,並在內部關閉數據。

android.telephony.TelephonyManager.DATA_ENABLED_REASON_POLICYJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於