共用方式為


CancellationSignal.IOnCancelListener.OnCancel Method

Definition

Called when CancellationSignal#cancel is invoked.

[Android.Runtime.Register("onCancel", "()V", "GetOnCancelHandler:Android.OS.CancellationSignal/IOnCancelListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnCancel ();
[<Android.Runtime.Register("onCancel", "()V", "GetOnCancelHandler:Android.OS.CancellationSignal/IOnCancelListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnCancel : unit -> unit
Attributes

Remarks

Called when CancellationSignal#cancel is invoked.

Java documentation for android.os.CancellationSignal.OnCancelListener.onCancel().

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