ProviderResourceEntry

A class that represents a font provider based font-family element in an xml file.

Constructors

Link copied to clipboard
constructor(@NonNull request: @NonNull FontRequest, @Nullable fallbackRequest: @Nullable FontRequest, strategy: Int, timeoutMs: Int, @Nullable systemFontFamilyName: @Nullable String)
constructor(@NonNull request: @NonNull FontRequest, strategy: Int, timeoutMs: Int)

Functions

Link copied to clipboard
@Nullable
open fun getFallbackRequest(): @Nullable FontRequest
Link copied to clipboard
open fun getFetchStrategy(): Int
Link copied to clipboard
@NonNull
open fun getRequest(): @NonNull FontRequest
Link copied to clipboard
@Nullable
open fun getSystemFontFamilyName(): @Nullable String
Link copied to clipboard
open fun getTimeout(): Int