diff --git a/api/@ohos.app.ability.kioskManager.d.ts b/api/@ohos.app.ability.kioskManager.d.ts index 2371d662819beabb06c95c324cbbb0cbdb7bea13..ff89da493f9d1780fe962a7f2ea96a2f0248066a 100644 --- a/api/@ohos.app.ability.kioskManager.d.ts +++ b/api/@ohos.app.ability.kioskManager.d.ts @@ -22,7 +22,7 @@ import UIAbilityContext from './application/UIAbilityContext'; import { KioskStatus as _KioskStatus } from './application/KioskStatus'; /** - * The class of kiosk manager. + * The class of Kiosk manager. * * @namespace kioskManager * @syscap SystemCapability.Ability.AbilityRuntime.Core @@ -32,14 +32,14 @@ import { KioskStatus as _KioskStatus } from './application/KioskStatus'; */ declare namespace kioskManager { /** - * Enter kiosk mode. + * Enter Kiosk mode. * - * @param { UIAbilityContext } context - The context that initiates to enter kiosk mode. + * @param { UIAbilityContext } context - The context that initiates to enter Kiosk mode. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 16000050 - Failed to connect to the system service. - * @throws { BusinessError } 16000110 - Current application is not in kiosk app list, can not enter kiosk mode. - * @throws { BusinessError } 16000111 - System is already in kiosk mode, can not enter again. + * @throws { BusinessError } 16000110 - The current application is not in Kiosk app list and cannot enter Kiosk mode. + * @throws { BusinessError } 16000111 - The system is already in Kiosk mode and cannot enter Kiosk mode again. * @throws { BusinessError } 16000113 - Current ability is not in foreground. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly @@ -49,14 +49,14 @@ declare namespace kioskManager { function enterKioskMode(context: UIAbilityContext): Promise; /** - * Exit kiosk mode. + * Exit Kiosk mode. * - * @param { UIAbilityContext } context - The context that initiates to exit kiosk mode. + * @param { UIAbilityContext } context - The context that initiates to exit Kiosk mode. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 16000050 - Failed to connect to the system service. - * @throws { BusinessError } 16000110 - Current application is not in kiosk app list, can not exit kiosk mode. - * @throws { BusinessError } 16000112 - Current application is not in kiosk mode, can not exit. + * @throws { BusinessError } 16000110 - The current application is not in Kiosk app list and cannot enter Kiosk mode. + * @throws { BusinessError } 16000112 - The current application is not in Kiosk mode and cannot exit Kiosk mode. * @syscap SystemCapability.Ability.AbilityRuntime.Core * @stagemodelonly * @since 20 @@ -65,9 +65,9 @@ declare namespace kioskManager { function exitKioskMode(context: UIAbilityContext): Promise; /** - * Get current kiosk status. + * Get current Kiosk status. * - * @returns { Promise } Current kiosk status. + * @returns { Promise } Current Kiosk status. * @throws { BusinessError } 202 - Not system application. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 16000050 - Failed to connect to the system service. @@ -80,7 +80,7 @@ declare namespace kioskManager { function getKioskStatus(): Promise; /** - * The kiosk status data. + * The Kiosk status data. * * @typedef { _KioskStatus } * @syscap SystemCapability.Ability.AbilityRuntime.Core diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index 472432ef211fee6d068ba57df25847dc5b67db45..b68b2cc11225f7d0ac01233b292fa70eb1576a70 100644 --- a/api/@ohos.commonEventManager.d.ts +++ b/api/@ohos.commonEventManager.d.ts @@ -2707,7 +2707,7 @@ declare namespace commonEventManager { COMMON_EVENT_SHORTCUT_CHANGED = 'usual.event.SHORTCUT_CHANGED', /** - * This common event means that kiosk mode is on. + * This common event means that Kiosk mode is on. * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent @@ -2717,7 +2717,7 @@ declare namespace commonEventManager { COMMON_EVENT_KIOSK_MODE_ON = 'usual.event.KIOSK_MODE_ON', /** - * This common event means that kiosk mode is off. + * This common event means that Kiosk mode is off. * This is a protected common event that can only be sent by system. * * @syscap SystemCapability.Notification.CommonEvent diff --git a/api/application/KioskStatus.d.ts b/api/application/KioskStatus.d.ts index 6d223313e1b797b04cc757bf8cfd87ccf6b96725..d7d7493727f3e7a5702fca3417b6dbf079ab2ccc 100644 --- a/api/application/KioskStatus.d.ts +++ b/api/application/KioskStatus.d.ts @@ -29,7 +29,7 @@ */ export interface KioskStatus { /** - * Whether current system is in kiosk mode. + * Whether current system is in Kiosk mode. * * @type { boolean } * @syscap SystemCapability.Ability.AbilityRuntime.Core @@ -40,7 +40,7 @@ export interface KioskStatus { isKioskMode: boolean; /** - * The bundle name of kiosk app. + * The bundle name of Kiosk app. * * @type { string } * @syscap SystemCapability.Ability.AbilityRuntime.Core @@ -51,7 +51,7 @@ export interface KioskStatus { kioskBundleName: string; /** - * The budle uid of kiosk app. + * The budle uid of Kiosk app. * * @type { number } * @syscap SystemCapability.Ability.AbilityRuntime.Core