ScreenCaptureOptions
10/22/22Less than 1 minute
ScreenCaptureOptions
media_projection.ScreenCaptureOptions
Options for screen capture (virtual display / screenshot pipeline).
Table of contents
Properties
Properties
width
• Optional width: number
Capture width in pixels. Defaults to the screen width.
height
• Optional height: number
Capture height in pixels. Defaults to the screen height.
density
• Optional density: number
Logical density (dpi) for the virtual display. Defaults to the device density.
orientation
• Optional orientation: Orientation
Capture orientation. Default is Orientation.AUTO (follow device rotation).
virtualDisplayFlags
• Optional virtualDisplayFlags: number
Flags for the virtual display. See Android DisplayManager constants such as VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR.
