): void;
diff --git a/api/@ohos.application.uriPermissionManager.d.ts b/api/@ohos.application.uriPermissionManager.d.ts
index ad3ad1de005f9e659a7abcc8fede62a2b9e1763d..37cd85441c8e8f9653759a09967c58e6a360c5be 100644
--- a/api/@ohos.application.uriPermissionManager.d.ts
+++ b/api/@ohos.application.uriPermissionManager.d.ts
@@ -20,7 +20,7 @@ import wantConstant from "./@ohos.ability.wantConstant";
* The management class for uri of file.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
*/
declare namespace uriPermissionManager {
@@ -28,7 +28,7 @@ declare namespace uriPermissionManager {
* Check whether the application corresponding to the accesstokenID has access rights to the URI.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param uri File URI.
* @param flag wantConstant.Flags.FLAG_AUTH_READ_URI_PERMISSION or wantConstant.Flags.FLAG_AUTH_WRITE_URI_PERMISSION
* @param accessTokenId Indicates the access token of the application.
diff --git a/api/@ohos.batteryinfo.d.ts b/api/@ohos.batteryinfo.d.ts
index a139929f6d85cb3fb8640a99e1fc7d45eabf1762..265f6c4df200eb99e4a13ab50a62bed94d4f0e87 100644
--- a/api/@ohos.batteryinfo.d.ts
+++ b/api/@ohos.batteryinfo.d.ts
@@ -19,7 +19,7 @@
* Battery information includes the remaining battery power,
* voltage, temperature, model, and charger type.
*
- * @sysCap SystemCapability.PowerManager.BatteryManage.Core
+ * @syscap SystemCapability.PowerManager.BatteryManage.Core
* @since 6
*/
declare namespace batteryInfo {
@@ -74,7 +74,7 @@ declare namespace batteryInfo {
/**
* Indicates the charger type of a device.
*
- * @sysCap SystemCapability.PowerManager.BatteryManage.Core
+ * @syscap SystemCapability.PowerManager.BatteryManage.Core
* @since 6
*/
export enum BatteryPluggedType {
@@ -103,7 +103,7 @@ declare namespace batteryInfo {
/**
* Indicates the battery charging status of a device.
*
- * @sysCap SystemCapability.PowerManager.BatteryManage.Core
+ * @syscap SystemCapability.PowerManager.BatteryManage.Core
* @since 6
*/
export enum BatteryChargeState {
@@ -132,7 +132,7 @@ declare namespace batteryInfo {
/**
* Indicates the battery health status of a device.
*
- * @sysCap SystemCapability.PowerManager.BatteryManage.Core
+ * @syscap SystemCapability.PowerManager.BatteryManage.Core
* @since 6
*/
export enum BatteryHealthState {
diff --git a/api/@ohos.brightness.d.ts b/api/@ohos.brightness.d.ts
index f12bc7a706745b47aa73eda3fb6a1c0ad3745153..49df7d11e85b81d59c854c76892b6271ac87497a 100644
--- a/api/@ohos.brightness.d.ts
+++ b/api/@ohos.brightness.d.ts
@@ -18,7 +18,7 @@ import { AsyncCallback } from './basic';
/**
* Provides interfaces to control the power of display.
*
- * @sysCap SystemCapability.PowerManager.DisplayPowerManager
+ * @syscap SystemCapability.PowerManager.DisplayPowerManager
* @since 7
*/
declare namespace brightness {
@@ -26,7 +26,7 @@ declare namespace brightness {
* Sets the screen brightness.
*
* @param value Brightness value, ranging from 0 to 255.
- * @sysCap SystemCapability.PowerManager.DisplayPowerManager
+ * @syscap SystemCapability.PowerManager.DisplayPowerManager
* @systemapi
* @since 7
*/
diff --git a/api/@ohos.configPolicy.d.ts b/api/@ohos.configPolicy.d.ts
index 32ef672ca08824e798623f0eccb68857b4f4b5f3..d12690c30faca84069c5fedcbef457ed789f20f1 100644
--- a/api/@ohos.configPolicy.d.ts
+++ b/api/@ohos.configPolicy.d.ts
@@ -19,7 +19,7 @@ import {AsyncCallback} from "./basic";
* Provides file path related APIS.
*
* @since 8
- * @sysCap SystemCapability.Customization.ConfigPolicy
+ * @syscap SystemCapability.Customization.ConfigPolicy
*/
declare namespace configPolicy {
/**
@@ -27,7 +27,7 @@ declare namespace configPolicy {
*
* @since 8
* @systemapi Hide this for inner system use.
- * @sysCap SystemCapability.Customization.ConfigPolicy
+ * @syscap SystemCapability.Customization.ConfigPolicy
* @param relPath the relative path of the config file.
* @return Returns the path of the highest priority config file.
*/
@@ -39,7 +39,7 @@ declare namespace configPolicy {
*
* @since 8
* @systemapi Hide this for inner system use.
- * @sysCap SystemCapability.Customization.ConfigPolicy
+ * @syscap SystemCapability.Customization.ConfigPolicy
* @param relPath the relative path of the config file.
* @return Returns paths of config files.
*/
@@ -51,7 +51,7 @@ declare namespace configPolicy {
*
* @since 8
* @systemapi Hide this for inner system use.
- * @sysCap SystemCapability.Customization.ConfigPolicy
+ * @syscap SystemCapability.Customization.ConfigPolicy
* @return Returns paths of config directories.
*/
function getCfgDirList(callback: AsyncCallback>);
diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts
index 18cca631741489f9a1ba67241cfafc5ef11ecdc4..8e91729a901cf1b776dfa7611728b7a507c71410 100644
--- a/api/@ohos.deviceInfo.d.ts
+++ b/api/@ohos.deviceInfo.d.ts
@@ -17,7 +17,7 @@
* A static class pertaining to the product information.
*
* @since 6
- * @Syscap SystemCapability.Startup.SysInfo
+ * @syscap SystemCapability.Startup.SysInfo
*/
declare namespace deviceInfo {
/**
diff --git a/api/@ohos.geolocation.d.ts b/api/@ohos.geolocation.d.ts
index ab24bda4c1ab7280efc24dab72d40430644ead96..b2105bc990ccfb31c2eed64fade404fdb7a3e72c 100644
--- a/api/@ohos.geolocation.d.ts
+++ b/api/@ohos.geolocation.d.ts
@@ -20,7 +20,7 @@ import WantAgent from '@ohos.wantAgent';
* and obtaining the location result cached by the system.
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @import import geolocation from '@ohos.geolocation'
* @permission ohos.permission.LOCATION
*/
@@ -29,7 +29,7 @@ declare namespace geolocation {
* subscribe location changed
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param request Indicates the location request parameters.
* @param callback Indicates the callback for reporting the location result.
@@ -40,7 +40,7 @@ declare namespace geolocation {
* unsubscribe location changed
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location result.
*/
@@ -50,7 +50,7 @@ declare namespace geolocation {
* subscribe location switch changed
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location result.
*/
@@ -60,7 +60,7 @@ declare namespace geolocation {
* unsubscribe location switch changed
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location result.
*/
@@ -70,7 +70,7 @@ declare namespace geolocation {
* subscribe to cache GNSS locations update messages
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param request Indicates the cached GNSS locations request parameters.
* @param callback Indicates the callback for reporting the cached GNSS locations.
@@ -81,7 +81,7 @@ declare namespace geolocation {
* unsubscribe to cache GNSS locations update messages
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the cached gnss locations.
*/
@@ -91,7 +91,7 @@ declare namespace geolocation {
* subscribe gnss status changed
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the gnss status change.
*/
@@ -101,7 +101,7 @@ declare namespace geolocation {
* unsubscribe gnss status changed
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the gnss status change.
*/
@@ -111,7 +111,7 @@ declare namespace geolocation {
* subscribe nmea message changed
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the nmea message.
*/
@@ -121,7 +121,7 @@ declare namespace geolocation {
* unsubscribe nmea message changed
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the nmea message.
*/
@@ -131,7 +131,7 @@ declare namespace geolocation {
* add a geofence and subscribe geo fence status changed
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Geofence
+ * @syscap SystemCapability.Location.Location.Geofence
* @permission ohos.permission.LOCATION
* @param request Indicates the Geo-fence configuration parameters.
* @param callback Indicates the callback for reporting the fence status.
@@ -142,7 +142,7 @@ declare namespace geolocation {
* remove a geofence and unsubscribe geo fence status changed
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Geofence
+ * @syscap SystemCapability.Location.Location.Geofence
* @permission ohos.permission.LOCATION
* @param request Indicates the Geo-fence configuration parameters.
* @param callback Indicates the callback for reporting the remove fence result.
@@ -153,7 +153,7 @@ declare namespace geolocation {
* obtain current location
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location result.
*/
@@ -165,7 +165,7 @@ declare namespace geolocation {
* obtain last known location
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location result.
*/
@@ -176,7 +176,7 @@ declare namespace geolocation {
* obtain current location switch status
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location switch result.
*/
@@ -187,7 +187,7 @@ declare namespace geolocation {
* request enable location
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location switch status.
*/
@@ -198,7 +198,7 @@ declare namespace geolocation {
* enable location switch
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @systemapi
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location switch result.
@@ -210,7 +210,7 @@ declare namespace geolocation {
* disable location switch
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @systemapi
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the location switch result.
@@ -222,7 +222,7 @@ declare namespace geolocation {
* obtain address info from location
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Geocoder
+ * @syscap SystemCapability.Location.Location.Geocoder
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the address info.
*/
@@ -233,7 +233,7 @@ declare namespace geolocation {
* obtain latitude and longitude info from location address
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Geocoder
+ * @syscap SystemCapability.Location.Location.Geocoder
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the latitude and longitude result.
*/
@@ -244,7 +244,7 @@ declare namespace geolocation {
* obtain geocode service status
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Geocoder
+ * @syscap SystemCapability.Location.Location.Geocoder
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the geocode service status.
*/
@@ -255,7 +255,7 @@ declare namespace geolocation {
* obtain the number of cached GNSS locations reported at a time
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the cached GNSS locations size.
*/
@@ -267,7 +267,7 @@ declare namespace geolocation {
* and the bottom-layer buffer is cleared.
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
* @param callback Indicates the callback for reporting the result.
*/
@@ -278,7 +278,7 @@ declare namespace geolocation {
* send extended commands to location subsystem.
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param command Indicates the extended Command Message Body,it is a JSON string.
* @param callback Indicates the callback for reporting the send command result.
@@ -290,7 +290,7 @@ declare namespace geolocation {
* satellite status information
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
*/
export interface SatelliteStatusInfo {
@@ -306,7 +306,7 @@ declare namespace geolocation {
* parameters for requesting to report cache location information
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Gnss
+ * @syscap SystemCapability.Location.Location.Gnss
* @permission ohos.permission.LOCATION
*/
export interface CachedGnssLoactionsRequest {
@@ -318,7 +318,7 @@ declare namespace geolocation {
* configuring parameters in geo fence requests
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Geofence
+ * @syscap SystemCapability.Location.Location.Geofence
* @permission ohos.permission.LOCATION
*/
export interface GeofenceRequest {
@@ -331,7 +331,7 @@ declare namespace geolocation {
* configuring parameters in geo fence requests
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Geofence
+ * @syscap SystemCapability.Location.Location.Geofence
* @permission ohos.permission.LOCATION
*/
export interface Geofence {
@@ -346,7 +346,7 @@ declare namespace geolocation {
*
* @since 8
* @systemapi
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param type indicates location privacy protocol type.
* @param callback indicates the callback for reporting the location privacy protocol confirmation status.
@@ -359,7 +359,7 @@ declare namespace geolocation {
*
* @since 8
* @systemapi
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
* @param type indicates location privacy protocol type.
* @param isConfirmed indicates whether the location privacy protocol has been confirmed.
@@ -372,7 +372,7 @@ declare namespace geolocation {
* configuring parameters in reverse geocode requests
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Geocoder
+ * @syscap SystemCapability.Location.Location.Geocoder
* @permission ohos.permission.LOCATION
*/
export interface ReverseGeoCodeRequest {
@@ -386,7 +386,7 @@ declare namespace geolocation {
* configuring parameters in geocode requests
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Geocoder
+ * @syscap SystemCapability.Location.Location.Geocoder
* @permission ohos.permission.LOCATION
*/
export interface GeoCodeRequest {
@@ -403,7 +403,7 @@ declare namespace geolocation {
* data struct describes geographic locations.
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Geocoder
+ * @syscap SystemCapability.Location.Location.Geocoder
* @permission ohos.permission.LOCATION
*/
export interface GeoAddress {
@@ -431,7 +431,7 @@ declare namespace geolocation {
* configuring parameters in location requests
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export interface LocationRequest {
@@ -446,7 +446,7 @@ declare namespace geolocation {
* configuring parameters in current location requests
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export interface CurrentLocationRequest {
@@ -460,7 +460,7 @@ declare namespace geolocation {
* provides information about geographic locations
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export interface Location {
@@ -480,7 +480,7 @@ declare namespace geolocation {
* enum for location priority
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export enum LocationRequestPriority {
@@ -494,7 +494,7 @@ declare namespace geolocation {
* enum for location scenario
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export enum LocationRequestScenario {
@@ -510,7 +510,7 @@ declare namespace geolocation {
* enum for error code
*
* @since 7
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export enum GeoLocationErrorCode {
@@ -527,7 +527,7 @@ declare namespace geolocation {
* enum for location privacy type
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export enum LocationPrivacyType {
@@ -540,7 +540,7 @@ declare namespace geolocation {
* Location subsystem command structure
*
* @since 8
- * @SysCap SystemCapability.Location.Location.Core
+ * @syscap SystemCapability.Location.Location.Core
* @permission ohos.permission.LOCATION
*/
export interface LocationCommand {
diff --git a/api/@ohos.i18n.d.ts b/api/@ohos.i18n.d.ts
index cec604281101c1f0c31084b969968bd8370d1153..b8dc57ffdc71da03f96bcd0d055c1b8c62438992 100644
--- a/api/@ohos.i18n.d.ts
+++ b/api/@ohos.i18n.d.ts
@@ -16,14 +16,14 @@
/**
* Provides international settings related APIs.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 7
*/
declare namespace i18n {
/**
* Obtains the country or region name localized for display on a given locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param country The locale whose country or region name will be displayed.
* @param locale The locale used to display the country or region.
* @param sentenceCase Specifies whether the country or region name is displayed in sentence case.
@@ -35,7 +35,7 @@ export function getDisplayCountry(country: string, locale: string, sentenceCase?
/**
* Obtains the language name localized for display on a given locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param language The locale whose language name will be displayed.
* @param locale The locale used to display the language.
* @param sentenceCase Specifies whether the language name is displayed in sentence case.
@@ -47,7 +47,7 @@ export function getDisplayLanguage(language: string, locale: string, sentenceCas
/**
* Obtain all languages supported by the system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns all languages supported by the system.
* @since 7
* @systemapi Hide this for inner system use.
@@ -57,7 +57,7 @@ export function getSystemLanguages(): Array;
/**
* Obtain all regions supported by the system in the language.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param language The language used to get the list of regions.
* @return Returns all regions supported by the system in the language.
* @since 7
@@ -68,7 +68,7 @@ export function getSystemCountries(language: string): Array;
/**
* Determine whether the current language or region is recommended.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param language The language code.
* @param region The region code.
* @return Returns whether the current language or region is recommended.
@@ -80,7 +80,7 @@ export function isSuggested(language: string, region?: string): boolean;
/**
* Obtain the language currently used by the system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the language currently used by the system.
* @since 7
*/
@@ -89,7 +89,7 @@ export function getSystemLanguage(): string;
/**
* Set the language currently used by the system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param language The language to be used.
* @since 7
* @systemapi Hide this for inner system use.
@@ -99,7 +99,7 @@ export function setSystemLanguage(language: string): boolean;
/**
* Obtain the region currently used by the system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the region currently used by the system.
* @since 7
*/
@@ -108,7 +108,7 @@ export function getSystemRegion(): string;
/**
* Set the region currently used by the system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param region The region to be used.
* @since 7
* @systemapi Hide this for inner system use.
@@ -118,7 +118,7 @@ export function setSystemRegion(region: string): boolean;
/**
* Obtain the locale currently used by the system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the locale currently used by the system.
* @since 7
*/
@@ -127,7 +127,7 @@ export function getSystemLocale(): string;
/**
* Set the locale currently used by the system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale The locale to be used.
* @since 7
* @systemapi Hide this for inner system use.
@@ -137,14 +137,14 @@ export function setSystemLocale(locale: string): boolean;
/**
* Provides util functions.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export interface Util {
/**
* Convert from unit to to unit and format according to the locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param fromUnit Information of the unit to be converted.
* @param toUnit Information about the unit to be converted to.
* @param value Indicates the number to be formatted.
@@ -158,7 +158,7 @@ export interface Util {
/**
* Provides the options of unit.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export interface UnitInfo {
@@ -176,7 +176,7 @@ export interface UnitInfo {
/**
* Provides the options of PhoneNumberFormat.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export interface PhoneNumberFormatOptions {
@@ -189,14 +189,14 @@ export interface PhoneNumberFormatOptions {
/**
* Provides the API for formatting phone number strings
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export class PhoneNumberFormat {
/**
* A constructor used to create a PhoneNumberFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param country Indicates a character string containing the country information for the PhoneNumberFormat object.
* @param type Indicates the type used to format the phone number, includes: "E164", "RFC3966", "INTERNATIONAL", "NATIONAL".
* @since 8
@@ -206,7 +206,7 @@ export class PhoneNumberFormat {
/**
* Judges whether phone number is valid.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param number Indicates the input phone number to be judged.
* @return Returns a boolean indicates whether the input phone number is valid.
* @since 8
@@ -216,7 +216,7 @@ export class PhoneNumberFormat {
/**
* Obtains the formatted phone number strings of number.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param number Indicates the input phone number to be formatted.
* @return Returns the formatted phone number.
* @since 8
@@ -227,7 +227,7 @@ export class PhoneNumberFormat {
/**
* Get a Calendar instance specified by locale and type.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale The locale used to get calendar.
* @param type If type is not specified, get locale's default Calendar, else get the specified type of Calendar.
* such as buddhist, chinese, coptic, ethiopic, hebrew, gregory, indian, islamic_civil, islamic_tbla, islamic_umalqura,
@@ -240,7 +240,7 @@ export class Calendar {
/**
* set the date.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param date Date object used to set the time and date.
* @since 8
*/
@@ -249,7 +249,7 @@ export class Calendar {
/**
* set the time.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param time Indicates the elapsed milliseconds from 1970.1.1 00:00:00 GMT.
* @since 8
*/
@@ -258,7 +258,7 @@ export class Calendar {
/**
* Set the time
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param year The year field of the calendar, ranges from 0 to 9999.
* @param month The month field of the calendar, ranges from 0 to 11.
* @param date The day field of the calendar, ranges from 1 to 31.
@@ -272,7 +272,7 @@ export class Calendar {
/**
* Set the timezone of this calendar.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param timezone The id of a timezone.
* @since 8
*/
@@ -281,7 +281,7 @@ export class Calendar {
/**
* Get the timezone id of this calendar instance.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the timezone id of this calendar.
* @since 8
*/
@@ -290,7 +290,7 @@ export class Calendar {
/**
* Get the start day of a week. 1 indicates Sunday, 7 indicates Saturday.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns start day of a week.
* @since 8
*/
@@ -299,7 +299,7 @@ export class Calendar {
/**
* Set the start day of a week. 1 indicates Sunday, 7 indicates Saturday.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param value Indicates the start day of a week. 1 indicates Sunday, 7 indicates Saturday.
* @since 8
*/
@@ -308,7 +308,7 @@ export class Calendar {
/**
* Get the minimal days of a week, which is needed for the first day of a year.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the minimal days of a week.
* @since 8
*/
@@ -317,7 +317,7 @@ export class Calendar {
/**
* Set the minimal days of a week, which is needed for the first week of a year.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param value The value to be set.
* @since 8
*/
@@ -326,7 +326,7 @@ export class Calendar {
/**
* Get the associated value with the field.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param field Field values such as era, year, month, week_of_year, week_of_month, date, day_of_year, day_of_week
* day_of_week_in_month, hour, hour_of_day, minute, second, millisecond, zone_offset, dst_offset, year_woy,
* dow_local, extended_year, julian_day, milliseconds_in_day, is_leap_month.
@@ -338,7 +338,7 @@ export class Calendar {
/**
* Get calendar's name localized for display in the given locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Locale used to get the localized name for this calendar.
* @return Returns the localized name of this calendar.
* @since 8
@@ -349,7 +349,7 @@ export class Calendar {
* Returns true if the given date is a weekend day. If the date is not given,
* the date object of this calendar is used.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param date Date object whose attribute is desired.
* @return Returns whether the date is a weekend day.
* @since 8
@@ -360,7 +360,7 @@ export class Calendar {
/**
* Judge whether the locale is RTL locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale The locale to be used.
* @return Returns true representing the locale is an RTL locale
*
@@ -371,7 +371,7 @@ export function isRTL(locale: string): boolean;
/**
* Obtains a BreakIterator object for finding the location of break point in text.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale the returned BreakIterator will adapt the rule, specified by the locale, to break text.
* @return Returns a newly constructed BreakIterator object.
* @since 8
@@ -381,14 +381,14 @@ export function isRTL(locale: string): boolean;
/**
* The BreakIterator class is used for finding the location of break point in text.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export class BreakIterator {
/**
* Obtains the current position of the BreakIterator instance.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the current position of the BreakIterator instance.
* @since 8
*/
@@ -398,7 +398,7 @@ export class BreakIterator {
* Set the BreakIterator's position to the first break point, the first break point is always the beginning of the
* processed text.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the index of the first break point.
* @since 8
*/
@@ -408,7 +408,7 @@ export class BreakIterator {
* Set the BreakIterator's position to the last break point. the last break point is always the index beyond the
* last character of the processed text.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the index of the last break point.
* @since 8
*/
@@ -417,7 +417,7 @@ export class BreakIterator {
/**
* Set the BreakItertor's position to the nth break point from the current break point.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param index indicates the number of break points to advance. If index is not given, n is treated as 1.
* @return Returns the index of the BreakIterator after moving. If there is not enough break points, returns -1.
* @since 8
@@ -427,7 +427,7 @@ export class BreakIterator {
/**
* Set the BreakItertor's position to the break point preceding the current break point.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the index of the BreakIterator after moving. If there is not enough break points, returns -1.
* @since 8
*/
@@ -436,7 +436,7 @@ export class BreakIterator {
/**
* Set the text to be processed.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param text Indicates the text to be processed by the BreakIterator.
* @since 8
*/
@@ -445,7 +445,7 @@ export class BreakIterator {
/**
* Set the BreakIterator's position to the first break point following the specified offset.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the index of the BreakIterator after moving. If there is not enough break points, returns -1.
* @since 8
*/
@@ -454,7 +454,7 @@ export class BreakIterator {
/**
* Obtains the text being processed.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the text that is processed by the BreakIterator.
* @since 8
*/
@@ -465,7 +465,7 @@ export class BreakIterator {
* position will be set to the position indicated by the offset if it returns true, otherwise the BreakIterator
* will be moved to the break point following the offset.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param offset The offset to be checked.
* @return Returns true if the offset is a break point.
* @since 8
@@ -477,14 +477,14 @@ export class BreakIterator {
* Sequence text can be grouped under the specified area,
* and grouping index with different lengths can be specified.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export class IndexUtil {
/**
* Get IndexUtil object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Indicates a character string containing the locale information, including
* the language and optionally the script and region, for the NumberFormat object.
* @return Returns IndexUtil object.
@@ -495,7 +495,7 @@ export class IndexUtil {
/**
* Get a list of labels for use as a UI index
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns a list of labels
* @since 8
*/
@@ -504,7 +504,7 @@ export class IndexUtil {
/**
* Add the index characters from a Locale to the index.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale The locale whose index characters are to be added.
* @since 8
*/
@@ -513,7 +513,7 @@ export class IndexUtil {
/**
* Get corresponding index of the input text.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param text input text
* @since 8
*/
@@ -523,14 +523,14 @@ export class IndexUtil {
/**
* Provides the API for accessing unicode character properties, sunch as whether a character is a digit.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export class Character {
/**
* Determines whether the specified code point is a digit character
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a digit character
*/
@@ -539,7 +539,7 @@ export class Character {
/**
* Determines if the specified character is a space character or not.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a space character
*/
@@ -548,7 +548,7 @@ export class Character {
/**
* Determines if the specified character is a whitespace character
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a whitespace character
*/
@@ -557,7 +557,7 @@ export class Character {
/**
* Determines if the specified character is a RTL character or not.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a RTL character
*/
@@ -566,7 +566,7 @@ export class Character {
/**
* Determines if the specified character is a Ideographic character or not.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a Ideographic character
*/
@@ -575,7 +575,7 @@ export class Character {
/**
* Determines if the specified character is a Letter or not.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a Letter
*/
@@ -584,7 +584,7 @@ export class Character {
/**
* Determines if the specified character is a LowerCase character or not.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a LowerCase character
*/
@@ -593,7 +593,7 @@ export class Character {
/**
* Determines if the specified character is a UpperCase character or not.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns true if the character is a UpperCase character
*/
@@ -602,7 +602,7 @@ export class Character {
/**
* Get the general category value of the specified character.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param char the character to be tested
* @return Returns the general category of the specified character.
*/
@@ -612,7 +612,7 @@ export class Character {
/**
* check out whether system is 24-hour system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns a boolean represent whether system is 24-hour system.
* @since 8
*/
@@ -621,7 +621,7 @@ export class Character {
/**
* set 24-hour system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param option represent the boolean to be set.
* @return Returns a boolean represent whether setting 24-hour system success.
* @since 8
@@ -631,7 +631,7 @@ export class Character {
/**
* Add one language to preferred language List.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param language the language to be added.
* @param index the position of preferred language list to be inserted.
* @return Returns a boolean represent whether language added success.
@@ -642,7 +642,7 @@ export function addPreferredLanguage(language: string, index?: number): boolean;
/**
* Remove one language from preferred language list.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param index the position of removed language in preferred language list.
* @return Returns a boolean represent whether removed success.
* @since 8
@@ -652,7 +652,7 @@ export function removePreferredLanguage(index: number): boolean;
/**
* Access the system preferred language list.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns a string Array represent the preferred language list.
* @since 8
*/
@@ -661,7 +661,7 @@ export function getPreferredLanguageList(): Array;
/**
* Get the first preferred language of system.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns a string represent the first preferred language of system.
* @since 8
*/
diff --git a/api/@ohos.intl.d.ts b/api/@ohos.intl.d.ts
index 070d0614a149bda17c58c7d95c85464645005229..5bf8f664ee8afb4982d3f80f293a2fd960d43ed3 100755
--- a/api/@ohos.intl.d.ts
+++ b/api/@ohos.intl.d.ts
@@ -16,7 +16,7 @@
/**
* Provides internationalization related APIs.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 6
*/
declare namespace intl {
@@ -24,7 +24,7 @@ declare namespace intl {
* Provides the options of Locale.
*
* @since 8
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
*/
export interface LocaleOptions {
/**
@@ -73,14 +73,14 @@ export interface LocaleOptions {
/**
* Provides APIs for obtaining locale information.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 6
*/
export class Locale {
/**
* A constructor used to create a Locale object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Indicates a character string containing the locale information, including
* the language and optionally the script and region.
* @since 6
@@ -90,7 +90,7 @@ export class Locale {
/**
* Indicates the language of the locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 6
*/
language: string
@@ -98,7 +98,7 @@ export class Locale {
/**
* Indicates the script of the locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 6
*/
script: string
@@ -106,7 +106,7 @@ export class Locale {
/**
* Indicates the region of the locale.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 6
*/
region: string
@@ -115,7 +115,7 @@ export class Locale {
* Indicates the basic locale information, which is returned as a substring of
* a complete locale string.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 6
*/
baseName: string
@@ -153,7 +153,7 @@ export class Locale {
/**
* Convert the locale information to string.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns locale information in string form.
*/
toString(): string;
@@ -161,7 +161,7 @@ export class Locale {
/**
* Maximize the locale's base information.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns maximized locale.
*/
maximize(): Locale;
@@ -169,7 +169,7 @@ export class Locale {
/**
* Minimize the locale's base information.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns minimized locale.
*/
minimize(): Locale;
@@ -178,7 +178,7 @@ export class Locale {
/**
* Provides the options of date time format.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
*/
export interface DateTimeOptions {
/**
@@ -280,14 +280,14 @@ export interface DateTimeOptions {
/**
* Provides the API for formatting date strings.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 6
*/
export class DateTimeFormat {
/**
* A constructor used to create a DateTimeFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
constructor();
@@ -295,7 +295,7 @@ export class DateTimeFormat {
/**
* A constructor used to create a DateTimeFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Indicates character string containing the locale information, including
* the language and optionally the script and region, for the DateTimeFormat object.
* @param options Indicates the options used to format the date.
@@ -306,7 +306,7 @@ export class DateTimeFormat {
/**
* Obtains the formatted date strings.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param date Indicates the Date object to be formatted.
* @return Returns a date string formatted based on the specified locale.
* @since 6
@@ -316,7 +316,7 @@ export class DateTimeFormat {
/**
* Obtains the formatted date strings of a date range.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param startDate Indicates the start date of the date range.
* @param endDate Indicates the end date of the date range.
* @return Returns a date string formatted based on the specified locale.
@@ -327,7 +327,7 @@ export class DateTimeFormat {
/**
* Obtains the options of the DateTimeFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the options of the DateTimeFormat object.
* @since 6
*/
@@ -337,7 +337,7 @@ export class DateTimeFormat {
/**
* Provides the options of number format.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
*/
export interface NumberOptions {
/**
@@ -439,13 +439,13 @@ export interface NumberOptions {
/**
* Provides the API for formatting number strings.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
*/
export class NumberFormat {
/**
* A constructor used to create a NumberFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
constructor();
@@ -453,7 +453,7 @@ export class NumberFormat {
/**
* A constructor used to create a NumberFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Indicates a character string containing the locale information, including
* the language and optionally the script and region, for the NumberFormat object.
* @param options Indicates the options used to format the number.
@@ -464,7 +464,7 @@ export class NumberFormat {
/**
* Obtains the formatted number string.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param number Indicates the number to be formatted.
* @return Returns a number string formatted based on the specified locale.
* @since 6
@@ -474,7 +474,7 @@ export class NumberFormat {
/**
* Obtains the options of the NumberFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns the options of the NumberFormat object.
* @since 6
*/
@@ -484,7 +484,7 @@ export class NumberFormat {
/**
* Provides the options of Collator
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export interface CollatorOptions {
@@ -533,21 +533,21 @@ export interface CollatorOptions {
/**
* Enable language-sensitive string comparison.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export class Collator {
/**
* A constructor used to create Collator object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
constructor();
/**
* A constructor used to create Collator Object;
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Indicates a character string containing the locale information, including
* the language and optionally the script and region, for the Collator object.
* @param options Indicates the options used to initialize Collator object.
@@ -558,7 +558,7 @@ export class Collator {
/**
* compares two strings according to the sort order of this Collator object
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param first The first string to compare.
* @param second The second string to compare.
* @return Returns a number indicating how first compare to second:
@@ -573,7 +573,7 @@ export class Collator {
* Returns a new object with properties reflecting the locale and collation options computed
* during initialization of the object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @return Returns a CollatorOptions object reflecting the properties of this object.
* @since 8
*/
@@ -583,7 +583,7 @@ export class Collator {
/**
* Provides the options of PluralRules
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export interface PluralRulesOptions {
@@ -633,14 +633,14 @@ export interface PluralRulesOptions {
/**
* Enables plural-sensitive formatting and plural-related language rules.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export class PluralRules {
/**
* A constructor used to create PluralRules object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
constructor();
@@ -648,7 +648,7 @@ export class PluralRules {
/**
* A constructor used to create PluralRules object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Indicates a character string containing the locale information, including
* the language and optionally the script and region, for the PluralRules object.
* @param options Indicates the options used to initialize PluralRules object.
@@ -659,7 +659,7 @@ export class PluralRules {
/**
* Returns a string indicating which plural rule to use for locale-aware formatting.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param n The number to get a plural rule for.
* @return A string representing the pluralization category of the number,
* can be one of zero, one, two, few, many or other.
@@ -671,7 +671,7 @@ export class PluralRules {
/**
* Provides the input options of RelativeTimeFormat.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export interface RelativeTimeFormatInputOptions {
@@ -697,7 +697,7 @@ export class PluralRules {
/**
* Provides the resolved options of RelativeTimeFormat.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export interface RelativeTimeFormatResolvedOptions {
@@ -728,14 +728,14 @@ export interface RelativeTimeFormatResolvedOptions {
* Given a Time period length value and a unit, RelativeTimeFormat object enables
* language-sensitive relative time formatting.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
export class RelativeTimeFormat {
/**
* A constructor used to create RelativeTimeFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @since 8
*/
constructor();
@@ -743,7 +743,7 @@ export class RelativeTimeFormat {
/**
* A constructor used to create RelativeTimeFormat object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param locale Indicates a character string containing the locale information, including
* the language and optionally the script and region, for the RelativeTimeFormat object.
* @param options Indicates the options used to initialize RelativeTimeFormat object.
@@ -754,7 +754,7 @@ export class RelativeTimeFormat {
/**
* formats a value and unit according to the locale and formatting options of this object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param value Numeric value to use in the internationalized relative time message.
* @param unit Unit to use in the relative time internationalized message.
* Possible values are: year, quarter, month, week, day, hour, minute, second.
@@ -767,7 +767,7 @@ export class RelativeTimeFormat {
* returns an Array of objects representing the relative time format in parts that can be used for
* custom locale-aware formatting
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @param value Numeric value to use in the internationalized relative time message.
* @param unit to use in the relative time internationalized message.
* Possible values are: year, quarter, month, week, day, hour, minute, second.
@@ -780,7 +780,7 @@ export class RelativeTimeFormat {
* Returns a new object with properties reflecting the locale and formatting options computed during
* initialization of the object.
*
- * @sysCap SystemCapability.Global.I18n
+ * @syscap SystemCapability.Global.I18n
* @returns RelativeTimeFormatOptions which reflecting the locale and formatting options of the object.
* @since 8
*/
diff --git a/api/@ohos.pasteboard.d.ts b/api/@ohos.pasteboard.d.ts
index facf37ba9e9c95a0364d2dfd745615445eae1977..e1e14bcded6bb0fc22c2d3b13fcf6e486128b140 100644
--- a/api/@ohos.pasteboard.d.ts
+++ b/api/@ohos.pasteboard.d.ts
@@ -17,7 +17,7 @@ import { Want } from './ability/want';
/**
* systemPasteboard
- * @sysCap SystemCapability.Miscservices.Pasteboard
+ * @syscap SystemCapability.Miscservices.Pasteboard
* @devices phone, tablet, tv, wearable, car
* @import import pasteboard from '@ohos.pasteboard';
*/
diff --git a/api/@ohos.power.d.ts b/api/@ohos.power.d.ts
index 90da7f50996ed0b348cd8d0ba52b0e04b8760bf0..5f59da72f5ad0406eb6b09f4d603f6dee2447a9b 100644
--- a/api/@ohos.power.d.ts
+++ b/api/@ohos.power.d.ts
@@ -18,7 +18,7 @@ import {AsyncCallback} from './basic';
/**
* Provides interfaces to manage power.
*
- * @sysCap SystemCapability.PowerManager.PowerManager.Core
+ * @syscap SystemCapability.PowerManager.PowerManager.Core
* @since 7
*/
declare namespace power {
diff --git a/api/@ohos.rpc.d.ts b/api/@ohos.rpc.d.ts
index 8932f4c6bb6c5fe5c1b9e79683ed37e5eee0ebed..0ee21513cb4f9867c28d4e05df22f376a41b71e9 100644
--- a/api/@ohos.rpc.d.ts
+++ b/api/@ohos.rpc.d.ts
@@ -33,7 +33,7 @@ declare namespace rpc {
* {@link Sequenceable}, and SequenceableArray.
*
* @since 7
- * @sysCap SystemCapability.Communication.IPC.Core
+ * @syscap SystemCapability.Communication.IPC.Core
* @import import rpc from '@ohos.rpc'
*/
class MessageParcel {
diff --git a/api/@ohos.runninglock.d.ts b/api/@ohos.runninglock.d.ts
index ea56c90fc78c75abeae60b0e51e34b7c00693d27..1fddf45940ebfb69c694249e1053b6e22e0b4f97 100644
--- a/api/@ohos.runninglock.d.ts
+++ b/api/@ohos.runninglock.d.ts
@@ -24,7 +24,7 @@ import {AsyncCallback} from './basic.d.ts';
* lock duration times out, the lock is automatically released and the system hibernates if no other {@link
* RunningLock} is set.
*
- * @sysCap SystemCapability.PowerManager.PowerManager.Core
+ * @syscap SystemCapability.PowerManager.PowerManager.Core
* @since 7
*/
declare namespace runningLock {
diff --git a/api/@ohos.systemTime.d.ts b/api/@ohos.systemTime.d.ts
index 9071438b0ea18674ecaa7efc934630dca7ccf933..8a15765fcbe99d75634d843f1225bb5677b169a8 100755
--- a/api/@ohos.systemTime.d.ts
+++ b/api/@ohos.systemTime.d.ts
@@ -18,7 +18,7 @@ import { AsyncCallback, ErrorCallback } from './basic';
/**
* System time and timezone.
* @since 7
- * @sysCap SystemCapability.Miscservices.Time
+ * @syscap SystemCapability.Miscservices.Time
* @devices phone, tablet, tv, wearable, car
* @import systemTime from '@ohos.systemTime';
*/
diff --git a/api/@ohos.systemparameter.d.ts b/api/@ohos.systemparameter.d.ts
index 57a2906095657ffc8e63ede552c582984f76bf39..1e20358fa7f93396a0c79eedc26adde90b30a793 100644
--- a/api/@ohos.systemparameter.d.ts
+++ b/api/@ohos.systemparameter.d.ts
@@ -19,7 +19,7 @@ import { AsyncCallback, BusinessError } from './basic';
* The interface of system parameters class.
*
* @since 6
- * @Syscap SystemCapability.Startup.SysInfo
+ * @syscap SystemCapability.Startup.SysInfo
* @hide
*/
declare namespace systemParameter {
diff --git a/api/@ohos.update.d.ts b/api/@ohos.update.d.ts
index 0620034b5dd6b219688839ad75fd9a8f9f577281..6a5a0d64297d60f1a474a900899a7411e8104a28 100644
--- a/api/@ohos.update.d.ts
+++ b/api/@ohos.update.d.ts
@@ -20,7 +20,7 @@ import { AsyncCallback, BussinessError } from "./basic";
*
* @devices all
* @since 6
- * @Syscap SystemCapability.Updater.Raw
+ * @syscap SystemCapability.Updater.Raw
*/
declare namespace update {
/**
@@ -313,7 +313,7 @@ declare namespace update {
*
* @devices all
* @since 6
- * @Syscap SystemCapability.Updater.Raw
+ * @syscap SystemCapability.Updater.Raw
*/
export interface Updater {
/**
diff --git a/api/@ohos.userIAM.userAuth.d.ts b/api/@ohos.userIAM.userAuth.d.ts
index faf424d0e50b01eb82e78bbcb8db415980b019b5..d382b06a6e5a7a5ec759b43447ac489f90bab039 100644
--- a/api/@ohos.userIAM.userAuth.d.ts
+++ b/api/@ohos.userIAM.userAuth.d.ts
@@ -18,7 +18,7 @@ import { AsyncCallback } from './basic';
/**
* User authentication
* @since 6
- * @sysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @permission ohos.permission.ACCESS_BIOMETRIC
*/
declare namespace userAuth {
@@ -105,7 +105,7 @@ declare namespace userAuth {
interface Authenticator {
/**
* Execute authentication.
- * @SysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @param type Indicates the authentication type.
* @param level Indicates the security level.
* @return Returns authentication result, which is specified by AuthenticationResult.
@@ -117,7 +117,7 @@ declare namespace userAuth {
/**
* Get Authenticator instance.
- * @SysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @return Returns an Authenticator.
* @deprecated since 8
*/
@@ -131,7 +131,7 @@ declare namespace userAuth {
/**
* Constructor to get the UserAuth class instance.
* @since 8
- * @SysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @return Returns the UserAuth class instance.
*/
constructor();
@@ -139,7 +139,7 @@ declare namespace userAuth {
/**
* Get version information.
* @since 8
- * @SysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @return Returns version information.
*/
getVersion() : number;
@@ -147,7 +147,7 @@ declare namespace userAuth {
/**
* Check whether the authentication capability is available.
* @since 8
- * @SysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @permission ohos.permission.ACCESS_BIOMETRIC
* @param authType Credential type for authentication.
* @param authTrustLevel Trust level of authentication result.
@@ -158,7 +158,7 @@ declare namespace userAuth {
/**
* Executes authentication.
* @since 8
- * @SysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @permission ohos.permission.ACCESS_BIOMETRIC
* @param challenge pass in challenge value.
* @param authType type of authentication.
@@ -171,7 +171,7 @@ declare namespace userAuth {
/**
* Cancels authentication with ContextID.
* @since 8
- * @SysCap SystemCapability.UserIAM.UserAuth
+ * @syscap SystemCapability.UserIAM.UserAuth
* @permission ohos.permission.ACCESS_BIOMETRIC
* @param contextID Cancel authentication and pass in ContextID.
* @return Returns a number value indicating whether Cancel authentication was successful.
diff --git a/api/@ohos.wallpaper.d.ts b/api/@ohos.wallpaper.d.ts
index b0f83f66f4de0cce8882ae534cd803761bbc1ce9..9b1776d5c45807ccd9aeaf14ead70f2fd694e916 100644
--- a/api/@ohos.wallpaper.d.ts
+++ b/api/@ohos.wallpaper.d.ts
@@ -17,7 +17,7 @@ import image from './@ohos.multimedia.image'
/**
* System wallpaper
- * @sysCap SystemCapability.Miscservices.WallpaperFramework
+ * @syscap SystemCapability.Miscservices.WallpaperFramework
* @devices phone, tablet, tv, wearable, car
* @import import wallpaper from '@ohos.wallpaper';
* @since 7
diff --git a/api/ability/abilityResult.d.ts b/api/ability/abilityResult.d.ts
index bac8cd8756c1b766d842dedc839cff4747d0de56..253243e97fbd0b5f0468ea7c29002334892777a2 100644
--- a/api/ability/abilityResult.d.ts
+++ b/api/ability/abilityResult.d.ts
@@ -16,7 +16,7 @@ import { Want } from './want';
/**
* @since 7
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @permission N/A
*/
export interface AbilityResult {
@@ -25,7 +25,7 @@ export interface AbilityResult {
* code to identify an error.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
*/
resultCode: number;
@@ -34,7 +34,7 @@ export interface AbilityResult {
* This parameter can be null.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
*/
want?: Want;
}
\ No newline at end of file
diff --git a/api/ability/connectOptions.d.ts b/api/ability/connectOptions.d.ts
index 1604b9bf5e0797c5dc51dcd8842a15d40fd95c81..8b283b0da1d8f6cfd808a204f86451702f10fcf4 100644
--- a/api/ability/connectOptions.d.ts
+++ b/api/ability/connectOptions.d.ts
@@ -17,7 +17,7 @@ import rpc from './../@ohos.rpc';
/**
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
*/
export interface ConnectOptions {
@@ -26,7 +26,7 @@ export interface ConnectOptions {
*
* @default -
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param elementName The element name of the service ability
* @param remoteObject The remote object instance
*/
@@ -37,7 +37,7 @@ export interface ConnectOptions {
*
* @default -
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param elementName The element name of the service ability
*/
onDisconnect: (elementName: ElementName) => void;
@@ -47,7 +47,7 @@ export interface ConnectOptions {
*
* @default -
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param code The error code of the failed.
*/
onFailed: (code: number) => void;
diff --git a/api/ability/continueAbilityOptions.d.ts b/api/ability/continueAbilityOptions.d.ts
index 32c09d141425de7df7c76477511658ea6505d8c6..12f2772298c217a41ec02a4b6260e65282abccde 100755
--- a/api/ability/continueAbilityOptions.d.ts
+++ b/api/ability/continueAbilityOptions.d.ts
@@ -15,7 +15,7 @@
/**
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
*/
export interface ContinueAbilityOptions {
@@ -24,7 +24,7 @@ export interface ContinueAbilityOptions {
*
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
deviceId: string;
@@ -35,7 +35,7 @@ export interface ContinueAbilityOptions {
*
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
reversible?: boolean;
diff --git a/api/ability/dataAbilityHelper.d.ts b/api/ability/dataAbilityHelper.d.ts
index f1cf3feefbda2e86dcbfc99117cd44f9ba789af8..f1bf139a73dbb6ad8ff0eecddb276f403ebf69cc 100644
--- a/api/ability/dataAbilityHelper.d.ts
+++ b/api/ability/dataAbilityHelper.d.ts
@@ -22,7 +22,7 @@ import rdb from '../@ohos.data.rdb';
/**
* DataAbilityHelper
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
*
* @since 7
* @FAModelOnly
@@ -32,7 +32,7 @@ export interface DataAbilityHelper {
* Opens a file in a specified remote path.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of the file to open.
* @param mode Indicates the file open mode, which can be "r" for read-only access, "w" for write-only access
* (erasing whatever data is currently in the file), "wt" for write access that truncates any existing
@@ -49,7 +49,7 @@ export interface DataAbilityHelper {
* Registers an observer to observe data specified by the given uri.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param type dataChange.
* @param uri Indicates the path of the data to operate.
* @param callback Indicates the callback when dataChange.
@@ -62,7 +62,7 @@ export interface DataAbilityHelper {
* Deregisters an observer used for monitoring data specified by the given uri.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param type dataChange.
* @param uri Indicates the path of the data to operate.
* @param callback Indicates the registered callback.
@@ -75,7 +75,7 @@ export interface DataAbilityHelper {
* Obtains the MIME type of the date specified by the given URI.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of the data to operate.
* @return Returns the MIME type that matches the data specified by uri.
* @FAModelOnly
@@ -87,7 +87,7 @@ export interface DataAbilityHelper {
* Obtains the MIME types of files supported.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of the files to obtain.
* @param mimeTypeFilter Indicates the MIME types of the files to obtain.
* @return Returns the matched MIME types Array.
@@ -100,7 +100,7 @@ export interface DataAbilityHelper {
* Converts the given uri that refers to the Data ability into a normalized uri.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the uri object to normalize.
* @return Returns the normalized uri object if the Data ability supports URI normalization or null.
* @FAModelOnly
@@ -112,7 +112,7 @@ export interface DataAbilityHelper {
* Converts the given normalized uri generated by normalizeUri(uri) into a denormalized one.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the uri object to normalize.
* @return Returns the denormalized uri object if the denormalization is successful.
* @FAModelOnly
@@ -124,7 +124,7 @@ export interface DataAbilityHelper {
* Notifies the registered observers of a change to the data resource specified by uri.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of the data to operate.
* @return -
* @FAModelOnly
@@ -136,7 +136,7 @@ export interface DataAbilityHelper {
* Inserts a single data record into the database.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of the data to insert.
* @param valuesBucket Indicates the data record to insert. If this parameter is null, a blank row will be inserted.
* @return Returns the index of the inserted data record.
@@ -149,7 +149,7 @@ export interface DataAbilityHelper {
* Inserts multiple data records into the database.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of the data to batchInsert.
* @param valuesBuckets Indicates the data records to insert.
* @return Returns the number of data records inserted.
@@ -162,7 +162,7 @@ export interface DataAbilityHelper {
* Deletes one or more data records from the database.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of the data to delete.
* @param predicates Indicates filter criteria. You should define the processing logic when this parameter is null.
* @return Returns the number of data records deleted.
@@ -175,7 +175,7 @@ export interface DataAbilityHelper {
* Updates data records in the database.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of data to update.
* @param valuesBucket Indicates the data to update.
* @param predicates Indicates filter criteria. You should define the processing logic when this parameter is null.
@@ -189,7 +189,7 @@ export interface DataAbilityHelper {
* Queries data in the database.
*
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @param uri Indicates the path of data to query.
* @param columns Indicates the columns to query. If this parameter is null, all columns are queried.
* @param predicates Indicates filter criteria. You should define the processing logic when this parameter is null.
diff --git a/api/ability/dataAbilityOperation.d.ts b/api/ability/dataAbilityOperation.d.ts
index 4d961357d179bf0883bb3e92f8599ef2392533ea..8b8a1ca9c85cced12ffde98cb12b164ba4d98985 100644
--- a/api/ability/dataAbilityOperation.d.ts
+++ b/api/ability/dataAbilityOperation.d.ts
@@ -19,7 +19,7 @@ import rdb from '../@ohos.data.rdb';
/**
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @permission N/A
*/
export interface DataAbilityOperation {
@@ -27,7 +27,7 @@ export interface DataAbilityOperation {
* Indicates the path of data to operate.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
uri: string;
@@ -36,7 +36,7 @@ export interface DataAbilityOperation {
* Indicates a operation type.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
type: featureAbility.DataAbilityOperationType;
@@ -45,7 +45,7 @@ export interface DataAbilityOperation {
* Indicates the data values to be set.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
valuesBucket?: rdb.ValuesBucket;
@@ -54,7 +54,7 @@ export interface DataAbilityOperation {
* Indicates the valuesBucket object containing a set of key-value pairs.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
valueBackReferences?: rdb.ValuesBucket;
@@ -64,7 +64,7 @@ export interface DataAbilityOperation {
* will be operated by default.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
predicates?: dataAbility.DataAbilityPredicates;
@@ -73,7 +73,7 @@ export interface DataAbilityOperation {
* Indicates the back reference to be used as a filter criterion in predicates.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
predicatesBackReferences?: Map;
@@ -82,7 +82,7 @@ export interface DataAbilityOperation {
* Specifies whether a batch operation can be interrupted.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
interrupted?: boolean;
@@ -91,7 +91,7 @@ export interface DataAbilityOperation {
* Indicates the expected number of rows to update or delete.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
expectedCount?: number;
diff --git a/api/ability/dataAbilityResult.d.ts b/api/ability/dataAbilityResult.d.ts
index e7c53bc8f7054960adce5c645ff839d8ede37234..4b6600d6823b46d3e785619ba25c3acd8caabab4 100644
--- a/api/ability/dataAbilityResult.d.ts
+++ b/api/ability/dataAbilityResult.d.ts
@@ -16,7 +16,7 @@
/**
* @name DataAbilityResult
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @permission N/A
*/
export interface DataAbilityResult {
@@ -24,7 +24,7 @@ export interface DataAbilityResult {
* Indicates the path of data to operate.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
uri?: string;
@@ -33,7 +33,7 @@ export interface DataAbilityResult {
* Indicates the number of rows affected by the operation.
* @default -
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
count?:number;
diff --git a/api/ability/startAbilityParameter.d.ts b/api/ability/startAbilityParameter.d.ts
index 7ad38dddddcdaf822ab5cafcc3294a1589a982e5..29a635d29c12969611ff3e77d7724217684c49d4 100644
--- a/api/ability/startAbilityParameter.d.ts
+++ b/api/ability/startAbilityParameter.d.ts
@@ -16,7 +16,7 @@ import { Want } from './want';
/**
* @since 3
- * @sysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @permission N/A
*/
export interface StartAbilityParameter {
@@ -25,7 +25,7 @@ export interface StartAbilityParameter {
*
* @default -
* @since 3
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
want: Want;
@@ -35,7 +35,7 @@ export interface StartAbilityParameter {
*
* @default -
* @since 3
- * @SysCap SystemCapability.Ability.AbilityRuntime.FAModel
+ * @syscap SystemCapability.Ability.AbilityRuntime.FAModel
* @FAModelOnly
*/
abilityStartSetting?: {[key: string]: any};
diff --git a/api/ability/want.d.ts b/api/ability/want.d.ts
index f6c264684fd49365ed0c2b57de5d99c2e846b20a..40bfe433ae5c723c7d76bc7ca7aaf7289c9b0654 100644
--- a/api/ability/want.d.ts
+++ b/api/ability/want.d.ts
@@ -17,7 +17,7 @@
* Want is the basic communication component of the system.
* @name Want
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @permission N/A
*/
export declare interface Want {
@@ -25,7 +25,7 @@ export declare interface Want {
* device id
* @default -
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
*/
deviceId?: string;
@@ -33,7 +33,7 @@ export declare interface Want {
* bundle name
* @default -
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
*/
bundleName?: string;
@@ -41,14 +41,14 @@ export declare interface Want {
* ability name
* @default -
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
*/
abilityName?: string;
/**
* The description of a URI in a Want.
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
uri?: string;
@@ -56,7 +56,7 @@ export declare interface Want {
/**
* The description of the type in this Want.
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
type?: string;
@@ -64,7 +64,7 @@ export declare interface Want {
/**
* The options of the flags in this Want.
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
flags?: number;
@@ -72,7 +72,7 @@ export declare interface Want {
/**
* The description of an action in an want.
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
action?: string;
@@ -80,7 +80,7 @@ export declare interface Want {
/**
* The description of the WantParams object in an Want
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
parameters?: {[key: string]: any};
@@ -88,7 +88,7 @@ export declare interface Want {
/**
* The description of a entities in a Want.
* @since 6
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
entities?: Array;
@@ -96,7 +96,7 @@ export declare interface Want {
/**
* The description of a extension ability name in a Want.
* @since 9
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
extensionAbilityName?: string;
@@ -104,7 +104,7 @@ export declare interface Want {
/**
* The description of a extension ability type in a Want.
* @since 9
- * @sysCap SystemCapability.Ability.AbilityBase
+ * @syscap SystemCapability.Ability.AbilityBase
* @default -
*/
extensionAbilityType?: number;
diff --git a/api/app/abilityMissionInfo.d.ts b/api/app/abilityMissionInfo.d.ts
index 19c7870cd494ba9675f0ea585dcec0b7fe1ae93d..082993e8962af9fdecb94d985e49b77b8e852e02 100644
--- a/api/app/abilityMissionInfo.d.ts
+++ b/api/app/abilityMissionInfo.d.ts
@@ -18,7 +18,7 @@ import { ElementName } from '../bundle/elementName';
/**
* @name Mission information corresponding to ability
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @import import AbilityMissionInfo from 'app/abilityMissionInfo'
* @permission N/A
*/
@@ -26,7 +26,7 @@ export interface AbilityMissionInfo {
/**
* @default Unique identification of task stack information corresponding to ability
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
missionId: number;
@@ -34,7 +34,7 @@ export interface AbilityMissionInfo {
* @default The component launched as the first ability in the task stack
* This can be considered the "application" of this task stack
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
bottomAbility: ElementName;
@@ -42,14 +42,14 @@ export interface AbilityMissionInfo {
* @default The ability component at the top of the history stack of the task
* This is what the user is currently doing
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
topAbility: ElementName;
/**
* @default The corresponding ability description information in the task stack
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
windowMode: number;
}
diff --git a/api/app/activeProcessInfo.d.ts b/api/app/activeProcessInfo.d.ts
index 68571a2d497043434fef4f91c793ef7b937b3ec9..72ac4eb1bb42a9e6398b23f7638fe520d4f314e4 100644
--- a/api/app/activeProcessInfo.d.ts
+++ b/api/app/activeProcessInfo.d.ts
@@ -16,7 +16,7 @@
/**
* @name This class saves process information about an application
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @import import app from 'app/activeProcessInfo'
* @permission N/A
*/
@@ -24,28 +24,28 @@ export interface ActiveProcessInfo {
/**
* @default process id
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
pid: number;
/**
* @default user id
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
uid: number;
/**
* @default the name of the process
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
processName: string;
/**
* @default an array of the bundleNames running in the process
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
bundleNames: Array;
}
diff --git a/api/app/context.d.ts b/api/app/context.d.ts
index 6bdb28af617e7c24e8254c20f63846d43420ee53..06097c18c9e756bff758bc30a656f81a5d12a868 100644
--- a/api/app/context.d.ts
+++ b/api/app/context.d.ts
@@ -25,7 +25,7 @@ import BaseContext from '../application/BaseContext';
* Can only be obtained through the ability.
*
* @since 6
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @import import abilityManager from 'app/context'
* @permission N/A
* @FAModelOnly
@@ -39,7 +39,7 @@ export interface Context extends BaseContext {
* the ability; if in the context of the application, return the
* root dir of the application.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @return the root dir
* @FAModelOnly
*/
@@ -54,7 +54,7 @@ export interface Context extends BaseContext {
* @note Pid and uid are optional. If you do not pass in pid and uid,
* it will check your own permission.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @return asynchronous callback with {@code 0} if the PID
* and UID have the permission; callback with {@code -1} otherwise.
* @FAModelOnly
@@ -68,7 +68,7 @@ export interface Context extends BaseContext {
* @param permissions Indicates the list of permissions to be requested. This parameter cannot be null.
* @param requestCode Indicates the request code to be passed to the PermissionRequestResult
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
requestPermissionsFromUser(permissions: Array, requestCode: number, resultCallback: AsyncCallback): void;
@@ -76,7 +76,7 @@ export interface Context extends BaseContext {
/**
* Obtains information about the current application.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
getApplicationInfo(callback: AsyncCallback): void
@@ -85,7 +85,7 @@ export interface Context extends BaseContext {
/**
* Obtains the bundle name of the current ability.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
getBundleName(callback: AsyncCallback): void
@@ -94,7 +94,7 @@ export interface Context extends BaseContext {
/**
* Obtains information about the current process, including the process ID and name.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
getProcessInfo(callback: AsyncCallback): void
@@ -103,7 +103,7 @@ export interface Context extends BaseContext {
/**
* Obtains the ohos.bundle.ElementName object of the current ability. This method is available only to Page abilities.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
getElementName(callback: AsyncCallback): void
@@ -112,7 +112,7 @@ export interface Context extends BaseContext {
/**
* Obtains the name of the current process.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
getProcessName(callback: AsyncCallback): void
@@ -121,7 +121,7 @@ export interface Context extends BaseContext {
/**
* Obtains the bundle name of the ability that called the current ability.
* @since 7
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
getCallingBundle(callback: AsyncCallback): void
@@ -131,7 +131,7 @@ export interface Context extends BaseContext {
/**
* @name the result of requestPermissionsFromUser with asynchronous callback
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
* @FAModelOnly
*/
@@ -139,7 +139,7 @@ interface PermissionRequestResult {
/**
* @default The request code passed in by the user
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
requestCode: number;
@@ -147,7 +147,7 @@ interface PermissionRequestResult {
/**
* @default The permissions passed in by the user
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
permissions: Array;
@@ -155,7 +155,7 @@ interface PermissionRequestResult {
/**
* @default The results for the corresponding request permissions
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
authResults: Array;
@@ -164,7 +164,7 @@ interface PermissionRequestResult {
/**
* @name PermissionOptions
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
* @FAModelOnly
*/
@@ -172,7 +172,7 @@ interface PermissionOptions {
/**
* @default The process id
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
pid?: number;
@@ -180,7 +180,7 @@ interface PermissionOptions {
/**
* @default The user id
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @FAModelOnly
*/
uid?: number;
diff --git a/api/app/processInfo.d.ts b/api/app/processInfo.d.ts
index cd25a592d8978806e77b31e8fed30ef26c6464a1..107414150352266f188ddf6753f5a913629a997c 100644
--- a/api/app/processInfo.d.ts
+++ b/api/app/processInfo.d.ts
@@ -16,7 +16,7 @@
/**
* @name This class saves process information about an application
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @import import ProcessInfo from 'app/processInfo'
* @permission N/A
*/
@@ -26,7 +26,7 @@ export interface ProcessInfo {
*
* @default -
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
pid: number;
@@ -35,7 +35,7 @@ export interface ProcessInfo {
*
* @default -
* @since 7
- * @SysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
processName: string;
}
\ No newline at end of file
diff --git a/api/application/AbilityContext.d.ts b/api/application/AbilityContext.d.ts
index 3238ae439e9705e45d5b9424109e4c5d0bd4b95e..fe775531d0a2e0ca221670da74656ed4ae485281 100755
--- a/api/application/AbilityContext.d.ts
+++ b/api/application/AbilityContext.d.ts
@@ -30,7 +30,7 @@ import { ContentStorage } from '../@internal/component/ets/state_management';
* The context of an ability. It allows access to ability-specific resources.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
* @StageModelOnly
*/
@@ -39,7 +39,7 @@ export default class AbilityContext extends Context {
* Indicates configuration information about an ability.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
abilityInfo: AbilityInfo;
@@ -48,7 +48,7 @@ export default class AbilityContext extends Context {
* Indicates configuration information about an module.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
currentHapModuleInfo: HapModuleInfo;
@@ -57,7 +57,7 @@ export default class AbilityContext extends Context {
* Indicates configuration information.
*
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @StageModelOnly
*/
config: Configuration;
@@ -66,7 +66,7 @@ export default class AbilityContext extends Context {
* Starts a new ability.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param parameter Indicates the ability to start.
* @return -
* @StageModelOnly
@@ -80,7 +80,7 @@ export default class AbilityContext extends Context {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @param parameter Indicates the ability to start.
* @return Caller
* @StageModelOnly
@@ -91,7 +91,7 @@ export default class AbilityContext extends Context {
* Starts a new ability with account.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param want Indicates the want info to start.
* @param want Indicates the account to start.
* @systemapi hide for inner use.
@@ -106,7 +106,7 @@ export default class AbilityContext extends Context {
* Starts an ability and returns the execution result when the ability is destroyed.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param parameter Indicates the ability to start.
* @return Returns the {@link AbilityResult}.
* @StageModelOnly
@@ -119,7 +119,7 @@ export default class AbilityContext extends Context {
* Starts an ability and returns the execution result when the ability is destroyed with account.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param want Indicates the want info to start.
* @param want Indicates the account to start.
* @systemapi hide for inner use.
@@ -134,7 +134,7 @@ export default class AbilityContext extends Context {
* Destroys this Page ability.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @return -
* @StageModelOnly
*/
@@ -146,7 +146,7 @@ export default class AbilityContext extends Context {
* and destroys this Page ability.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param parameter Indicates the result to return.
* @return -
* @StageModelOnly
@@ -158,7 +158,7 @@ export default class AbilityContext extends Context {
* Connects the current ability to an ability using the AbilityInfo.AbilityType.SERVICE template.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param want The element name of the service ability
* @param options The remote object instance
* @hide hide for inner use.
@@ -171,7 +171,7 @@ export default class AbilityContext extends Context {
* Connects the current ability to an ability using the AbilityInfo.AbilityType.SERVICE template with account.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param want The element name of the service ability
* @param options The remote object instance
* @param accountId The account to connect
@@ -185,7 +185,7 @@ export default class AbilityContext extends Context {
* The callback interface was connect successfully.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param connection The number code of the ability connected
* @hide hide for inner use.
* @StageModelOnly
@@ -197,7 +197,7 @@ export default class AbilityContext extends Context {
* Set mission label of current ability.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param label The label of ability that showed in recent missions.
* @StageModelOnly
*/
@@ -208,7 +208,7 @@ export default class AbilityContext extends Context {
* Requests certain permissions from the system.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param permissions Indicates the list of permissions to be requested. This parameter cannot be null or empty.
* @StageModelOnly
*/
diff --git a/api/application/AbilityRunningInfo.d.ts b/api/application/AbilityRunningInfo.d.ts
index 41bff388cefc203e2f6f1391602360b3e33a6182..3e11ffa4dc15d383e579304d2f6ee2cb8b94ae1f 100644
--- a/api/application/AbilityRunningInfo.d.ts
+++ b/api/application/AbilityRunningInfo.d.ts
@@ -20,49 +20,49 @@ import abilityManager from '../@ohos.application.abilityManager';
* The class of an ability running information.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
*/
export interface AbilityRunningInfo {
/**
* @default ability element name
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
ability: ElementName;
/**
* @default process id
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
pid: number;
/**
* @default user id
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
uid: number;
/**
* @default the name of the process
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
processName: string;
/**
* @default ability start time
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
startTime: number;
/**
* @default Enumerates state of the ability state info
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
abilityState: abilityManager.AbilityState;
}
\ No newline at end of file
diff --git a/api/application/AbilityStateData.d.ts b/api/application/AbilityStateData.d.ts
index 653d556b05b5a56640fdb7d0f89520f4b8b4f27e..47c9f4ea4fbb3b2710c5dc1997440d00feb5b14c 100644
--- a/api/application/AbilityStateData.d.ts
+++ b/api/application/AbilityStateData.d.ts
@@ -17,7 +17,7 @@
* The ability or extension state data.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
* @permission N/A
*/
@@ -26,7 +26,7 @@ export default class AbilityStateData {
* The bundle name.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
bundleName: string;
@@ -35,7 +35,7 @@ export default class AbilityStateData {
* The ability name.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
abilityName: string;
@@ -44,7 +44,7 @@ export default class AbilityStateData {
* The pid.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
pid: number;
@@ -53,7 +53,7 @@ export default class AbilityStateData {
* The uid.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
uid: number;
@@ -62,7 +62,7 @@ export default class AbilityStateData {
* The application state.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
state: number;
@@ -72,7 +72,7 @@ export default class AbilityStateData {
*
* @devices phone, tablet, tv, wearable, car
* @since 8
- * @sysCap appexecfwk
+ * @syscap appexecfwk
* @systemapi hide for inner use.
*/
abilityType: number;
diff --git a/api/application/AppStateData.d.ts b/api/application/AppStateData.d.ts
index 62ae586ba60a945b27300bd822d9f467fe53f347..753f38cc356f785c82aa85535803e6c1a233c943 100644
--- a/api/application/AppStateData.d.ts
+++ b/api/application/AppStateData.d.ts
@@ -17,7 +17,7 @@
* The application state data.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
* @permission N/A
*/
@@ -26,7 +26,7 @@ export default class AppStateData {
* The bundle name.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
bundleName: string;
@@ -35,7 +35,7 @@ export default class AppStateData {
* The uid.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
uid: number;
@@ -44,7 +44,7 @@ export default class AppStateData {
* The application state.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
*/
state: number;
diff --git a/api/application/ApplicationStateObserver.d.ts b/api/application/ApplicationStateObserver.d.ts
index 5ce1e00ba543d1334e6ce9aaf06955af556c2435..96341bd8a353877a4c6ea313e527c8ab4b4ec8b6 100644
--- a/api/application/ApplicationStateObserver.d.ts
+++ b/api/application/ApplicationStateObserver.d.ts
@@ -21,7 +21,7 @@ import ProcessData from "./ProcessData";
* The application state observer.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
* @permission N/A
*/
@@ -30,7 +30,7 @@ export default class ApplicationStateObserver {
* Will be called when foreground or background application changed.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param appStateData State changed Application info.
* @systemapi hide for inner use.
* @return -
@@ -41,7 +41,7 @@ export default class ApplicationStateObserver {
* Will be called when ability state changed.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param abilityStateData State changed ability info.
* @systemapi hide for inner use.
* @return -
@@ -52,7 +52,7 @@ export default class ApplicationStateObserver {
* Will be called when process created.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param processData Process info.
* @systemapi hide for inner use.
* @return -
@@ -63,7 +63,7 @@ export default class ApplicationStateObserver {
* Will be called when process died.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param processData Process info.
* @systemapi hide for inner use.
* @return -
diff --git a/api/application/BaseContext.d.ts b/api/application/BaseContext.d.ts
index 7b63cc832dff0ff702a8ccdda8003be62412b6a4..50ab781d4c89f84d667680aae1b0ba251b025c70 100644
--- a/api/application/BaseContext.d.ts
+++ b/api/application/BaseContext.d.ts
@@ -18,7 +18,7 @@
* 'application.Context' for Stage Mode.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
*/
export default interface BaseContext {
@@ -26,7 +26,7 @@ export default interface BaseContext {
* Indicates the context is FA Mode or Stage Mode.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
stageMode: boolean;
}
\ No newline at end of file
diff --git a/api/application/Context.d.ts b/api/application/Context.d.ts
index e8678b43276c66040a4184285842bc073b0f1024..73e7f73e2f521b7f592606443428ccd81199040a 100755
--- a/api/application/Context.d.ts
+++ b/api/application/Context.d.ts
@@ -23,7 +23,7 @@ import EventHub from "./EventHub";
* application-specific resources.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
* @StageModelOnly
*/
@@ -32,7 +32,7 @@ export default class Context extends BaseContext {
* Indicates the capability of accessing application resources.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
resourceManager: resmgr.ResourceManager;
@@ -41,7 +41,7 @@ export default class Context extends BaseContext {
* Indicates configuration information about an application.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
applicationInfo: ApplicationInfo;
@@ -50,7 +50,7 @@ export default class Context extends BaseContext {
* Indicates app cache dir.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
cacheDir: string;
@@ -59,7 +59,7 @@ export default class Context extends BaseContext {
* Indicates app temp dir.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
tempDir: string;
@@ -68,7 +68,7 @@ export default class Context extends BaseContext {
* Indicates app files dir.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
filesDir : string;
@@ -77,7 +77,7 @@ export default class Context extends BaseContext {
* Indicates app database dir.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
databaseDir : string;
@@ -86,7 +86,7 @@ export default class Context extends BaseContext {
* Indicates app storage dir.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
storageDir : string;
@@ -95,7 +95,7 @@ export default class Context extends BaseContext {
* Indicates app bundle code dir.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
bundleCodeDir : string;
@@ -104,7 +104,7 @@ export default class Context extends BaseContext {
* Indicates app distributed files dir.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
distributedFilesDir: string;
@@ -113,7 +113,7 @@ export default class Context extends BaseContext {
* Indicates event hub.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @StageModelOnly
*/
eventHub: EventHub;
@@ -122,7 +122,7 @@ export default class Context extends BaseContext {
* Create a bundle context
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi hide for inner use.
* @param bundleName Indicates the bundle name.
* @return application context
@@ -134,7 +134,7 @@ export default class Context extends BaseContext {
* Get application context
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @return application context
* @StageModelOnly
*/
@@ -144,7 +144,7 @@ export default class Context extends BaseContext {
* Switch file area
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param mode file area.
* @StageModelOnly
*/
diff --git a/api/application/EventHub.d.ts b/api/application/EventHub.d.ts
index 8c198ce678f19d2b61f049ec3950dfdba52d1a39..76585b9003f7c1474852b48605e5f7b2780afd9e 100644
--- a/api/application/EventHub.d.ts
+++ b/api/application/EventHub.d.ts
@@ -17,7 +17,7 @@
* The event center of a context, support the subscription and publication of events.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @devices phone, tablet, tv, wearable, car
* @permission N/A
* @StageModelOnly
@@ -28,7 +28,7 @@ export default class EventHub {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param event Indicates the event.
* @param callback Indicates the callback.
* @return -
@@ -41,7 +41,7 @@ export default class EventHub {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param event Indicates the event.
* @param callback Indicates the callback.
* @return -
@@ -54,7 +54,7 @@ export default class EventHub {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @param event Indicates the event.
* @param args Indicates the callback arguments.
* @return -
diff --git a/api/application/ExtAbilityContext.d.ts b/api/application/ExtAbilityContext.d.ts
index c8cccfb6b2d788463029406016e348d5eca01d97..7863ed5573e0ebe4c52c0d6847770d467bfd13f2 100644
--- a/api/application/ExtAbilityContext.d.ts
+++ b/api/application/ExtAbilityContext.d.ts
@@ -20,7 +20,7 @@ import Context from "./Context";
* The context of an extension. It allows access to extension-specific resources.
*
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @devices phone, tablet, tv, wearable, car
* @permission N/A
* @StageModelOnly
@@ -31,7 +31,7 @@ export default class ExtAbilityContext extends Context {
* Indicates configuration information about an module.
*
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @StageModelOnly
*/
currentHapModuleInfo: HapModuleInfo;
diff --git a/api/application/ExtensionRunningInfo.d.ts b/api/application/ExtensionRunningInfo.d.ts
index 17cd0bd6e7c765a731eec4dbc5a435b8da8feda5..21b196d36414bc24a32b44e162334a6b2ada95a8 100644
--- a/api/application/ExtensionRunningInfo.d.ts
+++ b/api/application/ExtensionRunningInfo.d.ts
@@ -20,56 +20,56 @@ import bundle from '../@ohos.bundle';
* The class of an extension running information.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
*/
export interface ExtensionRunningInfo {
/**
* @default Indicates the extension of the extension info
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
extension: ElementName;
/**
* @default process id
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
pid: number;
/**
* @default user id
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
uid: number;
/**
* @default the name of the process
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
processName: string;
/**
* @default ability start time
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
startTime: number;
/**
* @default All package names under the current process
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
clientPackage: Array;
/**
* @default Enumerates types of the entension info
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
*/
type: bundle.ExtensionAbilityType;
}
\ No newline at end of file
diff --git a/api/application/FormExtensionContext.d.ts b/api/application/FormExtensionContext.d.ts
index dd2d16bc81cb98b14817a9b96a0e5e6472a91fb3..c3bd85bdb2f8203f402104992f7d2fc28a8c967e 100644
--- a/api/application/FormExtensionContext.d.ts
+++ b/api/application/FormExtensionContext.d.ts
@@ -22,7 +22,7 @@ import formBindingData from '../@ohos.application.formBindingData';
* formExtension-specific resources.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission N/A
* @StageModelOnly
*/
@@ -34,7 +34,7 @@ export default class FormExtensionContext extends ExtensionContext {
* You can use this method to update the given form
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Core
+ * @syscap SystemCapability.Ability.AbilityRuntime.Core
* @permission ohos.permission.REQUIRE_FORM.
* @param formId Indicates the given form.
* @param formBindingData Indicates the form data.
diff --git a/api/application/MissionInfo.d.ts b/api/application/MissionInfo.d.ts
index 0b2a3e92a177b5dbcb194a7ba7a40b82515fbd91..4e13609fba49fd4ad62d98ab4dad7409714567bd 100644
--- a/api/application/MissionInfo.d.ts
+++ b/api/application/MissionInfo.d.ts
@@ -19,7 +19,7 @@ import Want from "../@ohos.application.Want";
* Mission information corresponding to ability.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @devices phone, tablet, tv, wearable, car
* @permission N/A
* @systemapi hide for inner use.
@@ -29,7 +29,7 @@ export interface MissionInfo {
* Indicates mission id.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
missionId: number;
@@ -37,7 +37,7 @@ export interface MissionInfo {
* Indicates running state.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
runningState: number;
@@ -45,7 +45,7 @@ export interface MissionInfo {
* Indicates locked state.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
lockedState: boolean;
@@ -53,7 +53,7 @@ export interface MissionInfo {
* Indicates the recent create or update time of the mission.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
timestamp: string;
@@ -61,7 +61,7 @@ export interface MissionInfo {
* Indicates want of the mission.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
want: Want;
@@ -69,7 +69,7 @@ export interface MissionInfo {
* Indicates label of the mission.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
label: string;
@@ -77,7 +77,7 @@ export interface MissionInfo {
* Indicates icon path of the mission.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
iconPath: string;
@@ -85,7 +85,7 @@ export interface MissionInfo {
* Indicates whether the mision is continuable.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
continuable: boolean;
}
\ No newline at end of file
diff --git a/api/application/MissionListener.d.ts b/api/application/MissionListener.d.ts
index d9f36505f5de78a1843504bac720d42a7af37510..12bd9e64bd142a1f8a3a8aad306bcd67f31501b5 100644
--- a/api/application/MissionListener.d.ts
+++ b/api/application/MissionListener.d.ts
@@ -18,7 +18,7 @@
*
* @name MissionListener
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @permission N/A
* @systemapi hide for inner use.
*/
@@ -27,7 +27,7 @@
* Called by system when mission created.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @return -
*/
onMissionCreated(mission: number): void;
@@ -36,7 +36,7 @@
* Called by system when mission destroyed.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @return -
*/
onMissionDestroyed(mission: number): void;
@@ -45,7 +45,7 @@
* Called by system when mission shapshot changed.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @return -
*/
onMissionSnapshotChanged(mission: number): void;
@@ -54,7 +54,7 @@
* Called by system when mission moved to fornt.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @return -
*/
onMissionMovedToFront(mission: number): void;
diff --git a/api/application/MissionSnapshot.d.ts b/api/application/MissionSnapshot.d.ts
index d7b85a300f5a037e4090eb8f48fac12f5bcedc9e..3fa0dd05878ad1bb7db96bcb761bfd91b50b15f7 100644
--- a/api/application/MissionSnapshot.d.ts
+++ b/api/application/MissionSnapshot.d.ts
@@ -20,7 +20,7 @@ import { image } from '../@ohos.multimedia.image';
* Mission snapshot corresponding to mission.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @permission N/A
* @systemapi hide for inner use.
*/
@@ -29,7 +29,7 @@ export interface MissionSnapshot {
* Indicates the ability elementName of the mission.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
ability: ElementName;
@@ -37,7 +37,7 @@ export interface MissionSnapshot {
* Indicates mission snapshot.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
snapshot: image.PixelMap;
}
\ No newline at end of file
diff --git a/api/application/PermissionRequestResult.d.ts b/api/application/PermissionRequestResult.d.ts
index 6c44ea461f8be4c4a7c03b20ed9c48c9540ec04f..bd84e1f626d862d0e58a83b5c4c94e70d63b0d04 100755
--- a/api/application/PermissionRequestResult.d.ts
+++ b/api/application/PermissionRequestResult.d.ts
@@ -17,7 +17,7 @@
* The result of requestPermissionsFromUser with asynchronous callback.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @permission N/A
* @StageModelOnly
*/
@@ -26,7 +26,7 @@ export default class PermissionRequestResult {
* The permissions passed in by the user.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @StageModelOnly
*/
permissions: Array;
@@ -36,7 +36,7 @@ export default class PermissionRequestResult {
* permission is granted, and the value -1 indicates not.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @StageModelOnly
*/
authResults: Array;
diff --git a/api/application/ProcessData.d.ts b/api/application/ProcessData.d.ts
index 3bd242710666869cbdc89bb76375a0352a15e96b..8be5e311efff552f8eb946333d61bd2c7c7f7f33 100644
--- a/api/application/ProcessData.d.ts
+++ b/api/application/ProcessData.d.ts
@@ -17,7 +17,7 @@
* The process data.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi hide for inner use.
* @permission N/A
*/
@@ -26,7 +26,7 @@ export default class ProcessData {
* The bundle name.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi hide for inner use.
*/
bundleName: string;
@@ -35,7 +35,7 @@ export default class ProcessData {
* The pid.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi hide for inner use.
*/
pid: number;
@@ -44,7 +44,7 @@ export default class ProcessData {
* The uid.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi hide for inner use.
*/
uid: number;
diff --git a/api/application/ProcessRunningInfo.d.ts b/api/application/ProcessRunningInfo.d.ts
index 9349cb9135ecdf064806690211e3ac8592d9f3e9..3b641ec2e55bb6a7e884f5a2945cee8db7fbc0bc 100644
--- a/api/application/ProcessRunningInfo.d.ts
+++ b/api/application/ProcessRunningInfo.d.ts
@@ -17,35 +17,35 @@
* The class of an process running information.
*
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @permission N/A
*/
export interface ProcessRunningInfo {
/**
* @default process id
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
pid: number;
/**
* @default user id
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
uid: number;
/**
* @default the name of the process
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
processName: string;
/**
* @default an array of the bundleNames running in the process
* @since 8
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
*/
bundleNames: Array;
}
\ No newline at end of file
diff --git a/api/application/ServiceExtAbilityContext.d.ts b/api/application/ServiceExtAbilityContext.d.ts
index 6ffe342387e66323cc19ba25e4cab726dc761553..254646effdda2a443dafedfb5ebe573fda560520 100644
--- a/api/application/ServiceExtAbilityContext.d.ts
+++ b/api/application/ServiceExtAbilityContext.d.ts
@@ -24,7 +24,7 @@ import StartOptions from "../@ohos.application.StartOptions";
* serviceExtension-specific resources.
*
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @devices phone, tablet, tv, wearable, car
* @systemapi hide for inner use.
* @permission N/A
@@ -36,7 +36,7 @@ export default class ServiceExtAbilityContext extends ExtAbilityContext {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @param parameter Indicates the ability to start.
* @systemapi hide for inner use.
* @return -
@@ -51,7 +51,7 @@ export default class ServiceExtAbilityContext extends ExtAbilityContext {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @param parameter Indicates the ability to start.
* @param parameter Indicates the accountId to start.
* @systemapi hide for inner use.
@@ -67,7 +67,7 @@ export default class ServiceExtAbilityContext extends ExtAbilityContext {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @systemapi hide for inner use.
* @return -
* @StageModelOnly
@@ -84,7 +84,7 @@ export default class ServiceExtAbilityContext extends ExtAbilityContext {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @param request Indicates the service extension to connect.
* @systemapi hide for inner use.
* @return connection id, int value.
@@ -101,7 +101,7 @@ export default class ServiceExtAbilityContext extends ExtAbilityContext {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @param request Indicates the service extension to connect.
* @param request Indicates the account to connect.
* @systemapi hide for inner use.
@@ -116,7 +116,7 @@ export default class ServiceExtAbilityContext extends ExtAbilityContext {
*
* @devices phone, tablet, tv, wearable, car
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
* @param connection the connection id returned from connectAbility api.
* @systemapi hide for inner use.
* @return -
diff --git a/api/application/ServiceExtensionContext.d.ts b/api/application/ServiceExtensionContext.d.ts
index ce5e61f0654409a57810d33d2bb64108bf4c0509..804f385c1ba00e8a11d862aaaae7aa9d2c1c1a5d 100644
--- a/api/application/ServiceExtensionContext.d.ts
+++ b/api/application/ServiceExtensionContext.d.ts
@@ -25,7 +25,7 @@ import { ExtensionAbilityInfo } from "../bundle/extensionAbilityInfo";
* serviceExtension-specific resources.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi hide for inner use.
* @permission N/A
* @StageModelOnly
@@ -35,7 +35,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
* Service extension information.
*
* @since 9
- * @sysCap AAFwk
+ * @syscap AAFwk
*/
extensionAbilityInfo: ExtensionAbilityInfo;
@@ -43,7 +43,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
* Service extension uses this method to start a specific ability.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @param parameter Indicates the ability to start.
* @systemapi hide for inner use.
* @return -
@@ -57,7 +57,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
* Service extension uses this method to start a specific ability with account.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @param parameter Indicates the ability to start.
* @param parameter Indicates the accountId to start.
* @systemapi hide for inner use.
@@ -72,7 +72,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
* Destroys this service extension.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @systemapi hide for inner use.
* @return -
* @StageModelOnly
@@ -88,7 +88,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
* service extension when the Service extension is connected.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @param request Indicates the service extension to connect.
* @systemapi hide for inner use.
* @return connection id, int value.
@@ -104,7 +104,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
* service extension when the Service extension is connected.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @param request Indicates the service extension to connect.
* @param request Indicates the account to connect.
* @systemapi hide for inner use.
@@ -118,7 +118,7 @@ export default class ServiceExtensionContext extends ExtensionContext {
* {@link connectAbility}.
*
* @since 9
- * @sysCap SystemCapability.Ability.AbilityRuntime.Mission
+ * @syscap SystemCapability.Ability.AbilityRuntime.Mission
* @param connection the connection id returned from connectAbility api.
* @systemapi hide for inner use.
* @return -
diff --git a/api/liteWearable/@system.app.d.ts b/api/liteWearable/@system.app.d.ts
index a25c8d9414277aec135bfea073b516442670cd20..91b6a42b2a0a95201e454d5d6b083e42427d46c1 100644
--- a/api/liteWearable/@system.app.d.ts
+++ b/api/liteWearable/@system.app.d.ts
@@ -60,7 +60,7 @@ export interface ScreenOnVisibleOptions {
}
/**
- * @Syscap SysCap.ACE.UIEngineLite
+ * @syscap SysCap.ACE.UIEngineLite
*/
export default class App {
/**
diff --git a/api/liteWearable/@system.configuration.d.ts b/api/liteWearable/@system.configuration.d.ts
index 1d774e43b2d3560328038a2fc7183458ac8cdace..7d66a9ad0d3ba4c850bf5471833f7efab1bd10d1 100644
--- a/api/liteWearable/@system.configuration.d.ts
+++ b/api/liteWearable/@system.configuration.d.ts
@@ -36,7 +36,7 @@ export interface LocaleResponse {
}
/**
- * @Syscap SysCap.ACE.UIEngineLite
+ * @syscap SysCap.ACE.UIEngineLite
*/
export default class Configuration {
/**
diff --git a/api/liteWearable/@system.file.d.ts b/api/liteWearable/@system.file.d.ts
index fdbce98685ffd25329bf97927ee67f041a213d54..ca61e20268b187e471689c3f9978e020bc5f72d0 100644
--- a/api/liteWearable/@system.file.d.ts
+++ b/api/liteWearable/@system.file.d.ts
@@ -52,7 +52,7 @@ export interface FileResponse {
}
/**
- * @Syscap SysCap.ACE.UIEngineLite
+ * @syscap SysCap.ACE.UIEngineLite
*/
export default class File {
/**
diff --git a/api/liteWearable/@system.router.d.ts b/api/liteWearable/@system.router.d.ts
index 6435e2e6930ef8268b9059d2bab8fd478d57d5bc..31604f6db81a29b9a011125f269d9267088c85a3 100644
--- a/api/liteWearable/@system.router.d.ts
+++ b/api/liteWearable/@system.router.d.ts
@@ -35,7 +35,7 @@ export interface RouterOptions {
}
/**
- * @Syscap SysCap.ACE.UIEngineLite
+ * @syscap SysCap.ACE.UIEngineLite
*/
export default class Router {
/**
diff --git a/api/notification/notificationFlags.ts b/api/notification/notificationFlags.ts
index 3e554d9bef41c6da81b44abee095c871c2d1d0c3..9fcc00325e5b07d7ea8042a778ecd51c6d7ffe47 100644
--- a/api/notification/notificationFlags.ts
+++ b/api/notification/notificationFlags.ts
@@ -18,7 +18,7 @@
*
* @since 8
* @systemapi Hide this for inner system use.
- * @sysCap SystemCapability.Notification.Notification
+ * @syscap SystemCapability.Notification.Notification
*/
export enum NotificationFlagStatus {
/**
diff --git a/api/notification/notificationRequest.d.ts b/api/notification/notificationRequest.d.ts
index 9accc34cc170b4d355d705ab49b1f0fd1b02c123..2ace6b67ad12a8f65ad5745b34247a233cfc309d 100644
--- a/api/notification/notificationRequest.d.ts
+++ b/api/notification/notificationRequest.d.ts
@@ -232,7 +232,7 @@ export interface NotificationRequest {
*
* @name DistributedOptions
* @since 8
- * @sysCap SystemCapability.Notification.Notification
+ * @syscap SystemCapability.Notification.Notification
* @permission N/A
*/
export interface DistributedOptions {