GoogleNavigation Framework Reference

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.

    Declaration

    Swift

    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.

    Declaration

    Swift

    optional func didChangeActiveLevel(_ level: GMSIndoorLevel?)

    Objective-C

    - (void)didChangeActiveLevel:(nullable GMSIndoorLevel *)level;