ComposableCoreLocation Documentation

Enumeration Location​Manager.​Action

public enum Action: Equatable  

Actions that correspond to CLLocationManagerDelegate methods.

See CLLocationManagerDelegate for more information.

%17 LocationManager.Action LocationManager.Action Equatable Equatable LocationManager.Action->Equatable

Member Of

LocationManager

A wrapper around Core Location's CLLocationManager that exposes its functionality through effects and actions, making it easy to use with the Composable Architecture and easy to test.

Conforms To

Equatable

Enumeration Cases

did​Change​Authorization

case didChangeAuthorization(CLAuthorizationStatus) 

did​Determine​State

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didDetermineState(CLRegionState, region: Region) 

did​Enter​Region

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didEnterRegion(Region) 

did​Exit​Region

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didExitRegion(Region) 

did​Fail​Ranging

@available(macOS, unavailable)
    @available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didFailRanging(beaconConstraint: CLBeaconIdentityConstraint, error: Error) 

did​Fail​With​Error

case didFailWithError(Error) 

did​Finish​Deferred​Updates​With​Error

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didFinishDeferredUpdatesWithError(Error?) 

did​Pause​Location​Updates

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didPauseLocationUpdates

did​Resume​Location​Updates

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didResumeLocationUpdates

did​Start​Monitoring

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didStartMonitoring(region: Region) 

did​Update​Heading

@available(macOS, unavailable)
    @available(tvOS, unavailable)
    case didUpdateHeading(newHeading: Heading) 

did​Update​Locations

case didUpdateLocations([Location]) 

did​Update​To

@available(macCatalyst, deprecated: 13)
    @available(tvOS, unavailable)
    case didUpdateTo(newLocation: Location, oldLocation: Location) 

did​Visit

@available(macOS, unavailable)
    @available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didVisit(Visit) 

monitoring​Did​Fail

@available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case monitoringDidFail(region: Region?, error: Error) 

did​Range​Beacons

@available(macOS, unavailable)
    @available(tvOS, unavailable)
    @available(watchOS, unavailable)
    case didRangeBeacons([Beacon], satisfyingConstraint: CLBeaconIdentityConstraint)