Skip to content

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

getRegionsById

[androidJvm]\

@Nullable

open fun getRegionsById(@NonNullbuildingId: String, @NonNullids: List<String>, @NonNulllistener: IPSGetByIdListener<IPSRegion>): IPSCancelable

A method for getting specific regions by id. The operation 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.21.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 specified regions are located.
ids List of strings, ids of IPSRegion objects.
listener A listener to receive the response.