The second Android 11 Developer Preview is now available, test it out and share your feedback.

MetadataRepoLoader

interface MetadataRepoLoader
androidx.emoji.text.EmojiCompat.MetadataRepoLoader

Interface to load emoji metadata.

Summary

Public methods

abstract Unit
load(@NonNull loaderCallback: EmojiCompat.MetadataRepoLoaderCallback)

Start loading the metadata.

Public methods

load

abstract fun load(@NonNull loaderCallback: EmojiCompat.MetadataRepoLoaderCallback): Unit

Start loading the metadata. When the loading operation is finished or 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