Sdílet prostřednictvím


UsbRequest.Cancel Method

Definition

Cancels a pending queue operation.

[Android.Runtime.Register("cancel", "()Z", "GetCancelHandler")]
public virtual bool Cancel ();
[<Android.Runtime.Register("cancel", "()Z", "GetCancelHandler")>]
abstract member Cancel : unit -> bool
override this.Cancel : unit -> bool

Returns

true if cancelling succeeded

Attributes

Remarks

Cancels a pending queue operation.

Java documentation for android.hardware.usb.UsbRequest.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