Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Compass
Interface Compass
Index
Methods
clearWatch
getCurrentHeading
watchHeading
Methods
public
clearWatch
(
watchID
:
number
)
Parameters
watchID:
number
public
getCurrentHeading
(
compassSuccess
:
(heading: CompassHeading) => void
, compassError
:
(error: CompassError) => void
, compassOptions
?:
CompassOptions
)
Parameters
compassSuccess:
(heading: CompassHeading) => void
compassError:
(error: CompassError) => void
compassOptions?:
CompassOptions
optional
public
watchHeading
(
compassSuccess
:
(heading: CompassHeading) => void
, compassError
:
(error: CompassError) => void
, compassOptions
?:
CompassOptions
)
Parameters
compassSuccess:
(heading: CompassHeading) => void
compassError:
(error: CompassError) => void
compassOptions?:
CompassOptions
optional
Globals