DisplayManager.VirtualDisplayFlagAutoMirror 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Hardware.Display.VirtualDisplayFlags enum directly instead of this field.
虛擬顯示旗標:允許在沒有內容顯示時,將內容鏡像到私人顯示器上。
[Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Display.VirtualDisplayFlags enum directly instead of this field.", true)]
public const Android.Hardware.Display.VirtualDisplayFlags VirtualDisplayFlagAutoMirror = 16;
[<Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Display.VirtualDisplayFlags enum directly instead of this field.", true)>]
val mutable VirtualDisplayFlagAutoMirror : Android.Hardware.Display.VirtualDisplayFlags
欄位值
Value = 16- 屬性
備註
虛擬顯示旗標:允許在沒有內容顯示時,將內容鏡像到私人顯示器上。
此旗標與 #VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY互斥。 若同時指定兩個標誌,則會套用僅限 own-content 的行為。
此旗標的行為在 被設定#VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY與#VIRTUAL_DISPLAY_FLAG_PUBLIC未設定時皆可隱含。 此旗標僅用於在建立私有顯示時覆寫預設行為。
建立自動可觀的虛擬顯示需要CAPTURE_VIDEO_OUTPUT或CAPTURE_SECURE_VIDEO_OUTPUT的許可。 這些權限保留給系統元件使用,第三方應用程式無法使用。
或者,也可以使用適當的 MediaProjection 裝置來建立自動鏡像虛擬顯示器。
Java 文件 android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
另請參閱
- <xref:Android.Hardware.Display.DisplayManager.CreateVirtualDisplay(System.String%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32)>