createDataSourceForRealityDataId
suspend fun createDataSourceForRealityDataId( iTwinId: String, realityDataId: String, type: ITwinPlatform.RealityDataType? = definedExternally, rootDocument: String? = definedExternally): Any(source)
Create a data source of the correct type for the specified reality data id. This function only works for KML and GeoJSON type data.
If the type
or rootDocument
are not provided this function will first request the full metadata for the specified reality data to fill these values.
Parameters
iTwinId
The id of the iTwin to load data from
realityDataId
The id of the reality data to load
type
The type of this reality data
rootDocument
The path of the root document for this reality data