belongs to Maven artifact com.android.support:support-emoji:28.0.0-alpha1
EmojiCompat.MetadataRepoLoaderCallback
public
static
abstract
class
EmojiCompat.MetadataRepoLoaderCallback
extends Object
java.lang.Object | |
↳ | android.support.text.emoji.EmojiCompat.MetadataRepoLoaderCallback |
Callback to inform EmojiCompat about the state of the metadata load. Passed to
MetadataRepoLoader during load(MetadataRepoLoaderCallback)
call.
Summary
Public constructors | |
---|---|
EmojiCompat.MetadataRepoLoaderCallback()
|
Public methods | |
---|---|
abstract
void
|
onFailed(Throwable throwable)
Called by |
abstract
void
|
onLoaded(MetadataRepo metadataRepo)
Called by |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public constructors
EmojiCompat.MetadataRepoLoaderCallback
EmojiCompat.MetadataRepoLoaderCallback ()
Public methods
onFailed
void onFailed (Throwable throwable)
Called by EmojiCompat.MetadataRepoLoader
if an error occurs while loading the metadata.
Parameters | |
---|---|
throwable |
Throwable : the exception that caused the failure, nullable
|
onLoaded
void onLoaded (MetadataRepo metadataRepo)
Called by EmojiCompat.MetadataRepoLoader
when metadata is loaded successfully.
Parameters | |
---|---|
metadataRepo |
MetadataRepo : MetadataRepo instance, cannot be null
|
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