Interface IndoorStateListener

com.yandex.mapkit.map

public interface IndoorStateListener

Methods

void onActiveBuildingChanged(@NonNull IndoorBuilding 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.

Method Detail

onActiveBuildingChanged

public void onActiveBuildingChanged (@NonNull IndoorBuilding 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