-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.common.state.messages.composer.MessageComposerViewEvent
public final class MessageComposerViewEvent.CancelCommandRequired implements MessageComposerViewEvent
Emitted when the user attempts action (switching composer mode or sending) while an active command conflicts with the target action. The user must cancel the active command before the action can proceed.
-
-
Field Summary
Fields Modifier and Type Field Description private final MessageActionaction
-
Constructor Summary
Constructors Constructor Description MessageComposerViewEvent.CancelCommandRequired(MessageAction action)
-
Method Summary
Modifier and Type Method Description final MessageActiongetAction()-
-
Constructor Detail
-
MessageComposerViewEvent.CancelCommandRequired
MessageComposerViewEvent.CancelCommandRequired(MessageAction action)
- Parameters:
action- The composer action whose attempt was rejected.
-
-
Method Detail
-
getAction
final MessageAction getAction()
-
-
-
-