FontFamilyResultStatus 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.
public enum FontFamilyResultStatus
type FontFamilyResultStatus =
- Inheritance
-
FontFamilyResultStatus
Fields
| Name | Value | Description |
|---|---|---|
| Ok | 0 | Constant represents that the font was successfully retrieved. Note that when this value is set and getFonts() returns an empty array, it means there were no fonts matching 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. |
| WrongCertificates | 1 | Constant represents that the given certificate was not matched with the provider's signature. getFonts() returns null if this status was set. 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. |
| UnexpectedDataProvided | 2 | Constant represents that the provider returns unexpected data. getFonts() returns null if this status was set. For example, this value is set when the font provider gives invalid format of variation settings. 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. |
| Rejected | 3 | Constant represents that the fetching font data was rejected by system. This happens if the passed context is restricted. 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. |
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.