GWIoTApi
Toggle table of contents
1.2.1
android
common
ios
Platform filter
android
common
ios
Switch theme
Search in API
GWIoTApi
GWIoTApi
/
com.gw.gwiotapi.livedata
/
MutableLiveEvent
Mutable
Live
Event
android
common
ios
actual
open
class
MutableLiveEvent
<
T
>
:
LiveEvent
<
T
>
expect
class
MutableLiveEvent
<
T
>
:
LiveEvent
<
T
>
actual
open
class
MutableLiveEvent
<
T
>
:
LiveEvent
<
T
>
Members
Constructors
Mutable
Live
Event
Link copied to clipboard
android
common
ios
constructor
(
)
expect
constructor
(
)
constructor
(
)
Functions
post
Value
Link copied to clipboard
android
common
ios
actual
open
override
fun
postValue
(
value
:
T
)
expect
fun
postValue
(
value
:
T
)
Post the value of the data on the next event loop cycle (if possible).
actual
open
override
fun
postValue
(
value
:
T
)
set
Value
Link copied to clipboard
android
common
ios
actual
open
override
fun
setValue
(
value
:
T
)
expect
fun
setValue
(
value
:
T
)
Set the value of the data.
actual
open
override
fun
setValue
(
value
:
T
)