//sdk-realtime/me.oriient.ipssdk.ips/IPSContent/getAnalyticsRegions
getAnalyticsRegions
[androidJvm]\
open fun getAnalyticsRegions(@NonNullbuildingId: String, @NullableregionType: IPSAnalyticsRegionType, @NonNulllistener: IPSGetByIdListener<IPSAnalyticsRegion>): IPSCancelable
A method for getting the analytics regions in a building, optionally filtered by type. 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
9.9.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. |
| regionType | Optional filter restricting the result to regions of the given type (for example CATEGORY or AISLE). Pass null to return all analytics regions in the building regardless of their type. |
| listener | A listener to receive the response as a list of IPSAnalyticsRegion items. |