HardwareBuffer
InterfaceConsts
UsageComposerOverlay
UsageCpuReadOften
UsageCpuReadRarely
UsageCpuWriteOften
UsageCpuWriteRarely
UsageFrontBuffer
UsageGpuColorOutput
UsageGpuCubeMap
UsageGpuDataBuffer
UsageGpuMipmapComplete
UsageGpuSampledImage
UsageProtectedContent
UsageSensorDirectData
UsageVideoEncode
Ycbcr420888
YcbcrP010
Creator
Format
Height
Id
IsClosed
JniPeerMembers
Layers
ThresholdClass
ThresholdType
Usage
Width
Close()
Create(Int32, Int32, HardwareBufferFormat, Int32, HardwareBufferUsage)
DescribeContents()
IsSupported(Int32, Int32, HardwareBufferFormat, Int32, Int64)
WriteToParcel(Parcel, ParcelableWriteFlags)
net9.0-android34.0
namespace Android.Hardware
{
[Register("android/hardware/HardwareBuffer", ApiSince = 26, DoNotGenerateAcw = true)]
[SupportedOSPlatform("android26.0")]
public sealed class HardwareBuffer : Object, IParcelable, IJavaObject, IJavaPeerable, IAutoCloseable, IDisposable
{
[Obsolete("This constant will be removed in the future version. Use Android.Hardware.HardwareBufferFormat enum directly instead of this field.", true)]
[Register("YCBCR_P010", ApiSince = 33)]
[SupportedOSPlatform("android33.0")]
public const HardwareBufferFormat YcbcrP010 = HardwareBufferFormat.YcbcrP010;
}
}
.NET | 7.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Obsolete | This constant will be removed in the future version. Use Android.Hardware.HardwareBufferFormat enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API