toggle menu
app
androidJvm
switch theme
search in API
app
/
org.scottishtecharmy.soundscape.locationprovider
/
StaticLocationProvider
Static
Location
Provider
class
StaticLocationProvider
(
latitude
:
Double
,
longitude
:
Double
)
:
LocationProvider
Members
Constructors
Static
Location
Provider
Link copied to clipboard
constructor
(
latitude
:
Double
,
longitude
:
Double
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
location
Flow
Link copied to clipboard
var
locationFlow
:
StateFlow
<
Location
?
>
mutable
Location
Flow
Link copied to clipboard
val
mutableLocationFlow
:
MutableStateFlow
<
Location
?
>
Functions
destroy
Link copied to clipboard
open
override
fun
destroy
(
)
get
Link copied to clipboard
fun
get
(
)
:
LngLatAlt
get
Current
Latitude
Link copied to clipboard
fun
getCurrentLatitude
(
)
:
Double
?
get
Current
Longitude
Link copied to clipboard
fun
getCurrentLongitude
(
)
:
Double
?
start
Link copied to clipboard
open
override
fun
start
(
context
:
Context
)
update
Location
Link copied to clipboard
open
override
fun
updateLocation
(
newLocation
:
LngLatAlt
,
speed
:
Float
)