Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MDK 3.7.3

suspend fun requestBuilding(fallback: Boolean = true): Building

Requests the full Building object associated with this BuildingInfo.

This function fetches the complete building details from the SpatialManager using the building's ID.

Return

The Building object corresponding to this BuildingInfo.

Parameters

fallback

A boolean indicating whether to fall back to a locally cached version if the server is unreachable. Defaults to true.

Throws

MdkException.NotInitialized

If the GiPStech library is not initialized.

If another operation is in progress.

If the request is cancelled.