Protocol YMKMapIndoorStateListener

Instance Methods

- onActiveBuildingChangedWithActiveBuilding:

Notifies when user view focuses on a new building or building leaves focus(in this case will be null) Might be called after content update.

Method Detail

-onActiveBuildingChangedWithActiveBuilding:

- (void)onActiveBuildingChangedWithActiveBuilding:(nonnull YMKMapIndoorBuilding *)activeBuilding 

Notifies when user view focuses on a new building or building leaves focus(in this case will be null) Might be called after content update.

This call is guaranteed to happen before onLevelActivated call. Prior to this call activeLevel will be set to default level or previously selected level.
Parameters:
activeBuilding

is valid until next call