Share via


HardwareRenderer.SyncRedrawRequested Field

Definition

Caution

This constant will be removed in the future version. Use Android.Graphics.Sync enum directly instead of this field.

The renderer is requesting a redraw.

[Android.Runtime.Register("SYNC_REDRAW_REQUESTED", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Sync enum directly instead of this field.", true)]
public const Android.Graphics.Sync SyncRedrawRequested = 1;
[<Android.Runtime.Register("SYNC_REDRAW_REQUESTED", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Sync enum directly instead of this field.", true)>]
val mutable SyncRedrawRequested : Android.Graphics.Sync

Field Value

Value = 1
Attributes

Remarks

The renderer is requesting a redraw. This can occur if there's an animation that's running in the RenderNode tree and the hardware renderer is unable to self-animate.

If this is returned from syncAndDraw the expectation is that syncAndDraw will be called again on the next vsync signal.

Java documentation for android.graphics.HardwareRenderer.SYNC_REDRAW_REQUESTED.

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