-
public interface ReactionIconFactoryAn interface that allows the creation of reaction icons for reaction types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classReactionIconFactory.Companion
-
Method Summary
Modifier and Type Method Description abstract BooleanisReactionSupported(String type)Checks if the factory is capable of creating an icon for the given reaction type. abstract ReactionIconcreateReactionIcon(String type)Creates an instance of ReactionIcon for the given reaction type. abstract Map<String, ReactionIcon>createReactionIcons()Creates ReactionIcons for all the supported reaction types. -
-
Method Detail
-
isReactionSupported
abstract Boolean isReactionSupported(String type)
Checks if the factory is capable of creating an icon for the given reaction type.
-
createReactionIcon
@Composable() abstract ReactionIcon createReactionIcon(String type)
Creates an instance of ReactionIcon for the given reaction type.
- Parameters:
type- The reaction type used to create an icon.
-
createReactionIcons
@Composable() abstract Map<String, ReactionIcon> createReactionIcons()
Creates ReactionIcons for all the supported reaction types.
-
-
-
-