ProgressEvents

Types

Link copied to clipboard
open class Events(var payload: Any? = null)

This class contains built-in and custom events which the library can broadcast to the application. Here is a list of the built-in events:

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addPayload(eventName: String, payload: Any?)
Link copied to clipboard
operator fun get(eventName: String): ProgressEvents.Events?
Link copied to clipboard
fun getPayload(eventName: String): Any?
Link copied to clipboard
fun onNext(eventName: String, payload: Any? = null)

The application can broadcast built in events by calling this function.

Link copied to clipboard
fun runEventActions(name: String, eventActions: Array<EventAction>)