A retry policy implementation that doubles the amount of time in between retries.
Retry policy used when the font provider is not ready to give the font file.
To control the thread the retries are handled on, see
setHandler(Handler).
Called each time the metadata loading fails.
This is primarily due to a pending download of the font.
If a value larger than zero is returned, metadata loader will retry after the given
milliseconds.
If zero is returned, metadata loader will retry immediately.
If a value less than 0 is returned, the metadata loader will stop retrying and
EmojiCompat will get into LOAD_STATE_FAILED state.
Note that the retry may happen earlier than you specified if the font provider notifies
that the download is completed.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-04-11 UTC.",
"state": ""
}