FontFamilyResult

Object returned from fetchFonts.

Constructors

Link copied to clipboard
constructor(statusCode: Int, @Nullable fonts: Array<FontsContractCompat.FontInfo>)

Properties

Link copied to clipboard
val STATUS_OK: Int = 0
Constant represents that the font was successfully retrieved.
Link copied to clipboard
Constant represents that the provider returns unexpected data.
Link copied to clipboard
Constant represents that the given certificate was not matched with the provider's signature.

Functions

Link copied to clipboard
For a single request, returns an array of the fonts making up the family.
Link copied to clipboard
Returns a list of arrays of fonts for each font family requested, in order.
Link copied to clipboard
open fun getStatusCode(): Int