openharmony 鸿蒙 displaymanager-faqs

2026-08-25 浏览 (1)

Display Development FAQs

What Does the Orientation Value 4 of the Display Object Mean for a Virtual Screen?

Symptom

After obtaining the Display object of a virtual screen, the orientation value is 4, which is not within the Orientation enumeration range.

Possible Causes

A virtual screen has no physical screen and cannot perceive the screen orientation. If the screen orientation is not actively set, the system cannot return any value in the Orientation enumeration. In this case, the orientation property returns 4 to indicate that the screen orientation is unknown.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 virtualScreen-guideline-sys

openharmony 鸿蒙 Readme-EN

openharmony 鸿蒙 native-display-manager

openharmony 鸿蒙 displayManager-overview

openharmony 鸿蒙 display-terminology

openharmony 鸿蒙 screenProperty-guideline

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/05lviyJR