ExperimentalEventsApi


@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.FUNCTIONAnnotationTarget.PROPERTYAnnotationTarget.PROPERTY_GETTERAnnotationTarget.CLASS])
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
annotation ExperimentalEventsApi


Annotation indicating experimental API for new WorkManager's event APIs.

These APIs add hooks into many WorkManager lifecycle events which the developer can register listeners for. These hooks run for all workers and provide snapshots of the work at the time of the event.

Summary

Public constructors

Public constructors

ExperimentalEventsApi

ExperimentalEventsApi()