VenueLevelSelectionDelegate
public protocol VenueLevelSelectionDelegate : AnyObject
The protocol for delegates for
the VenueLevel selection event. Use the VenueMap
to add and remove the VenueLevelSelectionDelegate.
-
Indicates that the selected
VenueLevelof a venue changed.Declaration
Swift
func onLevelSelected(venue: Venue, drawing: VenueDrawing, deselectedLevel: VenueLevel?, selectedLevel: VenueLevel)Parameters
venueThe
Venuewhere the selectedVenueLevelchanged.drawingThe
VenueDrawingwhere the selectedVenueLevelchanged.deselectedLevelThe previously selected
VenueLevelornilif there was no selected level before.selectedLevelThe new selected
VenueLevel.