toggle menu
app
androidJvm
switch theme
search in API
app
/
org.scottishtecharmy.soundscape.viewmodels.home
/
HomeViewModel
Home
View
Model
class
HomeViewModel
@
Inject
constructor
(
soundscapeServiceConnection
:
SoundscapeServiceConnection
)
:
ViewModel
Members
Constructors
Home
View
Model
Link copied to clipboard
@
Inject
constructor
(
soundscapeServiceConnection
:
SoundscapeServiceConnection
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
search
Text
Link copied to clipboard
val
searchText
:
StateFlow
<
String
>
state
Link copied to clipboard
val
state
:
StateFlow
<
HomeState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
closeable
:
AutoCloseable
)
fun
addCloseable
(
key
:
String
,
closeable
:
AutoCloseable
)
ahead
Of
Me
Link copied to clipboard
fun
aheadOfMe
(
)
create
Beacon
Link copied to clipboard
fun
createBeacon
(
latitudeLongitude
:
LatLng
)
get
Closeable
Link copied to clipboard
fun
<
T
:
AutoCloseable
>
getCloseable
(
key
:
String
)
:
T
?
my
Location
Link copied to clipboard
fun
myLocation
(
)
on
Marker
Click
Link copied to clipboard
fun
onMarkerClick
(
marker
:
Marker
)
:
Boolean
on
Search
Text
Change
Link copied to clipboard
fun
onSearchTextChange
(
text
:
String
)
on
Toogle
Search
Link copied to clipboard
fun
onToogleSearch
(
)
share
Location
Link copied to clipboard
fun
shareLocation
(
context
:
Context
)
whats
Around
Me
Link copied to clipboard
fun
whatsAroundMe
(
)