SwiftclassMapKit
DefaultDrivingSession
class MapKit.DefaultDrivingSession
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolMapKit.DrivingSession
- protocolMapKit.NavigationSession
- protocolMapKit.SessionUpdatesProviding
Members 5
Header
class DefaultDrivingSession { struct SessionStreamVendor { let state: GeoServices.AsyncStreamVendor<MapKit.NavigationSessionStateUpdate> let matchedLocation: GeoServices.AsyncStreamVendor<MapKit.MatchedLocationUpdate> let guidance: GeoServices.AsyncStreamVendor<MapKit.GuidanceUpdate> let route: GeoServices.AsyncStreamVendor<MapKit.RouteUpdate> let transportType: GeoServices.AsyncStreamVendor<MapKit.TransportTypeUpdate> } struct InternalState { var plan: MapKit.DrivingNavigationPlan? var sessionState: MapKit.NavigationSessionState var snapshots: [MapKit.DrivingRoute : MapKit.DrivingRouteSnapshot] var lastKnownRouteSnapshot: MapKit.DrivingRouteSnapshot var service: (any MapKit.NavigationService)? var observer: Swift.Task<(), any Swift.Error>? var maneuverGuidance: MapKit.ManeuverGuidance? var matchedLocation: (any MapKit.PuckLocation)? let streamVendor: MapKit.DefaultDrivingSession.SessionStreamVendor } let id: Foundation.UUID let serviceMonitor: any MapKit.NavigationServiceMonitor let internalState: Synchronization.Mutex<MapKit.DefaultDrivingSession.InternalState> let streamVendor: MapKit.DefaultDrivingSession.SessionStreamVendor }