FontRequestFailureReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies a font-request failure reported to a request callback.
public enum FontRequestFailureReason
type FontRequestFailureReason =
- Inheritance
-
FontRequestFailureReason
Fields
| Name | Value | Description |
|---|---|---|
| FontLoadError | -3 | Reason passed to OnTypefaceRequestFailed(FontRequestFailureReason) when the font returned by the provider was not loaded properly. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| WrongCertificates | -2 | Reason passed to OnTypefaceRequestFailed(FontRequestFailureReason) when the given provider must be authenticated and the given certificates do not match its signature. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ProviderNotFound | -1 | Reason passed to OnTypefaceRequestFailed(FontRequestFailureReason) when the given provider was not found on the device. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FontNotFound | 1 | Reason passed to OnTypefaceRequestFailed(FontRequestFailureReason) when the font provider did not return any results for the given query. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FontUnavailable | 2 | Reason passed to OnTypefaceRequestFailed(FontRequestFailureReason) when the font provider found the queried font, but it is currently unavailable. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| MalformedQuery | 3 | Reason passed to OnTypefaceRequestFailed(FontRequestFailureReason) when the given query was not supported by the provider. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.