AI-generated Key Takeaways
- 
          GMSIndoorDisplayDelegatehandles events related to indoor maps, such as changes to the active building or level.
- 
          The delegate provides optional methods, didChangeActiveBuildinganddidChangeActiveLevel, which are called when the active building or level is changed, respectively.
- 
          When the active building changes, didChangeActiveBuildingis raised first, followed bydidChangeActiveLevelto reflect the new building's active level.
- 
          didChangeActiveLevelis triggered for any changes to the active level, including explicit settings.
GMSIndoorDisplayDelegate
@protocol GMSIndoorDisplayDelegate <NSObject>Delegate for events on GMSIndoorDisplay.
- 
                  
                  Raised when the activeBuilding has changed. The activeLevel will also have already been updated for the new building, but -didChangeActiveLevel:will be raised after this method.DeclarationSwift optional func didChangeActiveBuilding(_ building: GMSIndoorBuilding?)Objective-C - (void)didChangeActiveBuilding:(nullable GMSIndoorBuilding *)building;
- 
                  
                  Raised when the activeLevel has changed. This event is raised for all changes, including explicit setting of the property. DeclarationSwift optional func didChangeActiveLevel(_ level: GMSIndoorLevel?)Objective-C - (void)didChangeActiveLevel:(nullable GMSIndoorLevel *)level;