IStudioDataHandler
The Studio Data Handler interface for implementing studio connection APIs. In the editor, it is inherited as InworldEditorStudio. At run-time, it is inherited as RuntimeInworldStudio.
API
Function | Return Type | Description | Parameters |
---|---|---|---|
CreateWorkspaces | void | For instantiating InworldWorkspaceData | workspaces: data returned from the server |
CreateScenes | void | For instantiating InworldSceneData | workspace: target InworldWorkspaceData to add scenes. scenes: data returned from the server |
CreateCharacters | void | For instantiating InworldCharacterData | workspace: target InworldWorkspaceData to add characters. characters: data returned from the server |
CreateIntegrations | void | For instantiating InworldKeySecret | workspace: target InworldWorkspaceData to add key/secret pairs. apiKeys: data returned from the server |
OnStudioError | void | For handling error messages returning from the studio server | studioStatus: the error message type of the studio server msg: the returning string of the message |
OnUserTokenCompleted | void | To be invoked when the studio access token is generated | N/A |