Listener for outdoor scenario when camera focuses on a building or leaves it. More...
#include <com/navigine/idl/objc/NCBuildingListener.h>
Inherits <NSObject>.
Instance Methods | |
| (void) | - onActiveBuildingFocused: |
| Called when camera enters a building's bounding box. | |
| (void) | - onActiveBuildingLeft |
| Called when camera leaves all buildings (no building bbox contains the camera). | |
| (void) | - onActiveSublocationChanged: |
| Called when the active sublocation (floor) of the focused building changes. | |
Listener for outdoor scenario when camera focuses on a building or leaves it.
Definition at line 18 of file NCBuildingListener.h.
| - (void) onActiveBuildingFocused: | (nullable NCBuilding *) | activeBuilding |
Called when camera enters a building's bounding box.
| activeBuilding | The building that is now focused. |
Swift code snippet:
Objective C code snippet:
| - (void) onActiveBuildingLeft |
Called when camera leaves all buildings (no building bbox contains the camera).
Swift code snippet:
Objective C code snippet:
| - (void) onActiveSublocationChanged: | (int32_t) | activeSublocationId |
Called when the active sublocation (floor) of the focused building changes.
| activeSublocationId | New active sublocation id. |
Swift code snippet:
Objective C code snippet: