FontRequest

public final class FontRequest


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

Summary

Public constructors

FontRequest(
    @NonNull String providerAuthority,
    @NonNull String providerPackage,
    @NonNull String query,
    @NonNull List<List<byte[]>> certificates
)
FontRequest(
    @NonNull String providerAuthority,
    @NonNull String providerPackage,
    @NonNull String query,
    @ArrayRes int certificates
)

Public methods

@Nullable List<List<byte[]>>

Returns the list of certificate sets given for this provider.

@ArrayRes int

Returns the array resource id pointing to the certificate sets given for this provider.

@NonNull String

Returns the selected font provider's authority.

@NonNull String

Returns the selected font provider's package.

@NonNull String

Returns the query string.

@Override String

Public constructors

FontRequest

public FontRequest(
    @NonNull String providerAuthority,
    @NonNull String providerPackage,
    @NonNull String query,
    @NonNull List<List<byte[]>> certificates
)
Parameters
@NonNull String providerAuthority

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

@NonNull String providerPackage

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

@