createRealityDataSource Method
Produce a RealityDataSource for the specified key.
createRealityDataSource(key: RealityDataSourceKey, iTwinId: string): Promise<undefined | RealityDataSource>
@returns the requested reality data source, or undefined if it could not be produced.
| Parameter | Type | Description |
|---|---|---|
| key | RealityDataSourceKey | Identifies the reality data source. |
| iTwinId | string | A default iTwinId to use. |
Returns - Promise<undefined | RealityDataSource>
the requested reality data source, or undefined if it could not be produced.
Defined in
Last Updated: 30 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.