addListener

fun addListener(listener: LifecycleListener): CancellationToken