public class CLHeading extends NSObject implements NSSecureCoding
Modifier and Type | Method and Description |
---|---|
String |
description()
Returns the heading of the device as a formatted text string.
|
double |
headingAccuracy()
Returns the difference between the calculated heading of the device and
the actual recorded geomagnetic heading.
|
double |
magneticHeading()
Returns the recorded heading relative to magnetic North in degrees.
|
NSDate |
timestamp()
Returns the timestamp of the heading record.
|
String |
toString() |
double |
trueHeading()
Returns the recorded heading relative to true North in degrees.
|
double |
x()
Returns X-axis's geomagnetic data.
|
double |
y()
Returns Y-axis's geomagnetic data.
|
double |
z()
Returns Z-axis's geomagnetic data.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
supportsSecureCoding
public double headingAccuracy()
public double magneticHeading()
public NSDate timestamp()
public double trueHeading()
public double x()
public double y()
public double z()
public String description()
Copyright © 2020. All rights reserved.