Udostępnij za pośrednictwem


PixelCopy.ErrorDestinationInvalid Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.PixelCopyResult enum directly instead of this field.

The destination isn't a valid copy target.

[Android.Runtime.Register("ERROR_DESTINATION_INVALID", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.PixelCopyResult enum directly instead of this field.", true)]
public const Android.Views.PixelCopyResult ErrorDestinationInvalid = 5;
[<Android.Runtime.Register("ERROR_DESTINATION_INVALID", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.PixelCopyResult enum directly instead of this field.", true)>]
val mutable ErrorDestinationInvalid : Android.Views.PixelCopyResult

Field Value

Value = 5
Attributes

Remarks

The destination isn't a valid copy target. If the destination is a bitmap this can occur if the bitmap is too large for the hardware to copy to. It can also occur if the destination has been destroyed.

Java documentation for android.view.PixelCopy.ERROR_DESTINATION_INVALID.

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