added in version 26.1.0
belongs to Maven artifact com.android.support:support-emoji:28.0.0-alpha1

EmojiCompat.InitCallback

public static abstract class EmojiCompat.InitCallback
extends Object

java.lang.Object
   ↳ android.support.text.emoji.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

From class java.lang.Object

Public constructors

EmojiCompat.InitCallback

added in version 26.1.0
EmojiCompat.InitCallback ()

Public methods

onFailed

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