MultiResolutionImageReader.Builder.SetUsage(Int64) Method
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.
The default usage is HardwareBuffer.USAGE_CPU_READ_OFTEN, unless the format is ImageFormat.PRIVATE, in which case the default usage is 0.
[Android.Runtime.Register("setUsage", "(J)Landroid/hardware/camera2/MultiResolutionImageReader$Builder;", "", ApiSince=37)]
public Android.Hardware.Camera2.MultiResolutionImageReader.Builder SetUsage(long usage);
[<Android.Runtime.Register("setUsage", "(J)Landroid/hardware/camera2/MultiResolutionImageReader$Builder;", "", ApiSince=37)>]
member this.SetUsage : int64 -> Android.Hardware.Camera2.MultiResolutionImageReader.Builder
Parameters
- usage
- Int64
Returns
the Builder instance with customized usage value. This value cannot be null.
- Attributes
Remarks
The default usage is HardwareBuffer.USAGE_CPU_READ_OFTEN, unless the format is ImageFormat.PRIVATE, in which case the default usage is 0.
Android reference for android.hardware.camera2.MultiResolutionImageReader.Builder.setUsage.
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.