Skip to content
Select language:English

MDK 3.7.3

suspend fun requestImage(fallback: Boolean = true): ByteArray

Requests the image of the floor.

This function retrieves the image associated with the floor from the server.

Return

A ByteArray representing the image data of the floor.

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 the request is cancelled.