Structure
LocationManager.Properties
public struct Properties: Equatable
Relationships
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(activityType:allowsBackgroundLocationUpdates:desiredAccuracy:distanceFilter:headingFilter:headingOrientation:pausesLocationUpdatesAutomatically:showsBackgroundLocationIndicator:)
@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(desiredAccuracy:distanceFilter:)
@available(iOS, unavailable)
@available(macCatalyst, unavailable)
@available(watchOS, unavailable)
public init(
desiredAccuracy: CLLocationAccuracy? = nil,
distanceFilter: CLLocationDistance? = nil
)
init(activityType:allowsBackgroundLocationUpdates:desiredAccuracy:distanceFilter:headingFilter:headingOrientation:)
@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