ComposableCoreLocation Documentation

Structure Location​Manager.​Properties

public struct Properties: Equatable  
%21 LocationManager.Properties LocationManager.Properties Equatable Equatable LocationManager.Properties->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

Initializers

init(activity​Type:​allows​Background​Location​Updates:​desired​Accuracy:​distance​Filter:​heading​Filter:​heading​Orientation:​pauses​Location​Updates​Automatically:​shows​Background​Location​Indicator:​)

@available(macOS, unavailable)
    @available(tvOS, unavailable)
    @available(watchOS, unavailable)
    public init(
      activityType: CLActivityType? = nil,
      allowsBackgroundLocationUpdates: Bool? = nil,
      desiredAccuracy: CLLocationAccuracy? = nil,
      distanceFilter: CLLocationDistance? = nil,
      headingFilter: CLLocationDegrees? = nil,
      headingOrientation: CLDeviceOrientation? = nil,
      pausesLocationUpdatesAutomatically: Bool? = nil,
      showsBackgroundLocationIndicator: Bool? = nil
    )  

init(desired​Accuracy:​distance​Filter:​)

@available(iOS, unavailable)
    @available(macCatalyst, unavailable)
    @available(watchOS, unavailable)
    public init(
      desiredAccuracy: CLLocationAccuracy? = nil,
      distanceFilter: CLLocationDistance? = nil
    )  

init(activity​Type:​allows​Background​Location​Updates:​desired​Accuracy:​distance​Filter:​heading​Filter:​heading​Orientation:​)

@available(iOS, unavailable)
    @available(macCatalyst, unavailable)
    @available(macOS, unavailable)
    @available(tvOS, unavailable)
    public init(
      activityType: CLActivityType? = nil,
      allowsBackgroundLocationUpdates: Bool? = nil,
      desiredAccuracy: CLLocationAccuracy? = nil,
      distanceFilter: CLLocationDistance? = nil,
      headingFilter: CLLocationDegrees? = nil,
      headingOrientation: CLDeviceOrientation? = nil
    )  

Operators

==

public static func == (lhs: Self, rhs: Self) -> Bool