|
- {"sections":[],"schemaVersion":{"major":0,"minor":3,"patch":0},"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LocationManager\/locationManager(_:didUpdateLocations:)","interfaceLanguage":"swift"},"variants":[{"paths":["\/documentation\/fueling\/locationmanager\/locationmanager(_:didupdatelocations:)"],"traits":[{"interfaceLanguage":"swift"}]}],"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LocationManager"]]},"kind":"symbol","metadata":{"role":"symbol","externalID":"c:@M@Fueling@objc(cs)LocationManager(im)locationManager:didUpdateLocations:","title":"locationManager(_:didUpdateLocations:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"locationManager"},{"text":"(","kind":"text"},{"preciseIdentifier":"c:objc(cs)CLLocationManager","kind":"typeIdentifier","text":"CLLocationManager"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"didUpdateLocations"},{"text":": [","kind":"text"},{"preciseIdentifier":"c:objc(cs)CLLocation","text":"CLLocation","kind":"typeIdentifier"},{"kind":"text","text":"])"}],"roleHeading":"Instance Method","modules":[{"name":"Fueling"}],"symbolKind":"method"},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"locationManager"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"manager"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)CLLocationManager","text":"CLLocationManager"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"didUpdateLocations"},{"text":" ","kind":"text"},{"text":"locations","kind":"internalParam"},{"text":": [","kind":"text"},{"text":"CLLocation","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)CLLocation"},{"text":"])","kind":"text"}],"platforms":["iOS"],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The CLLocationManager object reporting the event."}]}],"name":"manager"},{"content":[{"type":"paragraph","inlineContent":[{"text":"An array of CLLocation objects representing the new locations.","type":"text"}]}],"name":"locations"}]},{"kind":"content","content":[{"type":"heading","text":"Discussion","level":2,"anchor":"discussion"},{"type":"codeListing","syntax":"swift","code":["func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {"," guard let location = locations.last else { return }"," lastLocation = location"," print(#function, location)","}"]}]}],"abstract":[{"text":"Called when new location data is available.","type":"text"}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/LocationManager":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LocationManager","kind":"symbol","role":"symbol","abstract":[{"text":"A class that manages location services and provides updates on the device’s location and authorization status.","type":"text"}],"title":"LocationManager","type":"topic","fragments":[{"kind":"keyword","text":"class"},{"text":" ","kind":"text"},{"text":"LocationManager","kind":"identifier"}],"navigatorTitle":[{"text":"LocationManager","kind":"identifier"}],"url":"\/documentation\/fueling\/locationmanager"},"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"},"doc://rpm.com.production.Scanner/documentation/Fueling/LocationManager/locationManager(_:didUpdateLocations:)":{"role":"symbol","url":"\/documentation\/fueling\/locationmanager\/locationmanager(_:didupdatelocations:)","type":"topic","title":"locationManager(_:didUpdateLocations:)","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/LocationManager\/locationManager(_:didUpdateLocations:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"locationManager"},{"kind":"text","text":"("},{"text":"CLLocationManager","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)CLLocationManager"},{"kind":"text","text":", "},{"text":"didUpdateLocations","kind":"externalParam"},{"text":": [","kind":"text"},{"kind":"typeIdentifier","text":"CLLocation","preciseIdentifier":"c:objc(cs)CLLocation"},{"text":"])","kind":"text"}],"abstract":[{"text":"Called when new location data is available.","type":"text"}]}}}
|