InitCallback
abstract class InitCallback
kotlin.Any | |
↳ | androidx.emoji.text.EmojiCompat.InitCallback |
Listener class for the initialization of the EmojiCompat.
Summary
Public constructors | |
---|---|
<init>() Listener class for the initialization of the EmojiCompat. |
Public methods | |
---|---|
open Unit |
Called when an unrecoverable error occurs during EmojiCompat initialization. |
open Unit |
Called when EmojiCompat is initialized and the emoji data is loaded. |
Public constructors
<init>
InitCallback()
Listener class for the initialization of the EmojiCompat.
Public methods
onFailed
open fun onFailed(@Nullable throwable: Throwable?): Unit
Called when an unrecoverable error occurs during EmojiCompat initialization. When used on devices running API 18 or below, this function is never called.
onInitialized
open fun onInitialized(): Unit
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.