Skip to main content

RuntimeInworldStudio

This class is used to acquire studio access tokens, connect to the studio server, and fetch data at run-time.

API

FunctionReturn TypeDescriptionParameters
InitvoidUsed for acquiring studio access tokenstokenForExchange: id token to exchange.
InitvoidUsed for acquiring studio access tokens via an Oculus accountoculusNonce: random string generated from Oculus oculusID: Oculus ID number
CreateWorkspacesvoidInstantiating InworldWorkspaceDataworkspaces: data returned from the server
CreateScenesvoidInstantiating InworldSceneDataworkspace: target InworldWorkspaceData to add scenes scenes: data returned from the server
CreateCharactersvoidInstantiating InworldCharacterDataworkspace: target InworldWorkspaceData to add characters characters: data returned from the server
CreateIntegrationsvoidInstantiating InworldKeySecretworkspace: target InworldWorkspaceData to add key/secret pairs apiKeys: data returned from the server
OnStudioErrorvoidHandling error messages returning from the studio server.studioStatus: the error message type for the studio server msg: the returning string of the message
OnUserTokenCompletedvoidThis is invoked when the studio access token has been generatedN/A