public abstract class

EmojiCompat.InitCallback

extends java.lang.Object

 java.lang.Object

↳androidx.emoji2.text.EmojiCompat.InitCallback

Overview

Listener class for the initialization of the EmojiCompat.

Summary

Constructors
publicInitCallback()

Methods
public voidonFailed(java.lang.Throwable throwable)

Called when an unrecoverable error occurs during EmojiCompat initialization.

public voidonInitialized()

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public InitCallback()

Methods

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.

public void onFailed(java.lang.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.