added in version 26.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1

FontsContractCompat.Columns

public static final class FontsContractCompat.Columns
extends Object implements BaseColumns

java.lang.Object
   ↳ android.support.v4.provider.FontsContractCompat.Columns


Defines the constants used in a response from a Font Provider. The cursor returned from the query should have the ID column populated with the content uri ID for the resulting font. This should point to a real file or shared memory, as the client will mmap the given file descriptor. Pipes, sockets and other non-mmap-able file descriptors will fail to load in the client application.

Summary

Constants

String FILE_ID

Constant used to request data from a font provider.

String ITALIC

Constant used to request data from a font provider.

String RESULT_CODE

Constant used to request data from a font provider.

int RESULT_CODE_FONT_NOT_FOUND

Constant used to represent a result was not found.

int RESULT_CODE_FONT_UNAVAILABLE

Constant used to represent a result was found, but cannot be provided at this moment.

int RESULT_CODE_MALFORMED_QUERY

Constant used to represent that the query was not in a supported format by the provider.

int RESULT_CODE_OK

Constant used to represent a result was retrieved successfully.

String TTC_INDEX

Constant used to request data from a font provider.

String VARIATION_SETTINGS

Constant used to request data from a font provider.

String WEIGHT

Constant used to request data from a font provider.

Inherited constants

From interface android.provider.BaseColumns

Public constructors

FontsContractCompat.Columns()

Inherited methods

From class java.lang.Object

Constants