toggle menu
Kaluga
1.3.0-SNAPSHOT
common
switch theme
search in API
test-utils-location
/
com.splendo.kaluga.test.location
/
MockLocationState
/
Enabled
Enabled
data
class
Enabled
(
val
location
:
Location
)
:
MockLocationState.Active
,
LocationState.Enabled
Members
Constructors
Enabled
Link copied to clipboard
constructor
(
location
:
Location
)
Properties
deinitialized
Link copied to clipboard
val
deinitialized
:
suspend
(
)
->
MockLocationState.Deinitialized
disable
Link copied to clipboard
open
override
val
disable
:
suspend
(
)
->
MockLocationState.Disabled.NoGPS
location
Link copied to clipboard
open
override
val
location
:
Location
revoke
Permission
Link copied to clipboard
open
override
val
revokePermission
:
suspend
(
)
->
MockLocationState.Disabled.NotPermitted
Functions
remain
Link copied to clipboard
open
fun
<
S
:
KalugaState
>
remain
(
)
:
suspend
(
)
->
S
update
With
Location
Link copied to clipboard
open
override
fun
updateWithLocation
(
location
:
Location.KnownLocation
)
:
suspend
(
)
->
LocationState.Enabled