Udostępnij za pośrednictwem


WindowManagerLayoutParams.PreferMinimalPostProcessing Property

Definition

Indicates whether this window wants the connected display to do minimal post processing on the produced image or video frames.

[Android.Runtime.Register("preferMinimalPostProcessing", ApiSince=30)]
public bool PreferMinimalPostProcessing { get; set; }
[<Android.Runtime.Register("preferMinimalPostProcessing", ApiSince=30)>]
member this.PreferMinimalPostProcessing : bool with get, set

Property Value

Attributes

Remarks

Indicates whether this window wants the connected display to do minimal post processing on the produced image or video frames. This will only be requested if the window is visible on the screen.

This setting should be used when low latency has a higher priority than image enhancement processing (e.g. for games or video conferencing).

If the Display sink is connected via HDMI, the device will begin to send infoframes with Auto Low Latency Mode enabled and Game Content Type. This will switch the connected display to a minimal image processing mode (if available), which reduces latency, improving the user experience for gaming or video conferencing applications. For more information, see HDMI 2.1 specification.

If the Display sink has an internal connection or uses some other protocol than HDMI, effects may be similar but implementation-defined.

The ability to switch to a mode with minimal post proessing may be disabled by a user setting in the system settings menu. In that case, this field is ignored and the display will remain in its current mode.

Java documentation for android.view.WindowManager.LayoutParams.preferMinimalPostProcessing.

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.

Applies to