DisplayManager.VirtualDisplayFlagOwnContentOnly 字段

定义

注意

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_OWN_CONTENT_ONLY")]
[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 VirtualDisplayFlagOwnContentOnly = 8;
[<Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY")>]
[<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 VirtualDisplayFlagOwnContentOnly : Android.Hardware.Display.VirtualDisplayFlags

字段值

Value = 8
属性

注解

虚拟显示标志:仅显示此显示器自己的内容;不要镜像另一个显示器的内容。

此标志与 #VIRTUAL_DISPLAY_FLAG_PUBLIC.. 如果默认显示器没有自己的窗口,通常公共虚拟显示器将自动镜像默认显示器的内容。 指定此标志后,虚拟显示将仅显示其自己的内容,如果它没有窗口,则会将其留空。

此标志是相互排斥的 #VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR。 如果同时指定了这两个标志,则仅应用自己的内容行为。

无论何时 #VIRTUAL_DISPLAY_FLAG_PUBLIC 均未设置或 #VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR 未设置此标志,此标志的行为都隐含。 仅当创建公共显示时,才需要此标志来替代默认行为。

适用于 . 的 android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLYJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

另请参阅

  • <xref:Android.Hardware.Display.DisplayManager.CreateVirtualDisplay(System.String%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32)>