O segundo Visualização do Desenvolvedor do Android 11 já está disponível, teste e compartilhe seu feedback.

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.