//sdk-realtime/me.oriient.ipssdk.ips/IPSContent/getRegions
getRegions
[androidJvm]\
open fun getRegions(@NonNullbuildingId: String, @NonNulllistener: IPSGetByIdListener<IPSRegion>): IPSCancelable
A method for getting all the regions in a building. The operation is only possible if the IPSCore.ConnectionState is not OFFLINE otherwise the method will return null and an onError will be invoked. This method will use current selected space, see getSpace for reference.
Since
3.0.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. |
| listener | A listener to receive the response. |