Skip to content

//tvlib/org.mjdev.tvlib.events.core/EventBusCore

EventBusCore

[androidJvm]\ class EventBusCore : ViewModel

Constructors

EventBusCore [androidJvm]
constructor()

Functions

Name Summary
addCloseable [androidJvm]
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
clearStickEvent [androidJvm]
fun clearStickEvent(eventName: String)
equals [androidJvm]
open operator fun equals(other: Any?): Boolean
getCloseable [androidJvm]
fun <T : AutoCloseable> getCloseable(key: String): T?
getEventObserverCount [androidJvm]
fun getEventObserverCount(eventName: String): Int
hashCode [androidJvm]
open fun hashCode(): Int
observeEvent [androidJvm]
fun <T : Any> observeEvent(lifecycleOwner: LifecycleOwner, eventName: String, minState: Lifecycle.State, dispatcher: CoroutineDispatcher, isSticky: Boolean, onReceived: (T) -> Unit): Job
observeWithoutLifecycle [androidJvm]
suspend fun <T : Any> observeWithoutLifecycle(eventName: String, isSticky: Boolean, onReceived: (T) -> Unit)
postEvent [androidJvm]
fun postEvent(eventName: String, value: Any, timeMillis: Long)
removeStickEvent [androidJvm]
fun removeStickEvent(eventName: String)
toString [androidJvm]
open fun toString(): String