FontsContract.Columns.ResultCode Field

Definition

Constant used to request data from a font provider.

[Android.Runtime.Register("RESULT_CODE", ApiSince=26)]
public const string ResultCode;
[<Android.Runtime.Register("RESULT_CODE", ApiSince=26)>]
val mutable ResultCode : string

Field Value

Attributes

Remarks

Constant used to request data from a font provider. The cursor returned from the query should have this column populated to indicate the result status of the query. This will be checked before any other data in the cursor. Possible values are #RESULT_CODE_OK, #RESULT_CODE_FONT_NOT_FOUND, #RESULT_CODE_MALFORMED_QUERY and #RESULT_CODE_FONT_UNAVAILABLE for system defined values. You may also define your own values in the 0x000010000..0xFFFF0000 range. If not present, #RESULT_CODE_OK will be assumed.

Java documentation for android.provider.FontsContract.Columns.RESULT_CODE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to