Package-level declarations
Types
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
fun WithNotoImageEmoji(text: CharSequence, 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 NotoImageEmoji.
Link copied to clipboard
expect fun WithPlatformEmoji(text: CharSequence, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
actual fun WithPlatformEmoji(text: CharSequence, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
actual fun WithPlatformEmoji(text: CharSequence, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
Creates an annotated String and a InlineTextContent map from a text containing Emoji characters.
actual fun WithPlatformEmoji(text: CharSequence, content: (AnnotatedString, Map<String, InlineTextContent>) -> Unit)