DynamicRangeProfiles.GetProfileCaptureRequestConstraints(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.
Return a list of supported dynamic range profiles that can be referenced in a single capture request along with a given profile.
[Android.Runtime.Register("getProfileCaptureRequestConstraints", "(J)Ljava/util/Set;", "", ApiSince=33)]
public System.Collections.Generic.ICollection<Java.Lang.Long> GetProfileCaptureRequestConstraints (long profile);
[<Android.Runtime.Register("getProfileCaptureRequestConstraints", "(J)Ljava/util/Set;", "", ApiSince=33)>]
member this.GetProfileCaptureRequestConstraints : int64 -> System.Collections.Generic.ICollection<Java.Lang.Long>
Parameters
- profile
- Int64
Returns
non-modifiable set of dynamic range profiles
- Attributes
Remarks
Return a list of supported dynamic range profiles that can be referenced in a single capture request along with a given profile.
For example if assume that a particular 10-bit output capable device returns (#STANDARD
, #HLG10
, #HDR10
) as result from calling #getSupportedProfiles()
and #getProfileCaptureRequestConstraints
returns (#STANDARD
, #HLG10
) when given an argument of #STANDARD
. This means that the corresponding camera device will only accept and process capture requests that reference outputs configured using #HDR10
dynamic profile or alternatively some combination of #STANDARD
and #HLG10
. However trying to queue capture requests to outputs that reference both #HDR10
and #STANDARD
/#HLG10
will result in IllegalArgumentException
.
The list will be empty in case there are no constraints for the given profile.
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.