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

EmojiCompat.InitCallback

public static abstract class EmojiCompat.InitCallback
extends Object

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


Listener class for the initialization of the EmojiCompat.

Summary

Public constructors

EmojiCompat.InitCallback()

Public methods

void onFailed(Throwable throwable)

Called when an unrecoverable error occurs during EmojiCompat initialization.

void onInitialized()

Called when EmojiCompat is initialized and the emoji data is loaded.

Inherited methods

Public constructors

EmojiCompat.InitCallback

EmojiCompat.InitCallback ()

Public methods

onFailed

void onFailed (Throwable throwable)

Called when an unrecoverable error occurs during EmojiCompat initialization. When used on devices running API 18 or below, this function is never called.

Parameters
throwable Throwable

onInitialized

void onInitialized ()

Called when EmojiCompat is initialized and the emoji data is loaded. When used on devices running API 18 or below, this function is always called.