Display.PresentationDeadlineNanos プロパティ

定義

これは、特定の時点でプレゼンテーションのためにバッファーをキューに入れておく必要がある距離です。

public virtual long PresentationDeadlineNanos { [Android.Runtime.Register("getPresentationDeadlineNanos", "()J", "GetGetPresentationDeadlineNanosHandler")] get; }
[<get: Android.Runtime.Register("getPresentationDeadlineNanos", "()J", "GetGetPresentationDeadlineNanosHandler")>]
member this.PresentationDeadlineNanos : int64

プロパティ値

属性

注釈

これは、特定の時点でプレゼンテーションのためにバッファーをキューに入れておく必要がある距離です。 N 時にバッファーを画面に表示する場合は、前にバッファーを送信する必要があります (N - presentationDeadline)。

GLES レンダリングに必要なプレゼンテーション時間は、 で android.opengl.EGLExt#eglPresentationTimeANDROID設定できます。 ビデオデコードの場合は、 を使用します android.media.MediaCodec#releaseOutputBuffer(int, long)。 時間は、システム単調クロック (System#nanoTime) を使用してナノ秒単位で表されます。

android.view.Display.getPresentationDeadlineNanos()Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象