EmojiCompat.InitCallback


public abstract class EmojiCompat.InitCallback


Listener class for the initialization of the EmojiCompat.

Summary

Public constructors

Public methods

void

Called when an unrecoverable error occurs during EmojiCompat initialization.

void

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

Public constructors

InitCallback

Added in 1.0.0
public InitCallback()

Public methods

onFailed

Added in 1.0.0
public void onFailed(@Nullable 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.

onInitialized

Added in 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.