lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 16

CancellationSignal.OnCancelListener

public static interface CancellationSignal.OnCancelListener

android.os.CancellationSignal.OnCancelListener


Listens for cancellation.

Summary

Public methods

abstract void onCancel()

Called when CancellationSignal.cancel() is invoked.

Public methods

onCancel

added in API level 16
public abstract void onCancel ()

Called when CancellationSignal.cancel() is invoked.