Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

CancellationSignal.OnCancelListener

public static interface CancellationSignal.OnCancelListener

androidx.core.os.CancellationSignal.OnCancelListener


Listens for cancellation.

Summary

Public methods

abstract void onCancel()

Called when CancellationSignal.cancel() is invoked.

Public methods

onCancel

public abstract void onCancel ()

Called when CancellationSignal.cancel() is invoked.