toggle menu
mapsglmaps
androidJvm
switch theme
search in API
mapsglmaps
/
com.xweather.mapsglmaps.events
/
EventSource
Event
Source
interface
EventSource
Inheritors
XweatherAuthenticator
MapLayer
DataSource
SourceMetadata
Members
Members & Extensions
Properties
event
Dispatcher
Link copied to clipboard
abstract
val
eventDispatcher
:
EventDispatcher
Functions
publisher
Link copied to clipboard
inline
fun
<
EventType
:
Event
>
EventSource
.
publisher
(
eventType
:
Class
<
EventType
>
)
:
Flow
<
EventType
>
subscribe
Link copied to clipboard
inline suspend
fun
<
EventType
:
Event
>
EventSource
.
subscribe
(
eventType
:
Class
<
EventType
>
,
crossinline
handler
:
(
EventType
)
->
Unit
)
trigger
Link copied to clipboard
fun
<
EventType
:
Event
>
EventSource
.
trigger
(
event
:
EventType
)