diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts index fe6c8fbd75350fa0211ac69d69f0f8e280517c35..5d89162c3cd7d22bcf8fb6fcd2ba1e18bbbc2dc8 100644 --- a/api/@ohos.deviceInfo.d.ts +++ b/api/@ohos.deviceInfo.d.ts @@ -138,7 +138,7 @@ declare namespace deviceInfo { * which can be {@code phone} (or {@code default} for phones), {@code wearable}, {@code liteWearable}, * {@code tablet}, {@code tv}, {@code car}, or {@code smartVision}. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -156,7 +156,7 @@ declare namespace deviceInfo { /** * Obtains the device manufacturer represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -181,7 +181,7 @@ declare namespace deviceInfo { /** * Obtains the device brand represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -199,7 +199,7 @@ declare namespace deviceInfo { /** * Obtains the external product series represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -216,7 +216,7 @@ declare namespace deviceInfo { /** * Obtains the product series represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -241,7 +241,7 @@ declare namespace deviceInfo { /** * Obtains the product model represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -252,6 +252,7 @@ declare namespace deviceInfo { /** * Obtains the product model alias represented by a string. * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -269,7 +270,7 @@ declare namespace deviceInfo { /** * Obtains the software model represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -286,7 +287,7 @@ declare namespace deviceInfo { /** * Obtains the hardware model represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -296,7 +297,7 @@ declare namespace deviceInfo { /** * Obtains the hardware profile represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 6 * @deprecated since 9 @@ -307,7 +308,7 @@ declare namespace deviceInfo { * Obtains the device serial number represented by a string. * * @permission ohos.permission.sec.ACCESS_UDID - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 6 */ @@ -323,7 +324,7 @@ declare namespace deviceInfo { /** * Obtains the bootloader version number represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -340,7 +341,7 @@ declare namespace deviceInfo { /** * Obtains the application binary interface (Abi) list represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -357,7 +358,7 @@ declare namespace deviceInfo { /** * Obtains the security patch level represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -374,7 +375,7 @@ declare namespace deviceInfo { /** * Obtains the product version represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -391,7 +392,7 @@ declare namespace deviceInfo { /** * Obtains the incremental version represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -412,7 +413,7 @@ declare namespace deviceInfo { *
The OS release category can be {@code Release}, {@code Beta}, or {@code Canary}. * The specific release type may be {@code Release}, {@code Beta1}, or others alike. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -437,7 +438,7 @@ declare namespace deviceInfo { /** * Obtains the OS version represented by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -457,7 +458,7 @@ declare namespace deviceInfo { * Obtains the major (M) version number, which increases with any updates to the overall architecture. *
The M version number monotonically increases from 1 to 99. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -478,7 +479,7 @@ declare namespace deviceInfo { * architecture or major features. *
The S version number monotonically increases from 0 to 99. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -497,7 +498,7 @@ declare namespace deviceInfo { * Obtains the feature (F) version number, which increases with any planned new features. *
The F version number monotonically increases from 0 or 1 to 99. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -516,7 +517,7 @@ declare namespace deviceInfo { * Obtains the build (B) version number, which increases with each new development build. *
The B version number monotonically increases from 0 or 1 to 999. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -541,7 +542,7 @@ declare namespace deviceInfo { /** * Obtains the SDK API version number. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @atomicservice @@ -559,7 +560,7 @@ declare namespace deviceInfo { /** * Obtains the first API version number. * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -576,7 +577,7 @@ declare namespace deviceInfo { /** * Obtains the version ID by a string. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -593,7 +594,7 @@ declare namespace deviceInfo { /** * Obtains the build types of the same baseline code. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -610,7 +611,7 @@ declare namespace deviceInfo { /** * Obtains the different build user of the same baseline code. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -627,7 +628,7 @@ declare namespace deviceInfo { /** * Obtains the different build host of the same baseline code. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -644,7 +645,7 @@ declare namespace deviceInfo { /** * Obtains the build time. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -661,7 +662,7 @@ declare namespace deviceInfo { /** * Obtains the version hash. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 10 @@ -672,7 +673,7 @@ declare namespace deviceInfo { * Obtains the device udid. * * @permission ohos.permission.sec.ACCESS_UDID - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 7 */ @@ -684,7 +685,7 @@ declare namespace deviceInfo { * distributionOsName will return the ISV OS name * If ISV not specified, it will return an empty string * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -696,7 +697,7 @@ declare namespace deviceInfo { * distributionOSVersion will return the ISV OS version * If ISV not specified, it will return the same value as osFullName * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -708,7 +709,7 @@ declare namespace deviceInfo { * distributionOSVersion will return the ISV OS api version * If ISV not specified, it will return the same value as sdkApiVersion * - * + * @type { number } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -719,6 +720,7 @@ declare namespace deviceInfo { *
Independent Software Vendor (ISV) may distribute OHOS with their own OS api name. * distributionOSApiName will return the ISV OS api name * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 13 */ @@ -730,7 +732,7 @@ declare namespace deviceInfo { * distributionOSVersion will return the ISV OS release type * If ISV not specified, it will return the same value as osReleaseType * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 10 */ @@ -751,7 +753,7 @@ declare namespace deviceInfo { * For apps from the same developer, which are running on different devices, each of them has its own ODID. * For apps from different developers, which are running on different devices, each of them has its own ODID. * - * + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 12 */ @@ -761,6 +763,7 @@ declare namespace deviceInfo { * Obtaining the hard drive serial number. * * @permission ohos.permission.ACCESS_DISK_PHY_INFO + * @type { string } * @syscap SystemCapability.Startup.SystemInfo * @since 15 */ @@ -804,6 +807,7 @@ declare namespace deviceInfo { /** * Obtaining the performance class. * + * @type { PerformanceClassLevel } * @syscap SystemCapability.Startup.SystemInfo * @crossplatform * @since 19