toggle menu
SDK
androidJvm
switch theme
search in API
sdk-sensor-collection
/
com.combain.sdk_sensor_collection.gps
/
SLGpsService
SLGps
Service
class
SLGpsService
(
androidContext
:
Context
,
monitor
:
SLMonitor
?
,
sensorLog
:
SLSensorLog
)
:
LocationListener
Members
Constructors
SLGps
Service
Link copied to clipboard
constructor
(
androidContext
:
Context
,
monitor
:
SLMonitor
?
,
sensorLog
:
SLSensorLog
)
Types
SLGps
Service
Link copied to clipboard
object
SLGpsService
Properties
last
Known
Location
Link copied to clipboard
var
lastKnownLocation
:
Location
?
last
Known
Satellite
Count
Link copied to clipboard
var
lastKnownSatelliteCount
:
Int
last
Known
Satellites
Used
In
Fix
Link copied to clipboard
var
lastKnownSatellitesUsedInFix
:
Int
mode
Callback
Link copied to clipboard
var
modeCallback
:
(
SLModeLocationData
)
->
Unit
Functions
notify
Mode
Link copied to clipboard
fun
notifyMode
(
it
:
Location
)
on
Flush
Complete
Link copied to clipboard
open
fun
onFlushComplete
(
p0
:
Int
)
on
Location
Changed
Link copied to clipboard
open
fun
onLocationChanged
(
p0
:
MutableList
<
Location
>
)
open
override
fun
onLocationChanged
(
it
:
Location
)
on
Provider
Disabled
Link copied to clipboard
open
fun
onProviderDisabled
(
p0
:
String
)
on
Provider
Enabled
Link copied to clipboard
open
fun
onProviderEnabled
(
p0
:
String
)
on
Status
Changed
Link copied to clipboard
open
fun
onStatusChanged
(
p0
:
String
,
p1
:
Int
,
p2
:
Bundle
)
start
Link copied to clipboard
fun
start
(
)
stop
Link copied to clipboard
fun
stop
(
)