语言

PixelCopy.ErrorDestinationInvalid 字段

定义

注意

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

目标不是有效的复制目标。

[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

字段值

Value = 5
属性

注解

目标不是有效的复制目标。 如果目标是位图,则如果位图太大,硬件无法复制到该位图,则会发生此情况。 如果目标已被销毁,也可能发生此情况。

适用于 . 的 android.view.PixelCopy.ERROR_DESTINATION_INVALIDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于