CLLocation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Location information as generated byt he CLLocationManager class.
[Foundation.Register("CLLocation", true)]
public class CLLocation : Foundation.NSObject, CloudKit.ICKRecordValue, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("CLLocation", true)>]
type CLLocation = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
interface ICKRecordValue
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CLLocation() |
Creates a new CLLocation with default values. |
| CLLocation(CLLocationCoordinate2D, Double, Double, Double, Double, Double, Double, Double, NSDate, CLLocationSourceInformation) | |
| CLLocation(CLLocationCoordinate2D, Double, Double, Double, Double, Double, Double, Double, NSDate) | |
| CLLocation(CLLocationCoordinate2D, Double, Double, Double, Double, Double, NSDate) |
Constructor that allows the app developer to specify speed. |
| CLLocation(CLLocationCoordinate2D, Double, Double, Double, NSDate) |
Constructor that allows the app developer to specify the accuracy and time. |
| CLLocation(Double, Double) |
Constructor that produces a location specified by |
| CLLocation(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| CLLocation(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| CLLocation(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AccuracyBest | |
| AccuracyBestForNavigation |
Represents the value associated with the constant 'kCLLocationAccuracyBestForNavigation'. |
| AccuracyHundredMeters | |
| AccuracyKilometer | |
| AccuracyNearestTenMeters | |
| AccuracyReduced |
Represents the value associated with the constant 'kCLLocationAccuracyReduced'. |
| AccuracyThreeKilometers | |
| AccurracyBestForNavigation | |
| Altitude |
The altitude, in meters above sea level. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Coordinate |
The location's position on the globe. |
| Course |
The direction, in positive degrees, in which the device is moving relative to true North. |
| CourseAccuracy | |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| EllipsoidalAltitude | |
| ErrorUserInfoAlternateRegionKey |
Represents the value associated with the constant kCLErrorUserInfoAlternateRegionKey |
| ExposedBindings | (Inherited from NSObject) |
| Floor | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HorizontalAccuracy |
The radius, in meters, of the uncertainty of the location. |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| SourceInformation | |
| Speed |
The instantaneous speed of the device, in meters per second. |
| SpeedAccuracy | |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Timestamp |
The time at which the CLLocation measurement was taken. |
| VerticalAccuracy |
The radius, in meters, of the uncertainty of the location. |
| Zone | (Inherited from NSObject) |