Join us for ⁠#Android11: The Beta Launch Show on June 3!

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

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

InitCallback

public InitCallback ()

Public methods

onFailed

public 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

public 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.