added in version 26.1.0
belongs to Maven artifact com.android.support:support-emoji:28.0.0-alpha1
belongs to Maven artifact com.android.support:support-emoji:28.0.0-alpha1
FontRequestEmojiCompatConfig
public
class
FontRequestEmojiCompatConfig
extends EmojiCompat.Config
java.lang.Object | ||
↳ | android.support.text.emoji.EmojiCompat.Config | |
↳ | android.support.text.emoji.FontRequestEmojiCompatConfig |
EmojiCompat.Config
implementation that asynchronously fetches the required font and the
metadata using a FontRequest
. FontRequest should be constructed to fetch an EmojiCompat
compatible emoji font.
Summary
Nested classes | |
---|---|
class |
FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy
A retry policy implementation that doubles the amount of time in between retries. |
class |
FontRequestEmojiCompatConfig.RetryPolicy
Retry policy used when the font provider is not ready to give the font file. |
Public constructors | |
---|---|
FontRequestEmojiCompatConfig(Context context, FontRequest request)
|
Public methods | |
---|---|
FontRequestEmojiCompatConfig
|
setHandler(Handler handler)
Sets the custom handler to be used for initialization. |
FontRequestEmojiCompatConfig
|
setRetryPolicy(FontRequestEmojiCompatConfig.RetryPolicy policy)
Sets the retry policy. |
Inherited methods | |
---|---|
![]()
android.support.text.emoji.EmojiCompat.Config
| |
![]()
java.lang.Object
|