Interface VenueLifecycleListener


public interface VenueLifecycleListener

The interface for listeners for the Venue lifecycle events. Use the VenueMap to add and remove the VenueLifecycleListener.

  • Method Details

    • onVenueAdded

      void onVenueAdded(@NonNull Venue venue)

      Indicates that a Venue was added to the VenueMap.

      Parameters:
      venue -

      The created Venue.

    • onVenueRemoved

      void onVenueRemoved(int venueId)

      Indicates that a Venue was removed from the VenueMap.

      Parameters:
      venueId -

      The destroyed venue id, that can be obtained from the VenueModel.getId().