Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

EmojiCompat.MetadataRepoLoaderCallback

public static abstract class EmojiCompat.MetadataRepoLoaderCallback
extends Object

java.lang.Object
   ↳ androidx.emoji.text.EmojiCompat.MetadataRepoLoaderCallback


Callback to inform EmojiCompat about the state of the metadata load. Passed to MetadataRepoLoader during EmojiCompat.MetadataRepoLoader.load(MetadataRepoLoaderCallback) call.

Summary

Public constructors

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

Public constructors

MetadataRepoLoaderCallback

public MetadataRepoLoaderCallback ()

Public methods

onFailed

public abstract 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

public abstract void onLoaded (MetadataRepo metadataRepo)

Called by EmojiCompat.MetadataRepoLoader when metadata is loaded successfully.

Parameters
metadataRepo MetadataRepo: MetadataRepo instance, cannot be null