SurfaceControl.Transaction.SetDesiredHdrHeadroom 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.
Sets the desired HDR headroom for the specified surface.
[Android.Runtime.Register("setDesiredHdrHeadroom", "(Landroid/view/SurfaceControl;F)Landroid/view/SurfaceControl$Transaction;", "GetSetDesiredHdrHeadroom_Landroid_view_SurfaceControl_FHandler", ApiSince=35)]
public virtual Android.Views.SurfaceControl.Transaction SetDesiredHdrHeadroom(Android.Views.SurfaceControl sc, float desiredRatio);
[<Android.Runtime.Register("setDesiredHdrHeadroom", "(Landroid/view/SurfaceControl;F)Landroid/view/SurfaceControl$Transaction;", "GetSetDesiredHdrHeadroom_Landroid_view_SurfaceControl_FHandler", ApiSince=35)>]
abstract member SetDesiredHdrHeadroom : Android.Views.SurfaceControl * single -> Android.Views.SurfaceControl.Transaction
override this.SetDesiredHdrHeadroom : Android.Views.SurfaceControl * single -> Android.Views.SurfaceControl.Transaction
Parameters
The Android.Views.SurfaceControl value used for sc.
- desiredRatio
- Single
The System.Single value used for desired ratio.
Returns
The result of the set desired hdr headroom operation.
- Attributes
Remarks
For details, see the Android reference documentation for android.view.SurfaceControl.Transaction.setDesiredHdrHeadroom.
Java documentation for android.view.SurfaceControl.Transaction.setDesiredHdrHeadroom.
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.