Språk

VirtualDisplayConfig.Builder.SetFlags(VirtualDisplayFlags) Method

Definition

Sets the virtual display flags, a combination of DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC, DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE, DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY, or DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR.

[Android.Runtime.Register("setFlags", "(I)Landroid/hardware/display/VirtualDisplayConfig$Builder;", "", ApiSince=34)]
public Android.Hardware.Display.VirtualDisplayConfig.Builder SetFlags(Android.Hardware.Display.VirtualDisplayFlags flags);
[<Android.Runtime.Register("setFlags", "(I)Landroid/hardware/display/VirtualDisplayConfig$Builder;", "", ApiSince=34)>]
member this.SetFlags : Android.Hardware.Display.VirtualDisplayFlags -> Android.Hardware.Display.VirtualDisplayConfig.Builder

Parameters

flags
VirtualDisplayFlags

Value is either 0 or a combination of the following: DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC; DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION; DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE; DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR

Returns

Attributes

Remarks

Sets the virtual display flags, a combination of DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC, DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE, DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY, or DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR.

Android reference for android.hardware.display.VirtualDisplayConfig.Builder.setFlags.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to