detach

@ObjCName(swiftName = "detach")
fun detach()

Stop delivering events to this monitor. Idempotent — second and later calls are no-ops. Does not affect other monitors attached to the same BackgroundTaskManager.