harmony 鸿蒙OverlayModuleInfo

  • 2025-06-12
  • 浏览 (3)

OverlayModuleInfo

The OverlayModuleInfo module provides information about a module with the overlay feature. A third-party application can obtain such information through overlay.getOverlayModuleInfo.

NOTE

The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.

OverlayModuleInfo

System capability: SystemCapability.BundleManager.BundleFramework.Core

Name Type Read-Only Optional Description
bundleName string Yes No Bundle name of the application to which the module with the overlay feature belongs.
moduleName string Yes No Name of the module with the overlay feature.
targetModuleName string Yes No Name of the target module specified by the module with the overlay feature.
priority number Yes No Priority of the module with the overlay feature. The value is an integer ranging from 1 to 100. A larger value indicates a higher priority.
state number Yes No Whether the module with the overlay feature is disabled. The value 0 means that the module with the overlay feature is disabled, and 1 means the opposite.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ability Kit

harmony 鸿蒙AbilityAccessControl

harmony 鸿蒙AbilityBase

harmony 鸿蒙AbilityBase_Element

harmony 鸿蒙AbilityRuntime

harmony 鸿蒙bundle

harmony 鸿蒙OH_NativeBundle_ApplicationInfo

harmony 鸿蒙OH_NativeBundle_ElementName

harmony 鸿蒙ability_access_control.h

harmony 鸿蒙ability_base_common.h

0  赞