FontRequest

Information about a font request that may be sent to a Font Provider.

Constructors

Link copied to clipboard
constructor(@NonNull providerAuthority: @NonNull String, @NonNull providerPackage: @NonNull String, @NonNull query: @NonNull String, @NonNull certificates: @NonNull List<List<Array<Byte>>>)
constructor(@NonNull providerAuthority: @NonNull String, @NonNull providerPackage: @NonNull String, @NonNull query: @NonNull String, @NonNull certificates: @NonNull List<List<Array<Byte>>>, @Nullable variationSettings: @Nullable String)
constructor(@NonNull providerAuthority: @NonNull String, @NonNull providerPackage: @NonNull String, @NonNull query: @NonNull String, @ArrayRes certificates: Int)
constructor(@NonNull providerAuthority: @NonNull String, @NonNull providerPackage: @NonNull String, @NonNull query: @NonNull String, @ArrayRes certificates: Int, @Nullable variationSettings: @Nullable String)
constructor(@NonNull providerAuthority: @NonNull String, @NonNull providerPackage: @NonNull String, @NonNull query: @NonNull String, @NonNull certificates: @NonNull List<List<Array<Byte>>>, @Nullable systemFont: @Nullable String, @Nullable variationSettings: @Nullable String)

Functions

Link copied to clipboard
@Nullable
open fun getCertificates(): @Nullable List<List<Array<Byte>>>
Returns the list of certificate sets given for this provider.
Link copied to clipboard
Returns the array resource id pointing to the certificate sets given for this provider.
Link copied to clipboard
Link copied to clipboard
@NonNull
open fun getProviderAuthority(): @NonNull String
Returns the selected font provider's authority.
Link copied to clipboard
@NonNull
open fun getProviderPackage(): @NonNull String
Returns the selected font provider's package.
Link copied to clipboard
@NonNull
open fun getQuery(): @NonNull String
Returns the query string.
Link copied to clipboard
@Nullable
open fun getSystemFont(): @Nullable String
Link copied to clipboard
@Nullable
open fun getVariationSettings(): @Nullable String
Returns the font variation settings.
Link copied to clipboard
@NonNull
open fun toString(): @NonNull String