語言

Display.FlagSupportsProtectedBuffers 欄位

定義

警告

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

顯示標誌:表示顯示支援儲存在受保護圖形緩衝區中的內容合成。

[Android.Runtime.Register("FLAG_SUPPORTS_PROTECTED_BUFFERS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.DisplayFlags enum directly instead of this field.", true)]
public const Android.Views.DisplayFlags FlagSupportsProtectedBuffers = 1;
[<Android.Runtime.Register("FLAG_SUPPORTS_PROTECTED_BUFFERS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.DisplayFlags enum directly instead of this field.", true)>]
val mutable FlagSupportsProtectedBuffers : Android.Views.DisplayFlags

欄位值

Value = 1
屬性

備註

顯示標誌:表示顯示支援儲存在受保護圖形緩衝區中的內容合成。

若設定此標誌,表示顯示裝置支援合成受保護緩衝區。

若未設定此標誌,顯示裝置可能不支援合成受保護緩衝區;使用者可能會在螢幕上看到空白區域,而非受保護的內容。

安全(DRM)視訊解碼器可分配受保護的圖形緩衝區,請求在視訊解碼器與外部顯示匯流器之間提供硬體保護路徑。 若硬體保護路徑不可用,則儲存在受保護圖形緩衝區中的內容可能無法進行合成。

應用程式可以利用此標誌的缺失作為提示,表示不應使用受保護緩衝區來顯示,因為內容可能無法被看見。 例如,若未設定旗標,應用程式可能會選擇不在此顯示器上顯示內容、顯示資訊錯誤訊息、選擇替代內容串流,或採用不依賴受保護緩衝區的其他解碼策略。

的 android.view.Display.FLAG_SUPPORTS_PROTECTED_BUFFERSJava 檔。

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

適用於

另請參閱