lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in version 26.1.0
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 EmojiCompat.MetadataRepoLoader if an error occurs while loading the metadata.

abstract void onLoaded(MetadataRepo metadataRepo)

Called by EmojiCompat.MetadataRepoLoader when metadata is loaded successfully.

Inherited methods

From class java.lang.Object

Public constructors

EmojiCompat.MetadataRepoLoaderCallback

added in version 26.1.0
EmojiCompat.MetadataRepoLoaderCallback ()

Public methods

onFailed

added in version 26.1.0
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

added in version 26.1.0
void onLoaded (MetadataRepo metadataRepo)

Called by EmojiCompat.MetadataRepoLoader when metadata is loaded successfully.

Parameters
metadataRepo MetadataRepo: MetadataRepo instance, cannot be null