# GoogleRidesharingConsumer Framework Reference

# GMTCMapViewSessionState

    enum GMTCMapViewSessionState : NSUInteger {}

Describes the activity status of a map view session.
- `


  ### [GMTCMapViewSessionStateInactive](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCMapViewSessionState#/c:@E@GMTCMapViewSessionState@GMTCMapViewSessionStateInactive)


  ` The map view session is not yet added to a map view.

  #### Declaration

  Swift

      case inactive = 0

  Objective-C

      GMTCMapViewSessionStateInactive

- `


  ### [GMTCMapViewSessionStateActive](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTCMapViewSessionState#/c:@E@GMTCMapViewSessionState@GMTCMapViewSessionStateActive)


  ` The map view session is added to a map view.

  #### Declaration

  Swift

      case active = 1

  Objective-C

      GMTCMapViewSessionStateActive