udCloudProject

The udCloudProject object provide an interface for accessing data of projects hosted in udCloud

Functions

enum udError udCloudProject_GetFileList(struct udContext *pContext, struct udCloudProject *pCloudProject, struct udCloudFile **ppCloudFiles, int *pCount)

Get a list of available Files owned by a specific Project in udCloud

ParameterDescription
pContextThe pointer to the udContext of the session to use
pCloudProjectThe pointer of the udCloudProject.
ppCloudFilesA list of Files returned.
pCountThe number of Files in ppCloudFiles.

Returns: A udError value based on the result of the query on udCloud.

enum udError udCloudProject_ReleaseFileList(struct udCloudFile **ppCloudFiles, int count)

Destroys the list of Files that was created by udCloudProject_GetFileList

ParameterDescription
ppCloudFilesThe list of Files to be destroyed.
countThe number of Files in ppCloudFiles.

Returns: A udError value based on the memory been freed.

enum udError udCloudProject_GetSceneList(struct udContext *pContext, struct udCloudProject *pCloudProject, struct udCloudScene **ppCloudScenes, int *pCount)

Get a list of available scenes owned by a specific Project in udCloud

ParameterDescription
pContextThe pointer to the udContext of the session to use
pCloudProjectThe pointer of the udCloudProject.
ppCloudScenesA list of Scenes returned.
pCountThe number of scenes in ppCloudScenes.

Returns: A udError value based on the result of the query on udCloud.

enum udError udCloudProject_ReleaseSceneList(struct udCloudScene **ppCloudScenes, int count)

Destroys the list of Scenes that was created by udCloudProject_GetSceneList

ParameterDescription
ppCloudScenesThe list of Scenes to be destroyed.
countThe number of Scenes in ppCloudScenes.

Returns: A udError value based on the memory been freed.

Structs

struct udCloudProject

This represents a udCloud Project

FieldTypeDescription
ID[64]charThe project id from udCloud.
orgID[64]charThe workspace it belongs to from udCloud.
pNamechar \*The name of the project.
createddoubleThe time this project was created.
optionalPermissionsuint64_tThe permissions of this project.