uninstall

fun uninstall()

Stops this capture reporting, and removes the screen frames it pushed from the stacks they were pushed onto. Safe to call more than once. The swizzle itself is left in place (see the class kdoc): it does nothing while no sink is active.

Compare-and-clear by owner: install(A) → install(B) → A.uninstall() must not silence B. Frames are removed only for this owner and from the stack each was actually pushed onto, so an uninstall after a sink swap leaves B's visible screen frames alone.