语言

DisplayManager.VirtualDisplayFlagPresentation 字段

定义

注意

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_PRESENTATION")]
[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 VirtualDisplayFlagPresentation = 2;
[<Android.Runtime.Register("VIRTUAL_DISPLAY_FLAG_PRESENTATION")>]
[<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 VirtualDisplayFlagPresentation : Android.Hardware.Display.VirtualDisplayFlags

字段值

Value = 2
特性

注解

虚拟显示标志:创建演示文稿显示。

<h3>演示文稿虚拟显示器</h3>

设置此标志后,虚拟显示器将注册为演示文稿显示。#DISPLAY_CATEGORY_PRESENTATION presentation display category 应用程序可以自动将其内容投影到演示文稿显示,以提供更丰富的第二个屏幕体验。

<h3>非演示虚拟显示器</h3>

如果未设置此标志,则虚拟显示器不会注册为演示文稿显示。 应用程序仍可以在显示器上投影其内容,但它们通常不会自动投影。 此选项适用于更特殊用途的显示。

Java文档android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅