Idioma

HardwareRenderer.SyncLostSurfaceRewardIfFound Campo

Definição

Cuidado

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

O renderizador de hardware não tem mais um valor válido android.view.Surface para renderizar.

[Android.Runtime.Register("SYNC_LOST_SURFACE_REWARD_IF_FOUND", 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 SyncLostSurfaceRewardIfFound = 2;
[<Android.Runtime.Register("SYNC_LOST_SURFACE_REWARD_IF_FOUND", 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 SyncLostSurfaceRewardIfFound : Android.Graphics.Sync

Valor do campo

Value = 2
Atributos

Comentários

O renderizador de hardware não tem mais um valor válido android.view.Surface para renderizar. Isso pode acontecer se Surface#release() for chamado. O usuário não deve mais tentar chamar syncAndDraw até que uma nova superfície tenha sido fornecida chamando setSurface.

Spoiler: a recompensa é desenho acelerado por GPU, melhor descobrir que Surface!

Java documentação para android.graphics.HardwareRenderer.SYNC_LOST_SURFACE_REWARD_IF_FOUND.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a