语言

GetValueResult.ResultCode 属性

定义

返回指示请求状态的结果代码。

public Android.Service.Settings.Preferences.GetValueResultType ResultCode { [Android.Runtime.Register("getResultCode", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getResultCode", "()I", "", ApiSince=36)>]
member this.ResultCode : Android.Service.Settings.Preferences.GetValueResultType

属性值

值为下列值之一:RESULT_OK;RESULT_UNSUPPORTED;RESULT_UNAVAILABLE;RESULT_REQUIRE_APP_PERMISSION;RESULT_DISALLOW;RESULT_INVALID_REQUEST;RESULT_INTERNAL_ERROR

特性

注解

返回指示请求状态的结果代码。

Java文档android.service.settings.preferences.GetValueResult.getResultCode()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于