GoogleNavigation Framework Reference

GMSNavigationLayoutDelegate

@protocol GMSNavigationLayoutDelegate <NSObject>

The protocol that layout delegates must implement to take control of the layout of the map container during navigation-ready or active guidance modes.

Because the purpose of these methods is to modify the view hierarchy, all methods are MainActor-restricted. The protocol itself is not MainActor-restricted, because implementations might have other non-MainActor methods.