Uses of Enum Class
org.openhab.core.voice.text.conversation.ConversationRole
Packages that use ConversationRole
Package
Description
-
Uses of ConversationRole in org.openhab.core.voice.text.conversation
Methods in org.openhab.core.voice.text.conversation that return ConversationRoleModifier and TypeMethodDescriptionConversation.Message.role()Returns the value of therolerecord component.static ConversationRoleReturns the enum constant of this class with the specified name.static ConversationRole[]ConversationRole.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.openhab.core.voice.text.conversation with parameters of type ConversationRoleModifier and TypeMethodDescriptionintConversation.addMessage(ConversationRole role, String content) Adds a new message to the end of the conversation.intConversation.addMessage(ConversationRole role, String content, @Nullable Integer prevMessageID) Adds a new message to the end of the conversation.Constructors in org.openhab.core.voice.text.conversation with parameters of type ConversationRoleModifierConstructorDescriptionMessage(int id, ConversationRole role, String content) Creates an instance of aMessagerecord class. -
Uses of ConversationRole in org.openhab.core.voice.text.conversation.events
Fields in org.openhab.core.voice.text.conversation.events declared as ConversationRoleMethods in org.openhab.core.voice.text.conversation.events that return ConversationRoleMethods in org.openhab.core.voice.text.conversation.events with parameters of type ConversationRoleModifier and TypeMethodDescriptionConversationEventFactory.createConversationMessageAddedEvent(String conversationId, int messageId, ConversationRole role, String text, @Nullable String source) ConversationMessageAddedEvent.ConversationMessageAddedDTO.withParticipant(ConversationRole role) Constructors in org.openhab.core.voice.text.conversation.events with parameters of type ConversationRoleModifierConstructorDescriptionConversationMessageAddedEvent(String topic, String payload, @Nullable String source, String conversationId, int messageId, ConversationRole role, String text)