toggle menu
Wemap SDKs
0.19.0
androidJvm
switch theme
search in API
positioning.polestar
/
com.getwemap.sdk.positioning.polestar
/
PolestarLocationSource
Polestar
Location
Source
class
PolestarLocationSource
(
context
:
Context
,
polestarApiKey
:
String
)
:
LocationSource
,
NAOLocationListener
,
NAOSensorsListener
,
NAOSyncListener
Members
Constructors
Polestar
Location
Source
Link copied to clipboard
constructor
(
context
:
Context
,
polestarApiKey
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
is
Started
Link copied to clipboard
var
isStarted
:
Boolean
listener
Link copied to clipboard
open
override
var
listener
:
LocationSourceListener
?
power
Mode
Link copied to clipboard
var
powerMode
:
TPOWERMODE
raw
Location
Listener
Link copied to clipboard
var
rawLocationListener
:
NAOLocationListener
?
raw
Sensors
Listener
Link copied to clipboard
var
rawSensorsListener
:
NAOSensorsListener
?
supports
Heading
Link copied to clipboard
open
override
val
supportsHeading
:
Boolean
=
false
Functions
deinit
Link copied to clipboard
open
override
fun
deinit
(
)
on
Enter
Site
Link copied to clipboard
open
override
fun
onEnterSite
(
s
:
String
?
)
on
Error
Link copied to clipboard
open
override
fun
onError
(
naoerrorcode
:
NAOERRORCODE
?
,
s
:
String
?
)
on
Exit
Site
Link copied to clipboard
open
override
fun
onExitSite
(
s
:
String
?
)
on
Location
Changed
Link copied to clipboard
open
override
fun
onLocationChanged
(
location
:
Location
)
on
Location
Status
Changed
Link copied to clipboard
open
override
fun
onLocationStatusChanged
(
tnaofixstatus
:
TNAOFIXSTATUS
?
)
on
Synchronization
Failure
Link copied to clipboard
open
override
fun
onSynchronizationFailure
(
naoerrorcode
:
NAOERRORCODE
?
,
s
:
String
?
)
on
Synchronization
Success
Link copied to clipboard
open
override
fun
onSynchronizationSuccess
(
)
requires
BLEOn
Link copied to clipboard
open
override
fun
requiresBLEOn
(
)
requires
Compass
Calibration
Link copied to clipboard
open
override
fun
requiresCompassCalibration
(
)
requires
Location
On
Link copied to clipboard
open
override
fun
requiresLocationOn
(
)
requires
Wifi
On
Link copied to clipboard
open
override
fun
requiresWifiOn
(
)
start
Link copied to clipboard
open
override
fun
start
(
)
stop
Link copied to clipboard
open
override
fun
stop
(
)