belongs to Maven artifact com.android.support:support-emoji:28.0.0-alpha1
EmojiCompat.InitCallback
public
static
abstract
class
EmojiCompat.InitCallback
extends Object
java.lang.Object | |
↳ | android.support.text.emoji.EmojiCompat.InitCallback |
Listener class for the initialization of the EmojiCompat.
Summary
Public constructors | |
---|---|
EmojiCompat.InitCallback()
|
Public methods | |
---|---|
void
|
onFailed(Throwable throwable)
Called when an unrecoverable error occurs during EmojiCompat initialization. |
void
|
onInitialized()
Called when EmojiCompat is initialized and the emoji data is loaded. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public constructors
Public methods
onFailed
void onFailed (Throwable throwable)
Called when an unrecoverable error occurs during EmojiCompat initialization. When used on devices running API 18 or below, this function is never called.
Parameters | |
---|---|
throwable |
Throwable |
onInitialized
void onInitialized ()
Called when EmojiCompat is initialized and the emoji data is loaded. When used on devices running API 18 or below, this function is always called.
Interfaces
Classes
- EmojiCompat
- EmojiCompat.Config
- EmojiCompat.InitCallback
- EmojiCompat.MetadataRepoLoaderCallback
- EmojiSpan
- FontRequestEmojiCompatConfig
- FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy
- FontRequestEmojiCompatConfig.RetryPolicy
- MetadataRepo
- R
- R.attr
- R.bool
- R.color
- R.dimen
- R.drawable
- R.id
- R.integer
- R.layout
- R.string
- R.style
- R.styleable