PixelCopy.ErrorSourceNoData Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Views.PixelCopyResult enum directly instead of this field.
The source has nothing to copy from.
[Android.Runtime.Register("ERROR_SOURCE_NO_DATA", 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 ErrorSourceNoData = 3;
[<Android.Runtime.Register("ERROR_SOURCE_NO_DATA", 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 ErrorSourceNoData : Android.Views.PixelCopyResult
Field Value
Value = 3- Attributes
Remarks
The source has nothing to copy from. When the source is a Surface
this means that no buffers have been queued yet. Wait for the source to produce a frame and try again.
Java documentation for android.view.PixelCopy.ERROR_SOURCE_NO_DATA
.
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.