added in version 1.0.0
belongs to Maven artifact androidx.emoji:emoji:1.0.0-beta01

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

added in version 1.0.0
public abstract 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