Google 致力于为黑人社区推动种族平等。查看具体举措

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