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 (Modifier) -> Unit = { PlatformEmojiPlaceholder(emoji, it) })
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 (Modifier) -> Unit = { PlatformEmojiPlaceholder(emoji, it) })
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, fixedSize: Boolean, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
fun WithNotoAnimatedEmoji(text: CharSequence, iterations: Int = Int.MAX_VALUE, speed: Float = 1.0f, placeholder: @Composable (Emoji) -> Unit = { PlatformEmojiPlaceholder(it, Modifier.fillMaxSize()) }, 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, fixedSize: Boolean, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
fun WithNotoImageEmoji(text: CharSequence, placeholder: @Composable (Emoji) -> Unit = { PlatformEmojiPlaceholder(it, Modifier.fillMaxSize()) }, 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.
fun WithPlatformEmoji(text: CharSequence, fixedImageSize: Boolean, content: @Composable (AnnotatedString, Map<String, InlineTextContent>) -> Unit)
actual fun WithPlatformEmoji(text: CharSequence, content: (AnnotatedString, Map<String, InlineTextContent>) -> Unit)