Skip to main content

ControlPacket

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from InworldPacket

This packet is used for controlling interactions, such as starting or stopping the reception of audio for a character.

VariablesDescription
controlThe ControlEvent of the packet.
PropertiesDescription
ActionGet the ControlType of the packet.
FunctionDescriptionParameters
UpdateRoutingSearch the live session data to compost the routing of the packet.

ControlEventDeserializer

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from JsonConverter

PropertiesDescription
CanWriteOverwrote to always return false, as we'll use its default serializer.
FunctionDescriptionParameters
WriteJsonNot used. Just overwrote the default one.writer: the JsonWriter.
value: the object.
serializer: the JsonSerializer.
ReadJsonThe deserializing method to allocate into child classes.reader: the JsonReader.
value: the object.
serializer: the JsonSerializer.
CanConvertCheck if the json can be converted into this class.objectType: the Type to convert.

ControlEvent

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
actionThe actual control command
descriptionThe description of the command.

AudioControlEvent

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from ControlEvent

VariablesDescription
audioSessionStartThe detailed AudioSessionPayload of the action.

AudioSessionPayload

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
modeThe MicrophoneMode for the audio session.

ConversationControlEvent

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from ControlEvent

VariablesDescription
conversationUpdateThe detailed ConversationUpdatePayload of the action.

ConversationUpdatePayload

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
participantsThe list of the Source joining this conversation.

SessionControlEvent

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from ControlEvent

VariablesDescription
sessionConfigurationThe detailed SessionConfigurationPayload of the action.

SessionConfigurationPayload

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
sessionConfigurationThe SessionData to load.
userConfigurationThe UserRequest to load.
clientConfigurationThe ClientRequest to load.
capabilitiesConfigurationThe Capabilities to load.
continuationThe Previous chat history to load.

CurrentSceneStatusEvent

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from ControlEvent

VariablesDescription
currentSceneStatusThe detailed CurrentSceneStatusPayload returned by the server.

CurrentSceneStatusPayload

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
agentsThe list of the InworldCharacterData returned by the server.
sceneNamethe full name of the InworldScene.
sceneDescriptionthe description of the InworldScene.
sceneDisplayNamethe display name of the InworldScene.