FontRequestCallback

Interface used to receive asynchronously fetched typefaces.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Properties

Link copied to clipboard
Constant returned by onTypefaceRequestFailed signaling that the font returned by the provider was not loaded properly.
Link copied to clipboard
Constant returned by onTypefaceRequestFailed signaling that the font provider did not return any results for the given query.
Link copied to clipboard
Constant returned by onTypefaceRequestFailed signaling that the font provider found the queried font, but it is currently unavailable.
Link copied to clipboard
Constant returned by onTypefaceRequestFailed signaling that the given query was not supported by the provider.
Link copied to clipboard
Constant returned by onTypefaceRequestFailed signaling that the given provider was not found on the device.
Link copied to clipboard
Constant that signals that the font was not loaded due to security issues.
Link copied to clipboard
Constant returned by onTypefaceRequestFailed signaling that the given provider must be authenticated and the given certificates do not match its signature.
Link copied to clipboard

Functions

Link copied to clipboard
open fun onTypefaceRequestFailed(reason: Int)
Called when a Typeface request done via requestFont fails.
Link copied to clipboard
open fun onTypefaceRetrieved(typeface: Typeface)
Called then a Typeface request done via requestFont is complete.