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

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

added in version 1.0.0
public EmojiCompat.InitCallback ()

Public methods

onFailed

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

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