Rate This Document
Findability
Accuracy
Completeness
Readability

density

Variable Description

Screen density.

Variable Data Definition

The value is of the uint32_t type and defaults to 320.

Restrictions

Property Field Name

Description

Value Range

Default Value

density

Screen density.

  • [120, 960]
  • 0: The adaptive resolution function is disabled.

320

  1. When the density property is set to 0, adaptive resolution is disabled. That is, when the video module is started, the existing rendering resolution and screen density of the cloud phone are used for rendering and stream output.
  2. When ro.vmi.video.wmcmd (an Android property) is set to 0, adaptive resolution is also disabled. That is, either this property or density is set to 0, adaptive resolution is disabled.