findResources

suspend fun BlueGPSLib.findResources(hasPosition: Boolean? = null, isDesc: Boolean? = null, mapId: Int? = null, order: String? = null, search: String? = null, subTypes: List<String>? = null, types: List<String>? = null, roomId: Int? = null, roomName: String? = null): Resource<List<GenericResource>>

Asks for a list of resources

Parameters

hasPosition

a boolean

isDesc

a boolean

mapId

the id of the map where the resource is located

order
search

the name of the resource

subTypes
types

the resource type (PARK, DESK, MEETING)

roomId

the id of the room where the resource is located

roomName

the name of the room where the resource is located


suspend fun BlueGPSLib.findResources(isDesc: Boolean?, mapId: Int?, order: String?, search: String?, subType: String?, type: String?, roomId: Int?, roomName: String?): Resource<List<GenericResource>>

Deprecated

Use the new findResources method

Replace with

findResources(hasPosition, isDesc, mapId, order, search, subTypes, types, roomId, roomName)

Asks for a list of resources

Parameters

isDesc

a boolean

mapId

the id of the map where the resource is located

order
search

the name of the resource

subType
type

the resource type (PARK, DESK, MEETING)

roomId

the id of the room where the resource is located

roomName

the name of the room where the resource is located