HubAPI

interface HubAPI {
    requestHubVersion(): Promise<string>;
    requestServiceStates(): Promise<Map<ServiceType, ServiceState>>;
    requestSupportedContentTypes(): Promise<ContentType[]>;
    requestSupportedRenderSetups(): Promise<{ name: string; value: string }[]>;
}

Hierarchy (View Summary)

Methods

  • Returns Promise<string>

    The current version of the connected instant3Dhub. May return undefined for older versions.

  • Returns Promise<ContentType[]>

    All supported data formats.

  • Returns Promise<{ name: string; value: string }[]>

    All supported render setups.


Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: