Skip to content

//sdk-realtime/me.oriient.ipssdk.ips/IPSContent/search

search

[androidJvm]\

@Nullable

open fun search(@NonNullbuildingId: String, @NonNullsearchTerm: String, pageSize: Int, @NonNulllistener: IPSContentSearchListener): IPSCancelable

A method for searching content located in a specific building. Content includes IPSLocationTags and IPSRegions. The searchInBuilding is only possible if the IPSCore.ConnectionState is not OFFLINE otherwise the method will return null and an onError will be invoked. The searchInBuilding will use current selected space, see getSpace for reference.

Since

2.12.0

Return

IPSCancelable to cancel the request if necessary or null if not connected. The listener methods will not be called for a canceled request.

Parameters

androidJvm

buildingId The id of the building where the searchInBuilding should be performed.
searchTerm The searchInBuilding term to look for in a mapContent's name or description. Key insensitive.
pageSize Max number of data to return. If more results are available, a way to fetch the next page will be provided as well.
listener A listener to receive the response.