;
-
/**
* Called when the UIAbility is started in the specified process.
*
@@ -226,11 +215,8 @@ export default class AbilityStage {
* @since 9
*/
/**
- * Listens for changes in the system memory level status.
- * When the system detects low memory resources, it will proactively invoke this callback.
- * You can implement this callback to promptly release non-essential resources (such as cached data or temporary
- * objects) upon receiving a memory shortage event, thereby preventing the application process from being forcibly
- * terminated by the system.
+ * Called when the system has decided to adjust the memory level.
+ * For example, this API can be used when there is not enough memory to run as many background processes as possible.
*
* **NOTE**:
*
This API returns the result synchronously and does not support asynchronous callbacks.
diff --git a/api/@ohos.app.ability.abilityManager.d.ts b/api/@ohos.app.ability.abilityManager.d.ts
index 327e98bcf2e2037183fae89da753d760a9fec547..2fba7c42001e721a170e47e9450d7c0bb826b6a1 100644
--- a/api/@ohos.app.ability.abilityManager.d.ts
+++ b/api/@ohos.app.ability.abilityManager.d.ts
@@ -543,7 +543,8 @@ declare namespace abilityManager {
*
* @typedef { _AbilityRunningInfo }
* @syscap SystemCapability.Ability.AbilityRuntime.Core
- * @since 14
+ * @systemapi
+ * @since 9
*/
export type AbilityRunningInfo = _AbilityRunningInfo;
diff --git a/api/@ohos.app.ability.wantAgent.d.ts b/api/@ohos.app.ability.wantAgent.d.ts
index 75cace35f55af84ef33c4dd8a488c022810ae9ed..c8b63160d950dea180eefb0b8ff9760f885305be 100644
--- a/api/@ohos.app.ability.wantAgent.d.ts
+++ b/api/@ohos.app.ability.wantAgent.d.ts
@@ -27,6 +27,7 @@ import Context from './application/Context';
/**
* Provide the method obtain trigger, cancel, and compare and to obtain
* the bundle name, UID of an WantAgent object.
+ * the bundle name, UID of an WantAgent object.
*
* @namespace wantAgent
* @syscap SystemCapability.Ability.AbilityRuntime.Core
@@ -34,7 +35,7 @@ import Context from './application/Context';
*/
/**
* app.ability.WantAgent is a class that encapsulates a {@link Want} object and allows the application to execute the
- * Want at a future time point. The module provides APIs for creating and comparing WantAgent objects, and obtaining
+ * Want at a future time point.The module provides APIs for creating and comparing WantAgent objects, and obtaining
* the user ID and bundle name of a WantAgent object.
*
* A typical use scenario of WantAgent is notification processing. For example, when a user touches a notification,
@@ -563,7 +564,7 @@ declare namespace wantAgent {
* @since 9
*/
/**
- * Extra information of the existing WantAgent object is replaced with that of the new object.
+ * Extra information of the existing WantAgent object is replaced with that of the new object.
*
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @atomicservice
diff --git a/api/@ohos.enterprise.bluetoothManager.d.ts b/api/@ohos.enterprise.bluetoothManager.d.ts
index 4659ee3f9b3731b8ab52e95a6db03078e76bbe4f..8e357cab22d5eec596f07bf5608755078a78a542 100644
--- a/api/@ohos.enterprise.bluetoothManager.d.ts
+++ b/api/@ohos.enterprise.bluetoothManager.d.ts
@@ -225,60 +225,6 @@ declare namespace bluetoothManager {
* @since 20
*/
function turnOffBluetooth(admin: Want): void;
-
- /**
- * Adds devices to the list of bluetooth devices that are disallowed to be connected.
- * This function can be called by a super administrator.
- *
- * @permission ohos.permission.ENTERPRISE_MANAGE_BLUETOOTH
- * @param { Want } admin - admin indicates the enterprise admin extension ability information.
- * The admin must have the corresponding permission.
- * @param { Array } deviceIds - IDs of the bluetooth devices to be added to the list.
- * The size of the array after setting cannot be greater than 1000.
- * @throws { BusinessError } 9200001 - The application is not an administrator application of the device.
- * @throws { BusinessError } 9200002 - The administrator application does not have permission to manage the device.
- * @throws { BusinessError } 9200010 - A conflict policy has been configured.
- * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.
- * @syscap SystemCapability.Customization.EnterpriseDeviceManager
- * @stagemodelonly
- * @since 20
- */
- function addDisallowedBluetoothDevices(admin: Want, deviceIds: Array): void;
-
- /**
- * Removes devices from the list of bluetooth devices that are disallowed to be connected.
- * This function can be called by a super administrator.
- *
- * @permission ohos.permission.ENTERPRISE_MANAGE_BLUETOOTH
- * @param { Want } admin - admin indicates the enterprise admin extension ability information.
- * The admin must have the corresponding permission.
- * @param { Array } deviceIds - IDs of the bluetooth devices to be removed from the list.
- * The size of the array after setting cannot be greater than 1000.
- * @throws { BusinessError } 9200001 - The application is not an administrator application of the device.
- * @throws { BusinessError } 9200002 - The administrator application does not have permission to manage the device.
- * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.
- * @syscap SystemCapability.Customization.EnterpriseDeviceManager
- * @stagemodelonly
- * @since 20
- */
- function removeDisallowedBluetoothDevices(admin: Want, deviceIds: Array): void;
-
- /**
- * Gets the devices in the list of bluetooth devices that are disallowed to be connected.
- * This function can be called by a super administrator.
- *
- * @permission ohos.permission.ENTERPRISE_MANAGE_BLUETOOTH
- * @param { Want } admin - admin indicates the enterprise admin extension ability information.
- * If the admin is not empty, it must have the corresponding permission.
- * @returns { Array } IDs of the bluetooth devices in the list.
- * @throws { BusinessError } 9200001 - The application is not an administrator application of the device.
- * @throws { BusinessError } 9200002 - The administrator application does not have permission to manage the device.
- * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.
- * @syscap SystemCapability.Customization.EnterpriseDeviceManager
- * @stagemodelonly
- * @since 20
- */
- function getDisallowedBluetoothDevices(admin: Want): Array;
}
export default bluetoothManager;
diff --git a/api/@ohos.graphics.drawing.d.ts b/api/@ohos.graphics.drawing.d.ts
index 5ef649ba82530fc15b67e8b844d81ea8a2f12fc7..4b5ea2c1e5a86413de5260f7b9fdaba3530c4437 100644
--- a/api/@ohos.graphics.drawing.d.ts
+++ b/api/@ohos.graphics.drawing.d.ts
@@ -3582,6 +3582,7 @@ declare namespace drawing {
/**
* Enables anti-aliasing for this pen. Anti-aliasing makes the edges of the content smoother.
+ * If this API is not called, anti-aliasing is disabled by default.
*
* @param { boolean } aa - Whether to enable anti-aliasing. The value true means to enable anti-aliasing, and false means the opposite.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified;
diff --git a/api/@ohos.graphics.text.d.ts b/api/@ohos.graphics.text.d.ts
index cdbb910aecb988589eb8173c3c2280bd1a7fed39..5ef412c6c7328003d0ef1c6289b46cc658e77902 100755
--- a/api/@ohos.graphics.text.d.ts
+++ b/api/@ohos.graphics.text.d.ts
@@ -1152,14 +1152,6 @@ declare namespace text {
* @since 20
*/
trailingSpaceOptimized?: boolean;
-
- /**
- * Whether to enable automatic spacing between Chinese and English for paragraph.
- * @type { ?boolean }
- * @syscap SystemCapability.Graphics.Drawing
- * @since 20
- */
- autoSpace?: boolean;
}
/**
diff --git a/api/@ohos.multimedia.audio.d.ts b/api/@ohos.multimedia.audio.d.ts
index c9aea692a374fcc5c9bb48da72daec220dfde780..1c3523a64bcb5c706a1b8d6497d80965c834a5bb 100644
--- a/api/@ohos.multimedia.audio.d.ts
+++ b/api/@ohos.multimedia.audio.d.ts
@@ -4827,30 +4827,25 @@ declare namespace audio {
off(type: 'appVolumeChange', callback?: Callback): void;
/**
- * Subscribes to active volume type changes.
+ * Listens for active volume type change events. This method uses a callback to get active volume type.
* @param { 'activeVolumeTypeChange' } type - Type of the event to listen for.
* Only the activeVolumeTypeChange event is supported.
- * @param { Callback } callback - Callback used to return the active volume type.
+ * @param { Callback } callback - Callback used to get active volume type.
* @throws { BusinessError } 202 - Not system App.
- * @throws { BusinessError } 6800101 - Parameter verification failed.
* @syscap SystemCapability.Multimedia.Audio.Volume
- * @systemapi
* @since 20
*/
on(type: 'activeVolumeTypeChange', callback: Callback): void;
/**
- * Unsubscribes from active volume type changes.
- * @param { 'activeVolumeTypeChange' } type - Type of the event to unregister.
+ * Unsubscribes to the active volume type change events.
+ * @param { 'activeVolumeTypeChange' } type - Type of the event to be unregistered.
* Only the activeVolumeTypeChange event is supported.
- * @param { Callback } callback - Callback used to return the active volume type.
* @throws { BusinessError } 202 - Not system App.
- * @throws { BusinessError } 6800101 - Parameter verification failed.
* @syscap SystemCapability.Multimedia.Audio.Volume
- * @systemapi
* @since 20
*/
- off(type: 'activeVolumeTypeChange', callback?: Callback): void;
+ off(type: 'activeVolumeTypeChange'): void;
}
/**
diff --git a/api/@ohos.multimedia.camera.d.ts b/api/@ohos.multimedia.camera.d.ts
index 89c9a7c5f4fe9a50e3f54e4de6dae11f5ccf74f8..7c1a3e2367a2ff4a2bd869054800222fec647648 100644
--- a/api/@ohos.multimedia.camera.d.ts
+++ b/api/@ohos.multimedia.camera.d.ts
@@ -103,6 +103,13 @@ declare namespace camera {
* @atomicservice
* @since 19
*/
+ /**
+ * Disappear status.
+ *
+ * @syscap SystemCapability.Multimedia.Camera.Core
+ * @atomicservice
+ * @since 19
+ */
CAMERA_STATUS_DISAPPEAR = 1,
/**
@@ -234,7 +241,7 @@ declare namespace camera {
readonly format: CameraFormat;
/**
- * Picture size.
+ * Resolution. The settings are the width and height of the camera's resolution, not the width and height of the actual output image.
*
* @type { Size }
* @readonly
@@ -327,7 +334,7 @@ declare namespace camera {
*/
interface VideoProfile extends Profile {
/**
- * Frame rate in unit fps (frames per second).
+ * Frame rate range, in fps (frames per second).
*
* @type { FrameRateRange }
* @readonly
@@ -778,7 +785,7 @@ declare namespace camera {
}
/**
- * Camera manager object.
+ * Camera Manager class, you need to get the camera manager instance through getCameraManager interface before using it.
*
* @interface CameraManager
* @syscap SystemCapability.Multimedia.Camera.Core
@@ -794,7 +801,7 @@ declare namespace camera {
*/
interface CameraManager {
/**
- * Gets supported camera descriptions.
+ * Get the supported camera device objects and return the results synchronously.
*
* @returns { Array } An array of supported cameras.
* @syscap SystemCapability.Multimedia.Camera.Core
@@ -811,7 +818,7 @@ declare namespace camera {
getSupportedCameras(): Array;
/**
- * Gets supported output capability for specific camera.
+ * Queries the output capability supported by the camera device in the specified mode and returns the result synchronously.
*
* @param { CameraDevice } camera - Camera device.
* @returns { CameraOutputCapability } The camera output capability.
@@ -863,7 +870,7 @@ declare namespace camera {
getSupportedOutputCapability(camera: CameraDevice, mode: SceneMode): CameraOutputCapability;
/**
- * Determine whether camera is muted.
+ * Queries whether the current camera is muted.
*
* @returns { boolean } Is camera muted.
* @syscap SystemCapability.Multimedia.Camera.Core
@@ -937,10 +944,15 @@ declare namespace camera {
*/
/**
* Creates a CameraInput instance by camera.
+ *
+ * Before using this interface, first through the getSupportedCameras interface to query the current list of camera devices supported by the device,
+ * the developer needs to be based on specific scenarios to choose the camera device that meets the needs of the developer,
+ * and then use this interface to create a CameraInput instance.
*
* @permission ohos.permission.CAMERA
* @param { CameraDevice } camera - Camera device used to create the instance.
- * @returns { CameraInput } The CameraInput instance.
+ * @returns { CameraInput } Returns a CameraInput instance.
+ * Failure of an interface call returns the corresponding error code, which is of type CameraErrorCode.
* @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect.
* @throws { BusinessError } 7400102 - Operation not allowed.
* @throws { BusinessError } 7400201 - Camera service fatal error.
@@ -975,11 +987,17 @@ declare namespace camera {
*/
/**
* Creates a CameraInput instance by camera position and type.
+ *
+ * Before using this interface, the developer needs to specify the position and type of the camera according to the application's specific usage scenarios,
+ * for example, to open the front camera to enter the self-timer function.
*
* @permission ohos.permission.CAMERA
- * @param { CameraPosition } position - Target camera position.
- * @param { CameraType } type - Target camera type.
- * @returns { CameraInput } The CameraInput instance.
+ * @param { CameraPosition } position - Camera position, first get the supported camera device objects through the getSupportedCameras interface,
+ * and then get the device position information based on the returned camera device objects.
+ * @param { CameraType } type - camera type, first get the supported camera device object through the getSupportedCameras interface,
+ * then get the device type information based on the returned camera device object.
+ * @returns { CameraInput } Returns a CameraInput instance. Failure of an interface call returns the corresponding error code,
+ * which is of type CameraErrorCode.
* @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect.
* @throws { BusinessError } 7400102 - Operation not allowed.
* @throws { BusinessError } 7400201 - Camera service fatal error.
@@ -1242,8 +1260,9 @@ declare namespace camera {
/**
* Gets a Session instance by specific scene mode.
*
- * @param { SceneMode } mode - Scene mode.
- * @returns { T } The specific Session instance by specific scene mode.
+ * @param { SceneMode } mode - The modes supported by the camera. If the passed parameters are abnormal (e.g. out of range, passed null or undefined, etc.),
+ * the actual interface will not take effect.
+ * @returns { T } Session instance. Failure of an interface call returns the appropriate error code, which is of type CameraErrorCode.
* @throws { BusinessError } 401 - Parameter error. Possible causes:
* 1. Mandatory parameters are left unspecified; 2. Incorrect parameter types;
* 3. Parameter verification failed.
@@ -1351,7 +1370,7 @@ declare namespace camera {
off(type: 'cameraStatus', callback?: AsyncCallback): void;
/**
- * Subscribes fold status change event callback.
+ * Registers a listener for folding device fold state changes. Use callback asynchronous callback.
*
* @param { 'foldStatusChanged' } type - Event type.
* @param { AsyncCallback } callback - Callback used to get the fold status change.
@@ -1717,7 +1736,7 @@ declare namespace camera {
readonly isTorchAvailable: boolean;
/**
- * is torch active
+ * Whether the flashlight is activated or not. True means the flashlight is activated, false means the flashlight is not activated.
*
* @type { boolean }
* @readonly
@@ -1736,7 +1755,7 @@ declare namespace camera {
readonly isTorchActive: boolean;
/**
- * the current torch brightness level.
+ * Flashlight brightness level, value range is [0,1], the closer to 1, the brighter it is.
*
* @type { number }
* @readonly
@@ -1818,7 +1837,7 @@ declare namespace camera {
}
/**
- * Camera status info.
+ * An instance of the interface returned by the camera manager's callback that represents camera state information.
*
* @typedef CameraStatusInfo
* @syscap SystemCapability.Multimedia.Camera.Core
@@ -2263,7 +2282,7 @@ declare namespace camera {
*/
interface CameraDevice {
/**
- * Camera id attribute.
+ * Camera ID attribute.
*
* @type { string }
* @readonly
@@ -2395,7 +2414,7 @@ declare namespace camera {
readonly hostDeviceType: HostDeviceType;
/**
- * Camera sensor orientation attribute.
+ * The camera mounting angle, which does not change with screen rotation, takes values from 0° to 360° in degrees.
*
* @type { number }
* @readonly
@@ -2477,7 +2496,7 @@ declare namespace camera {
}
/**
- * Point parameter.
+ * Point coordinates are used for focus and exposure configuration.
*
* @typedef Point
* @syscap SystemCapability.Multimedia.Camera.Core
@@ -2594,7 +2613,8 @@ declare namespace camera {
/**
* Open camera.
*
- * @param { boolean } isSecureEnabled - Enable secure camera.
+ * @param { boolean } isSecureEnabled - Setting true enables the camera to be opened in a safe way,
+ * setting false does the opposite. Failure of an interface call returns an error code of type CameraErrorCode.
* @returns { Promise } Promise used to return the result.
* @throws { BusinessError } 7400107 - Can not use camera cause of conflict.
* @throws { BusinessError } 7400108 - Camera disabled cause of security reason.
@@ -3421,7 +3441,7 @@ declare namespace camera {
EXPOSURE_MODE_LOCKED = 0,
/**
- * Auto exposure mode.
+ * Auto exposure mode. Support exposure area center point setting, you can use AutoExposure.setMeteringPoint to set the exposure area center point.
*
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 10
@@ -3523,7 +3543,7 @@ declare namespace camera {
* @since 11
*/
/**
- * Checks whether a specified exposure mode is supported.
+ * Check if the exposure mode is supported.
* Move to AutoExposureQuery interface from AutoExposure interface since 12.
*
* @param { ExposureMode } aeMode - Exposure mode
@@ -4173,7 +4193,7 @@ declare namespace camera {
/**
* Gets current focus point.
*
- * @returns { Point } The current focus point.
+ * @returns { Point } Used to get the current focus. Failure of the interface call will return the corresponding error code, which is of type CameraErrorCode.
* @throws { BusinessError } 7400103 - Session not config.
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 11
@@ -4916,7 +4936,7 @@ declare namespace camera {
HIGH = 3,
/**
- * Camera HDF can select mode automatically.
+ * Selection of the stabilization algorithm is performed automatically.
*
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 10
@@ -6591,7 +6611,11 @@ declare namespace camera {
getMeteringPoint(): Point;
/**
- * Set the center point of the metering area.
+ * Set the center point of the exposure area, the exposure point should be located in the 0-1 coordinate system,
+ * which is {0, 0} in the upper left corner and {1, 1} in the lower right corner.
+ * This coordinate system is based on the horizontal device orientation when the device charging port is on the right side,
+ * e.g. the preview interface layout of an application is based on the vertical direction when the device charging port is on the lower side,
+ * the layout width and height is {w, h}, and the touch point is {x, y}.Then the transformed coordinate point is {y/h, 1-x/w}.
*
* @param { Point } point - metering point
* @throws { BusinessError } 7400103 - Session not config.
@@ -6627,7 +6651,7 @@ declare namespace camera {
setExposureBias(exposureBias: number): void;
/**
- * Query the exposure value.
+ * Query the current exposure value.
*
* @returns { number } The exposure value.
* @throws { BusinessError } 7400103 - Session not config.
@@ -6639,7 +6663,7 @@ declare namespace camera {
getExposureValue(): number;
/**
- * Checks whether a specified focus mode is supported.
+ * Queries whether a specified focus mode is supported.
*
* @param { FocusMode } afMode - Focus mode.
* @returns { boolean } Is the focus mode supported.
@@ -7243,7 +7267,7 @@ declare namespace camera {
* @since 11
*/
/**
- * Photo session object.
+ * The Normal Photo Mode session category provides operations for flash, exposure, focus, zoom, and color space.
* @extends Session, Flash, AutoExposure, Focus, Zoom, ColorManagement, AutoDeviceSwitch
* @interface PhotoSession
* @syscap SystemCapability.Multimedia.Camera.Core
@@ -9747,7 +9771,7 @@ declare namespace camera {
*/
interface SecureSession extends Session, Flash, AutoExposure, Focus, Zoom {
/**
- * Add Secure output for camera.
+ * Marks one of the PreviewOutputs as safe.
*
* @param { PreviewOutput } previewOutput - Specify the output as a secure flow.
* @throws { BusinessError } 7400101 - Parameter missing or parameter type incorrect.
@@ -10554,6 +10578,7 @@ declare namespace camera {
/**
* Set a frame rate range.
+ * The supported frame rate range can be queried via the getSupportedFrameRates interface before setting.
*
* @param { number } minFps - Minimum frame rate per second.
* @param { number } maxFps - Maximum frame rate per second.
@@ -10577,7 +10602,8 @@ declare namespace camera {
/**
* Get active frame rate range which has been set before.
- *
+ * Queryable after setting the frame rate for the preview stream using the setFrameRate interface.
+ *
* @returns { FrameRateRange } The active frame rate range.
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 12
@@ -11313,7 +11339,7 @@ declare namespace camera {
*/
enum VideoCodecType {
/**
- * Codec type AVC.
+ * Video encoding type AVC.
*
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 13
@@ -11328,7 +11354,7 @@ declare namespace camera {
AVC = 0,
/**
- * Codec type HEVC.
+ * Video encoding type HEVC.
*
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 13
@@ -11719,7 +11745,7 @@ declare namespace camera {
on(type: 'photoAssetAvailable', callback: AsyncCallback): void;
/**
- * Unsubscribes photo asset event callback.
+ * Log out of photoAsset reporting.
*
* @param { 'photoAssetAvailable' } type - Event type.
* @param { AsyncCallback } callback - Callback used to get the asset.
@@ -11790,7 +11816,7 @@ declare namespace camera {
on(type: 'captureStart', callback: AsyncCallback): void;
/**
- * Unsubscribes from capture start event callback.
+ * Logs off the listening for the start of the photo shoot.
*
* @param { 'captureStart' } type - Event type.
* @param { AsyncCallback } callback - Callback used to get the capture ID.
@@ -11918,7 +11944,8 @@ declare namespace camera {
/**
* Subscribes capture end event callback.
*
- * @param { 'captureEnd' } type - Event type.
+ * @param { 'captureEnd' } type - Listen to the event, fixed to 'captureEnd', when photoOutput is created successfully.
+ * This event can be triggered when the photoOutput is created successfully.
* @param { AsyncCallback } callback - Callback used to get the capture end information.
* @syscap SystemCapability.Multimedia.Camera.Core
* @since 10
@@ -12917,7 +12944,7 @@ declare namespace camera {
on(type: 'frameStart', callback: AsyncCallback): void;
/**
- * Unsubscribes from frame start event callback.
+ * Logs off the preview frame startup listener.
*
* @param { 'frameStart' } type - Event type.
* @param { AsyncCallback } callback - Callback used to return the result.
diff --git a/api/@ohos.multimedia.cameraPicker.d.ts b/api/@ohos.multimedia.cameraPicker.d.ts
index 0aaf06ab634d729c45695e09af149d08f537c456..f60fabc36293c9d1de638586522212038ac4020c 100644
--- a/api/@ohos.multimedia.cameraPicker.d.ts
+++ b/api/@ohos.multimedia.cameraPicker.d.ts
@@ -224,12 +224,12 @@ declare namespace cameraPicker {
* @since 11
*/
/**
- * Pick function to get a photo or video result.
+ * Launch the camera picker and configure it to photo or video mode base on the incoming media type. The photo or video result will be returned via a Promise upon completion of the operation.
*
* @param { Context } context - From UIExtensionAbility.
* @param { Array } mediaTypes - Pick media type.
* @param { PickerProfile } pickerProfile - Picker input Profile.
- * @returns { Promise } pick result.
+ * @returns { Promise } Get the result of the camera picker's processing using the Promise method. The return value is PickerResult.
* @syscap SystemCapability.Multimedia.Camera.Core
* @atomicservice
* @since 12
diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts
index 64697bf34d8b341a083aa6d1cb5f8229456e0a84..867cb99ee3971631eaff69cbe861f56fde9cac96 100644
--- a/api/@ohos.window.d.ts
+++ b/api/@ohos.window.d.ts
@@ -598,8 +598,8 @@ declare namespace window {
*
* @enum { number }
* @syscap SystemCapability.Window.SessionManager
- * @crossplatform
* @atomicservice
+ * @crossplatform
* @since 20
*/
enum WindowStatusType {
@@ -1580,7 +1580,7 @@ declare namespace window {
*
* @type { WindowStatusType }
* @syscap SystemCapability.Window.SessionManager
- * @crossplatform
+ * @crossPlatform
* @since 20
*/
windowStatusType: WindowStatusType;
@@ -4710,6 +4710,16 @@ declare namespace window {
* @atomicservice
* @since 11
*/
+ /**
+ * Destroy the window.
+ *
+ * @param { AsyncCallback } callback - Callback used to return the result.
+ * @throws { BusinessError } 1300002 - This window state is abnormal.
+ * @syscap SystemCapability.WindowManager.WindowManager.Core
+ * @crossplatform
+ * @atomicservice
+ * @since 11
+ */
destroyWindow(callback: AsyncCallback): void;
/**
@@ -8135,8 +8145,8 @@ declare namespace window {
* 2. Incorrect parameter types.
* @throws { BusinessError } 1300002 - This window state is abnormal.
* @syscap SystemCapability.WindowManager.WindowManager.Core
- * @crossplatform
* @atomicservice
+ * @crossplatform
* @since 20
*/
setWindowPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback): void;
diff --git a/api/application/ApplicationContext.d.ts b/api/application/ApplicationContext.d.ts
index e43a2c4eb47e1763e06fb637b6e70c9f61f5ef4b..802d51432a1cad275609ac1a7b2ec5d7e67949c0 100644
--- a/api/application/ApplicationContext.d.ts
+++ b/api/application/ApplicationContext.d.ts
@@ -45,6 +45,8 @@ import Want from '../@ohos.app.ability.Want';
* @since 10
*/
/**
+ * The ApplicationContext module, inherited from Context, provides application-level context capabilities, including
+ * APIs for registering and unregistering the lifecycle of application components.
* The ApplicationContext module, inherited from Context, provides application-level context capabilities, including
* APIs for registering and unregistering the lifecycle of application components.
*
@@ -716,7 +718,7 @@ export default class ApplicationContext extends Context {
*
This API can be called only by the main thread.
*
*
- * @param { string } font - Font, which can be registered by calling UIContext.registerFont.
+ * @param { string } font - Font, which can be registered by calling {@link font.registerFont}.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified.
* 2.Incorrect parameter types.
* @throws { BusinessError } 16000011 - The context does not exist.
@@ -732,7 +734,7 @@ export default class ApplicationContext extends Context {
*
* @returns { number } Index of the current application clone.
* @throws { BusinessError } 16000011 - The context does not exist.
- * @throws { BusinessError } 16000071 - App clone is not supported.
+ * @throws { BusinessError } 16000071 - The MultiAppMode is not APP_CLONE.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @stagemodelonly
* @atomicservice
diff --git a/api/application/Context.d.ts b/api/application/Context.d.ts
index b6a716927e1eac893e677dc2367a56e0ba45b223..05e47e288bfa1ac50429821f0d1c8c606b2435f0 100644
--- a/api/application/Context.d.ts
+++ b/api/application/Context.d.ts
@@ -47,7 +47,7 @@ import contextConstant from '../@ohos.app.ability.contextConstant';
*/
/**
* The Context module, inherited frome {@link BaseContext}, provides context for abilities or applications, including
- * access to application-specific resources.
+ * accessto application-specific resources.
*
* @extends BaseContext
* @syscap SystemCapability.Ability.AbilityRuntime.Core
@@ -489,14 +489,16 @@ export default class Context extends BaseContext {
createModuleContext(bundleName: string, moduleName: string): Context;
/**
- * This API allows OEM manufacturers to set up their own ResourceManager in the pre-installed system HSP.
+ * Creates a resource manager object for a module of the system-level HSP.
*
* @param { string } bundleName - Bundle name.
* @param { string } moduleName - Module name.
+ * @param { string } bundleName - Bundle name.
+ * @param { string } moduleName - Module name.
* @returns { resmgr.ResourceManager } Returns the system HSP module resource manager.
* @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified.
* 2.Incorrect parameter types.
- * @throws { BusinessError } 16400001 - The input bundleName is not a system HSP.
+ * @throws { BusinessError } 16400001 - If the input bundleName is not system hsp.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi
* @stagemodelonly
@@ -527,6 +529,8 @@ export default class Context extends BaseContext {
* Obtains the context of this application.
*
* @returns { ApplicationContext } Application context obtained.
+ * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified.
+ * 2.Incorrect parameter types.
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @stagemodelonly
* @crossplatform
diff --git a/kits/@kit.ArkGraphics3D.d.ts b/kits/@kit.ArkGraphics3D.d.ts
index 5d9966069ecf2f110c3502d47fa88f0effa42446..af80e54e8dfc6693e9cfd7d4e1bfd8f13ffe980c 100644
--- a/kits/@kit.ArkGraphics3D.d.ts
+++ b/kits/@kit.ArkGraphics3D.d.ts
@@ -25,7 +25,7 @@ import { ToneMappingType, ToneMappingSettings, PostProcessSettings, BloomSetting
SubMesh, Mesh, Animation, EnvironmentBackgroundType, Environment, Image, MeshResource,
LayerMask, NodeType, Container, Node, Geometry, LightType, Light, SpotLight, DirectionalLight, Camera,
SceneResourceParameters, SceneNodeParameters, SceneResourceFactory, Scene, RenderParameters,
- RaycastResult, RaycastParameters, CullMode, Blend, RenderSort, MaterialProperty, MetallicRoughnessMaterial,
+ RaycastResult, RaycastParameters, CullMode, Blend, RenderSort, MaterialProperty, MetalicRoughnessMaterial,
Morpher, Sampler, SamplerFilter, SamplerAddressMode, RenderResourceFactory, SceneComponent, RenderContext } from '@ohos.graphics.scene';
export { ToneMappingType, ToneMappingSettings, PostProcessSettings, BloomSettings,
@@ -35,5 +35,5 @@ export { ToneMappingType, ToneMappingSettings, PostProcessSettings, BloomSetting
SubMesh, Mesh, Animation, EnvironmentBackgroundType, Environment, Image, MeshResource,
LayerMask, NodeType, Container, Node, Geometry, LightType, Light, SpotLight, DirectionalLight, Camera,
SceneResourceParameters, SceneNodeParameters, SceneResourceFactory, Scene, RenderParameters,
- RaycastResult, RaycastParameters, CullMode, Blend, RenderSort, MaterialProperty, MetallicRoughnessMaterial,
+ RaycastResult, RaycastParameters, CullMode, Blend, RenderSort, MaterialProperty, MetalicRoughnessMaterial,
Morpher, Sampler, SamplerFilter, SamplerAddressMode, RenderResourceFactory, SceneComponent, RenderContext };