-
Notifications
You must be signed in to change notification settings - Fork 0
Floors switching
Ubudu manager platform allows to create multiple maps for single venue and enumerate them as separate floor levels. Indoor Location SDK handles this fact and performs an automatic floor switching depending on uBeacon devices detected by the mobile device. Accurately installed beacons allows to achieve very responsive floor switching. Nothing has to be called in the mobile app's code, floor switching is the default feature of the SDK.
For tricky areas, where because of environmental setup floor switching may be not reliable, there is a solution based on using special transition zones. In this mode the floor is not switched to another if last location of the device is not within a transition zone. These special zones are definable as any regular zones in the web map editor but to become a transition zone it must contain a tag transition
.
On the mobile side the following code must be called to enable transition zones floor switching mode:
UBUIndoorLocationConfiguration *config = [[UBUIndoorLocationConfiguration alloc] initWithAppNamespace:namespace];
config.transitionZonesMode = YES;
locationManager.configuration = config;
Because of the Bluetooth signal noisy behaviour and also installation being not always perfect the SDK will eventually allow floor switching, without last location being within transition zones, if the uBeacon signals point to do so for significant amount of time in a row. This ensures that mobile app will never get stuck.