VenueLevelSelectionDelegate Protocol Reference
- Last UpdatedJun 10, 2025
- 1 minute read
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
VenueLevel
of a venue changed.Declaration
Swift
func onLevelSelected(venue: Venue, drawing: VenueDrawing, deselectedLevel: VenueLevel?, selectedLevel: VenueLevel)
Parameters
venue
The
Venue
where the selectedVenueLevel
changed.drawing
The
VenueDrawing
where the selectedVenueLevel
changed.deselectedLevel
The previously selected
VenueLevel
ornil
if there was no selected level before.selectedLevel
The new selected
VenueLevel
.