public final class CoreLocation
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
CLLocationCoordinate2DIsValid(CLLocationCoordinate2D coord)
CLLocationCoordinate2DIsValid
|
static CLLocationCoordinate2D |
CLLocationCoordinate2DMake(double latitude,
double longitude)
CLLocationCoordinate2DMake:
|
static double |
CLLocationDistanceMax()
CLLocationDistanceMax
|
static java.lang.String |
CLLocationPushServiceErrorDomain()
CLLocationPushServiceErrorDomain
|
static double |
CLTimeIntervalMax()
CLTimeIntervalMax
|
static double |
kCLDistanceFilterNone()
kCLDistanceFilterNone
|
static java.lang.String |
kCLErrorDomain()
kCLErrorDomain
|
static java.lang.String |
kCLErrorUserInfoAlternateRegionKey()
kCLErrorUserInfoAlternateRegionKey
|
static double |
kCLHeadingFilterNone()
kCLHeadingFilterNone
|
static double |
kCLLocationAccuracyBest() |
static double |
kCLLocationAccuracyBestForNavigation()
kCLLocationAccuracy
|
static double |
kCLLocationAccuracyHundredMeters() |
static double |
kCLLocationAccuracyKilometer() |
static double |
kCLLocationAccuracyNearestTenMeters() |
static double |
kCLLocationAccuracyReduced()
kCLLocationAccuracyReduced
|
static double |
kCLLocationAccuracyThreeKilometers() |
static CLLocationCoordinate2D |
kCLLocationCoordinate2DInvalid()
kCLLocationCoordinate2DInvalid
|
public static boolean CLLocationCoordinate2DIsValid(CLLocationCoordinate2D coord)
Discussion: Returns YES if the specified coordinate is valid, NO otherwise.
public static CLLocationCoordinate2D CLLocationCoordinate2DMake(double latitude, double longitude)
Discussion: Returns a new CLLocationCoordinate2D at the given latitude and longitude
public static double kCLDistanceFilterNone()
Discussion: Use as the distanceFilter property for CLLocationManager. This indicates to the location service that no minimum movement filter is desired - ie, client will be informed of any movement.
public static double kCLLocationAccuracyBestForNavigation()
Discussion: Used to specify the accuracy level desired. The location service will try its best to achieve your desired accuracy. However, it is not guaranteed. To optimize power performance, be sure to specify an appropriate accuracy for your usage scenario (eg, use a large accuracy value when only a coarse location is needed).
public static double kCLLocationAccuracyBest()
public static double kCLLocationAccuracyNearestTenMeters()
public static double kCLLocationAccuracyHundredMeters()
public static double kCLLocationAccuracyKilometer()
public static double kCLLocationAccuracyThreeKilometers()
public static double CLLocationDistanceMax()
Discussion: Used to specify the maximum CLLocationDistance
public static double CLTimeIntervalMax()
Discussion: Used to specify the maximum NSTimeInterval
public static CLLocationCoordinate2D kCLLocationCoordinate2DInvalid()
Discussion: Used to specify an invalid CLLocationCoordinate2D.
public static java.lang.String kCLErrorDomain()
Discussion: Error returned as the domain to NSError from CoreLocation.
The file CLError.h defines constants for the errors in kCLErrorDomain.
public static java.lang.String kCLErrorUserInfoAlternateRegionKey()
Discussion: When an error with code kCLErrorRegionMonitoringResponseDelayed is received, this key may be populated in the userInfo dictionary. The value is a CLRegion that the location service can more effectively monitor.
public static double kCLHeadingFilterNone()
Discussion: Use as the headingFilter property for CLLocationManager. This indicates to the heading service that no minimum movement filter is desired - ie, client will be informed of any movement.
public static double kCLLocationAccuracyReduced()
Discussion: If you set your CLLocationManager's desiredAccuracy property to this value, locations delivered to your delegate in response to startUpdatingLocation or requestLocation will have their accuracy reduced. The locations you receive will match the locations your app would have received if the user had decided not to grant your app authorization for precise location.
public static java.lang.String CLLocationPushServiceErrorDomain()
Discussion: Error returned as the domain to NSError from -[CLLocationManager startMonitoringLocationPushesWithCompletion:].