UserLocation

@objc(GSUserLocation)
public protocol UserLocation : Facility

Facility that provides phone location (gps) related events.

  • Latest phone location.

    Declaration

    Swift

    var location: CLLocation? { get }
  • true if the update of the CLLocation was stopped by the application (the userLocation may be out of date).

    Declaration

    Swift

    var stopped: Bool { get }
  • true if location services are Authorized. Location services may or may not be authorized for the application. Furthermore, the user can enable or disable location services from the Settings app by toggling the Location Services switch in General.

    Declaration

    Swift

    var authorized: Bool { get }