Language

Surface.ProducerThrottlingEnabled Property

Definition

Check if CPU throttling is enabled. -or- Control CPU throttling for Vulkan/EGL producers.

public virtual bool ProducerThrottlingEnabled { [Android.Runtime.Register("isProducerThrottlingEnabled", "()Z", "GetIsProducerThrottlingEnabledHandler", ApiSince=37)] get; [Android.Runtime.Register("setProducerThrottlingEnabled", "(Z)V", "GetSetProducerThrottlingEnabled_ZHandler", ApiSince=37)] set; }
[<get: Android.Runtime.Register("isProducerThrottlingEnabled", "()Z", "GetIsProducerThrottlingEnabledHandler", ApiSince=37)>]
[<set: Android.Runtime.Register("setProducerThrottlingEnabled", "(Z)V", "GetSetProducerThrottlingEnabled_ZHandler", ApiSince=37)>]
member this.ProducerThrottlingEnabled : bool with get, set

Property Value

true if back-pressure is enabled, false otherwise.

Attributes

Remarks

Check if CPU throttling is enabled.

Android reference for android.view.Surface.isProducerThrottlingEnabled.

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