Package-level declarations

Types

Link copied to clipboard

Centralized Emoji catalog and finder services.

Link copied to clipboard
value class EmojiUrl

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun NotoAnimatedEmoji(emoji: Emoji, modifier: Modifier = Modifier, iterations: Int = Int.MAX_VALUE, stopAt: Float = 1.0f, speed: Float = 1.0f, placeholder: @Composable () -> Unit = { PlatformEmojiPlaceholder(emoji, modifier) })

Shows an animated Emoji if it is Emoji.Details.notoAnimated, or defers to NotoImageEmoji if it is not.

Link copied to clipboard
fun NotoImageEmoji(emoji: Emoji, modifier: Modifier = Modifier, placeholder: @Composable () -> Unit = { PlatformEmojiPlaceholder(emoji, modifier) })

Shows an Emoji as an image downloaded from the Noto image library.

Link copied to clipboard
fun ProvideEmojiDownloader(download: suspend (EmojiUrl) -> ByteArray, content: @Composable () -> Unit)
Link copied to clipboard
Link copied to clipboard

Replaces all shortcodes (i.e. :emoji: or :emoji~skintone:) with their actual corresponding emojis.

Link copied to clipboard
fun WithNotoAnimatedEmoji(text: CharSequence, iterations: Int = Int.MAX_VALUE, speed: Float = 1.0f, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)

Creates an annotated String and a InlineTextContent map from a text containing Emoji characters. Replaces all emojis with NotoAnimatedEmoji.

Link copied to clipboard

Creates an annotated String and a InlineTextContent map from a text containing Emoji characters. Replaces all emojis with NotoImageEmoji.

Link copied to clipboard

Creates an annotated String and a InlineTextContent map from a text containing Emoji characters.