belongs to Maven artifact androidx.emoji:emoji:1.0.0-alpha1

EmojiCompat.MetadataRepoLoader

public static interface EmojiCompat.MetadataRepoLoader

androidx.emoji.text.EmojiCompat.MetadataRepoLoader


Interface to load emoji metadata.

Summary

Public methods

abstract void load(EmojiCompat.MetadataRepoLoaderCallback loaderCallback)

Start loading the metadata.

Public methods

load

void load (EmojiCompat.MetadataRepoLoaderCallback loaderCallback)

Start loading the metadata. When the loading operation is finished EmojiCompat.MetadataRepoLoaderCallback.onLoaded(MetadataRepo) or EmojiCompat.MetadataRepoLoaderCallback.onFailed(Throwable) should be called. When used on devices running API 18 or below, this function is never called.

Parameters
loaderCallback EmojiCompat.MetadataRepoLoaderCallback: callback to signal the loading state