語言

SetValueResult.ResultDisallow 欄位

定義

警告

This constant will be removed in the future version. Use Android.Service.Settings.Preferences.SetValueResultType enum directly instead of this field.

根據目前的裝置政策,這個 API 不允許存取請求偏好。

[Android.Runtime.Register("RESULT_DISALLOW", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Settings.Preferences.SetValueResultType enum directly instead of this field.", true)]
public const Android.Service.Settings.Preferences.SetValueResultType ResultDisallow = 7;
[<Android.Runtime.Register("RESULT_DISALLOW", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Settings.Preferences.SetValueResultType enum directly instead of this field.", true)>]
val mutable ResultDisallow : Android.Service.Settings.Preferences.SetValueResultType

欄位值

Value = 7

實作

屬性

備註

根據目前的裝置政策,這個 API 不允許存取請求偏好。

如果基礎條件改變,重試可能成功。

Java 文件 android.service.settings.preferences.SetValueResult.RESULT_DISALLOW。

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

適用於