AI-generated Key Takeaways
- 
          GMTCMapViewSessionDelegateis a protocol used in Objective-C and Swift.
- 
          It includes an optional callback function mapViewSession:didUpdateState:.
- 
          The callback function mapViewSession:didUpdateState:is triggered when the session state is updated.
- 
          This callback takes the current session and the new state as parameters. 
GMTCMapViewSessionDelegate
@protocol GMTCMapViewSessionDelegate <NSObject>@}
- 
                  
                  A callback triggers after the session state has been updated. DeclarationSwift optional func mapViewSession(_ session: any GMTCMapViewSession, didUpdate state: GMTCMapViewSessionState)Objective-C - (void)mapViewSession:(nonnull id<GMTCMapViewSession>)session didUpdateState:(GMTCMapViewSessionState)state;