HubAPI¶
Interface HubAPI
interface HubAPI {
requestHubVersion(): Promise<string>;
requestServiceStates(): Promise<Map<ServiceType, ServiceState>>;
requestSupportedContentTypes(): Promise<ContentType[]>;
requestSupportedRenderSetups(): Promise<{ name: string; value: string }[]>;
}
requestHubVersion(): Promise<string>;
requestServiceStates(): Promise<Map<ServiceType, ServiceState>>;
requestSupportedContentTypes(): Promise<ContentType[]>;
requestSupportedRenderSetups(): Promise<{ name: string; value: string }[]>;
}
Hierarchy (View Summary)
- HubAPI
Methods
request Hub Version
request Service States
- requestServiceStates(): Promise<Map<ServiceType, ServiceState>>
Returns Promise<Map<ServiceType, ServiceState>>
All current state of all available Services.
request Supported Content Types
- requestSupportedContentTypes(): Promise<ContentType[]>
Returns Promise<ContentType[]>
All supported data formats.