Version: 1.6
LanguageEnglish
  • C#

OpenHarmony

class in UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

OpenHarmony specific player settings.

Static Properties

autoRotationBehaviorIndicate whether your application window rotates based on device orientation settings (User) or device orientation sensor (Sensor), when default orientation is Auto Rotation.
blitTypeChoose how content is drawn to the screen.
bundleVersionCodeOpenHarmony bundle version code.
compatibleSdkVersionThe minimum API level required for your application to run.
defaultWindowHeightOpenHarmony default window height.
defaultWindowWidthOpenHarmony default window width.
deviceTypesChoose the device types that are going to run the application.
forceInternetPermissionForce internet permission flag.
forceSDCardPermissionForce SD card permission.
fullscreenModeThe display mode for OpenHarmony Player builds of your application.
keyaliasNameOpenHarmony key alias name.
keyaliasPassOpenHarmony key alias password.
keystoreNameOpenHarmony keystore name.
keystorePassOpenHarmony keystore password.
logStartupTimingStartup time logging is the length of time that it takes an application to start up.
minimumWindowHeightThe minimum vertical size of the OpenHarmony Player window in pixels.
minimumWindowWidthThe minimum horizontal size of the OpenHarmony Player window in pixels.
openHarmonyAppIDOpenharmony DevEco project app identity.
openHarmonyCertificateOpenHarmony certificate.
openHarmonyClientIDOpenharmony DevEco project client identity.
openHarmonyEnableLowLatencyAudioSet OpenHarmony's low latency mode to fast or not.
openHarmonyLaunchImageSet startWindowIcon in module.json5.
openHarmonyPredefinedPermissionsPredefined permissions that will be written into module.json5 of openHarmony project directly.
openHarmonyProfileOpenHarmony profile.
openHarmonyUseTuanjieLogoUse Tuanjie Logo as startWindowIcon.
renderOutsideSafeAreaExtends rendering layout into display cutout area, utilizing all of the available screen space.
resizableWindowIndicates whether OpenHarmony Player build of your application support a resizable window.
splashScreenScaleOpenHarmony splash screen scale mode.
startInFullscreenStart in fullscreen mode.
supportWindowModesChoose the support window modes of the application.
targetArchitecturesA set of CPU architectures for the OpenHarmony build target.
useCustomKeystoreEnable application signing with a custom keystore.