FontRequest

constructor(@NonNull providerAuthority: String, @NonNull providerPackage: String, @NonNull query: String, @NonNull certificates: List<List<Array<Byte>>>)(source)

Parameters

providerAuthority

The authority of the Font Provider to be used for the request.

query

The query to be sent over to the provider. Refer to your font provider's documentation on the format of this string.

providerPackage

The package for the Font Provider to be used for the request. This is used to verify the identity of the provider.

certificates

The list of sets of hashes for the certificates the provider should be signed with. This is used to verify the identity of the provider. Each set in the list represents one collection of signature hashes. Refer to your font provider's documentation for these values.


constructor(@NonNull providerAuthority: String, @NonNull providerPackage: String, @NonNull query: String, @ArrayRes certificates: Int)(source)

Parameters

providerAuthority

The authority of the Font Provider to be used for the request.

query

The query to be sent over to the provider. Refer to your font provider's documentation on the format of this string.

providerPackage

The package for the Font Provider to be used for the request. This is used to verify the identity of the provider.

certificates

A resource array with the list of sets of hashes for the certificates the provider should be signed with. This is used to verify the identity of the provider. Each set in the list represents one collection of signature hashes. Refer to your font provider's documentation for these values.