Share via


BitmapFactory.Options.MCancel Property

Definition

This member is deprecated.

[Android.Runtime.Register("mCancel")]
public bool MCancel { get; set; }
[<Android.Runtime.Register("mCancel")>]
member this.MCancel : bool with get, set

Property Value

Attributes

Remarks

This member is deprecated. As of android.os.Build.VERSION_CODES#N, see comments on #requestCancelDecode().

Flag to indicate that cancel has been called on this object. This is useful if there's an intermediary that wants to first decode the bounds and then decode the image. In that case the intermediary can check, inbetween the bounds decode and the image decode, to see if the operation is canceled.

Java documentation for android.graphics.BitmapFactory.Options.mCancel.

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