Udostępnij za pośrednictwem


DisplayManager.MatchContentFrameRateUserPreference Property

Definition

Returns the user preference for "Match content frame rate".

public int MatchContentFrameRateUserPreference { [Android.Runtime.Register("getMatchContentFrameRateUserPreference", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMatchContentFrameRateUserPreference", "()I", "", ApiSince=31)>]
member this.MatchContentFrameRateUserPreference : int

Property Value

Attributes

Remarks

Returns the user preference for "Match content frame rate".

Never: Even if the app requests it, the device will never try to match its output to the original frame rate of the content.

Seamless: If the app requests it, the device will match its output to the original frame rate of the content, ONLY if the display can transition seamlessly.

Always: If the app requests it, the device will match its output to the original frame rate of the content. This may cause the screen to go blank for a second when exiting or entering a video playback.

Java documentation for android.hardware.display.DisplayManager.getMatchContentFrameRateUserPreference().

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