Skip to content
Select language:English

MDK 3.7.3

class Building : Place

Represents a building within the GiPStech localization system.

This class holds information about a building, including its ID, name, version, and the floors. It also provides functionality to start and stop localization within the building.

Properties

An array of Floor objects representing the floors of the building.

val id: String

The unique identifier of the building.

Indicates whether the building data is synchronized.

Indicates whether the building data has been updated.

The name of the building.

The payload associated with the building, if any.

The format of the payload associated with the building, if any.

The version of the building data.

Functions

open override fun findAuxiliaryFiles(purpose: AuxiliaryFile.Purpose, pattern: Regex? = null, depth: Int = 1): List<AuxiliaryFile>

Returns a list of auxiliary files associated with this building, filtered by purpose.

Returns the auxiliary file handles associated with the specified purpose.

fun getMemorySize(includeAuxiliaryFiles: Boolean = true): Long

Returns the amount of memory, in bytes, used by this building, including auxiliary files if specified.

open suspend override fun startLocalization(listener: LocationListener, scope: CoroutineScope = GiPStech.defaultScope): LocationSession

Starts the localization process within the building.

open suspend override fun stopLocalization()

Stops the localization process within the building.