語言

HardwareRenderer.SyncRedrawRequested 欄位

定義

警告

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

渲染器正在要求重新繪製。

[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

欄位值

Value = 1
屬性

備註

渲染器正在要求重新繪製。 如果 RenderNode 樹中有動畫在執行,而硬體渲染器無法自我動畫,就可能發生這種情況。

如果 syncAndDraw 回傳此訊息,預期 syncAndDraw 會在下一個 vsync 訊號時再次呼叫。

Java 文件 android.graphics.HardwareRenderer.SYNC_REDRAW_REQUESTED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於