EmojiCompat.InitCallback
abstract class EmojiCompat.InitCallback
Listener class for the initialization of the EmojiCompat.
Summary
Public constructors |
|---|
Public functions |
|
|---|---|
Unit |
Called when an unrecoverable error occurs during EmojiCompat initialization. |
Unit |
Called when EmojiCompat is initialized and the emoji data is loaded. |
Public constructors
Public functions
onFailed
Added in 1.0.0
fun onFailed(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
Added in 1.0.0
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.