Android Guides | Samples

Android.OS.CancellationSignal.Cancel Method

Cancels the operation and signals the cancellation listener.

Syntax

[Android.Runtime.Register("cancel", "()V", "")]
public Void Cancel ()

Remarks

Cancels the operation and signals the cancellation listener. If the operation has not yet started, then it will be canceled as soon as it does.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16