-
- All Implemented Interfaces:
-
io.getstream.chat.android.compose.ui.util.ReactionResolver
public final class DefaultReactionResolver implements ReactionResolver
Default implementation of ReactionResolver that provides emoji codes for based on the emoji mapping passed to the constructor.
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<String>supportedReactionsprivate final List<String>defaultReactions
-
Method Summary
Modifier and Type Method Description Set<String>getSupportedReactions()Returns the supported reaction types based on the keys in emojiMapping. List<String>getDefaultReactions()A small set of commonly used reaction types, typically shown for quick access in the UI. StringemojiCode(String type)-
-
Method Detail
-
getSupportedReactions
Set<String> getSupportedReactions()
Returns the supported reaction types based on the keys in emojiMapping.
Note: this means iteration order depends on the map's iteration order. Implementations like LinkedHashMap (Kotlin's default for mapOf) preserve insertion order.
-
getDefaultReactions
List<String> getDefaultReactions()
A small set of commonly used reaction types, typically shown for quick access in the UI.
-
-
-
-