OutputConfiguration.Usage Property
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.
Get the usage flag associated with this OutputConfiguration.
public long Usage { [Android.Runtime.Register("getUsage", "()J", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getUsage", "()J", "", ApiSince=37)>]
member this.Usage : int64
Property Value
The usage flag associated with this OutputConfiguration, as defined in
HardwareBuffer.
- Attributes
Remarks
Get the usage flag associated with this OutputConfiguration.
When created from an output surface or a surface source class, this value can reflect the consumer usage flags. Reconstructing the configuration from a parcel can reset it to 0.
When created using an image format, the usage is initially set to the application-specified flags. If no flags are specified, it starts at 0 for Private and UsageCpuReadOften for other formats.
Android reference for android.hardware.camera2.params.OutputConfiguration.getUsage.
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.