共用方式為


CancellationSignal.Cancel Method

Definition

Cancels the operation and signals the cancellation listener.

[Android.Runtime.Register("cancel", "()V", "")]
public void Cancel ();
[<Android.Runtime.Register("cancel", "()V", "")>]
member this.Cancel : unit -> unit
Attributes

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.

Java documentation for android.os.CancellationSignal.cancel().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to