mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-26 17:00:52 +00:00
commonlibrary api doc add @type and @typedef
https://gitee.com/openharmony/interface_sdk-js/issues/IAHP0U Signed-off-by: Chongwei Su <suchongwei@huawei.com>
This commit is contained in:
parent
224198957f
commit
60b0524cb0
10
api/@ohos.buffer.d.ts
vendored
10
api/@ohos.buffer.d.ts
vendored
@ -46,12 +46,14 @@ declare namespace buffer {
|
||||
/**
|
||||
* This parameter specifies the type of a common encoding format.
|
||||
*
|
||||
* @typedef { 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex' }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 9
|
||||
*/
|
||||
/**
|
||||
* This parameter specifies the type of a common encoding format.
|
||||
*
|
||||
* @typedef { 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex' }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -59,6 +61,7 @@ declare namespace buffer {
|
||||
/**
|
||||
* This parameter specifies the type of a common encoding format.
|
||||
*
|
||||
* @typedef { 'ascii' | 'utf8' | 'utf-8' | 'utf16le' | 'ucs2' | 'ucs-2' | 'base64' | 'base64url' | 'latin1' | 'binary' | 'hex' }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -91,7 +94,9 @@ declare namespace buffer {
|
||||
*/
|
||||
/**
|
||||
* TypedArray inherits the features and methods of Int8Array
|
||||
*
|
||||
* @interface TypedArray
|
||||
* @extends Int8Array
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -734,6 +739,7 @@ declare namespace buffer {
|
||||
/**
|
||||
* Returns the number of bytes in buf
|
||||
*
|
||||
* @type { number }
|
||||
* @throws { BusinessError } 10200013 - Length cannot be set for the buffer that has only a getter.
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
@ -760,6 +766,7 @@ declare namespace buffer {
|
||||
/**
|
||||
* The underlying ArrayBuffer object based on which this Buffer object is created.
|
||||
*
|
||||
* @type { ArrayBuffer }
|
||||
* @throws { BusinessError } 10200013 - Buffer cannot be set for the buffer that has only a getter.
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
@ -786,6 +793,7 @@ declare namespace buffer {
|
||||
/**
|
||||
* The byteOffset of the Buffers underlying ArrayBuffer object
|
||||
*
|
||||
* @type { number }
|
||||
* @throws { BusinessError } 10200013 - ByteOffset cannot be set for the buffer that has only a getter.
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
@ -3382,6 +3390,7 @@ declare namespace buffer {
|
||||
/**
|
||||
* The total size of the Blob in bytes
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -3405,6 +3414,7 @@ declare namespace buffer {
|
||||
/**
|
||||
* The content-type of the Blob
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
19
api/@ohos.convertxml.d.ts
vendored
19
api/@ohos.convertxml.d.ts
vendored
@ -84,6 +84,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to trim whitespace characters that may exist before and after the text, default false.
|
||||
*
|
||||
* @type { boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -106,6 +107,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore writing declaration directives of xml.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -128,6 +130,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore writing processing instruction of xml.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -150,6 +153,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to print attributes across multiple lines and indent them.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -172,6 +176,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore writing comments of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -194,6 +199,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore writing CDATA of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -216,6 +222,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore writing Doctype of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -238,6 +245,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore writing texts of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -260,6 +268,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the declaration.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -282,6 +291,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the processing instruction.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -304,6 +314,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the attributes.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -326,6 +337,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the text.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -348,6 +360,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the cdata.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -370,6 +383,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the doctype.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -392,6 +406,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the comment.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -414,6 +429,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the parent.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -436,6 +452,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the type.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -458,6 +475,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the name.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -480,6 +498,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Name of the property key which will be used for the elements.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.taskpool.d.ts
vendored
3
api/@ohos.taskpool.d.ts
vendored
@ -472,6 +472,7 @@ declare namespace taskpool {
|
||||
/**
|
||||
* Concurrent function to execute in taskpool.
|
||||
*
|
||||
* @type { Function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -507,6 +508,7 @@ declare namespace taskpool {
|
||||
/**
|
||||
* Task name.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -677,6 +679,7 @@ declare namespace taskpool {
|
||||
/**
|
||||
* TaskGroup name.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
8
api/@ohos.uri.d.ts
vendored
8
api/@ohos.uri.d.ts
vendored
@ -435,6 +435,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets/Sets the protocol part of the URI.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -466,6 +467,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets/Sets Obtains the user information part of the URI.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -489,6 +491,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets the hostname portion of the URI without a port.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -512,6 +515,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets the port portion of the URI.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -543,6 +547,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets/Sets the path portion of the URI.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -574,6 +579,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets/Sets the query portion of the URI
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -605,6 +611,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets/Sets the fragment part of the URI.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -636,6 +643,7 @@ declare namespace uri {
|
||||
/**
|
||||
* Gets/Sets the decoding permission component part of this URI.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
36
api/@ohos.url.d.ts
vendored
36
api/@ohos.url.d.ts
vendored
@ -916,12 +916,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the fragment portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the fragment portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -929,6 +931,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the fragment portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -939,12 +942,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the host portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the host portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -952,6 +957,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the host portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -962,12 +968,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the host name portion of the URL,not include the port.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the host name portion of the URL,not include the port.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -975,6 +983,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the host name portion of the URL,not include the port.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -985,12 +994,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the serialized URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the serialized URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -998,6 +1009,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the serialized URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1008,12 +1020,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets the read-only serialization of the URL's origin.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets the read-only serialization of the URL's origin.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1021,6 +1035,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets the read-only serialization of the URL's origin.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1031,12 +1046,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the password portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the password portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1044,6 +1061,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the password portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1054,12 +1072,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the path portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the path portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1067,6 +1087,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the path portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1077,12 +1098,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the port portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the port portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1090,6 +1113,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the port portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1100,12 +1124,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the protocol portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the protocol portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1113,6 +1139,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the protocol portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1123,12 +1150,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the serialized query portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the serialized query portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1136,6 +1165,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the serialized query portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1160,6 +1190,7 @@ declare namespace url {
|
||||
* This property is read-only, but URLParams provides an object that can be used to change
|
||||
* the URL instance. To replace the entire query parameter for a URL, use url.searchsetter.
|
||||
*
|
||||
* @type { URLParams }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 9
|
||||
*/
|
||||
@ -1168,6 +1199,7 @@ declare namespace url {
|
||||
* This property is read-only, but URLParams provides an object that can be used to change
|
||||
* the URL instance. To replace the entire query parameter for a URL, use url.searchsetter.
|
||||
*
|
||||
* @type { URLParams }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1177,6 +1209,7 @@ declare namespace url {
|
||||
* This property is read-only, but URLParams provides an object that can be used to change
|
||||
* the URL instance. To replace the entire query parameter for a URL, use url.searchsetter.
|
||||
*
|
||||
* @type { URLParams }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1187,12 +1220,14 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the username portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Gets and sets the username portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1200,6 +1235,7 @@ declare namespace url {
|
||||
/**
|
||||
* Gets and sets the username portion of the URL.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.ArrayList.d.ts
vendored
3
api/@ohos.util.ArrayList.d.ts
vendored
@ -71,12 +71,14 @@ declare class ArrayList<T> {
|
||||
/**
|
||||
* Gets the element number of the ArrayList.This is a number one higher than the highest index in the arraylist.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the ArrayList.This is a number one higher than the highest index in the arraylist.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -84,6 +86,7 @@ declare class ArrayList<T> {
|
||||
/**
|
||||
* Gets the element number of the ArrayList.This is a number one higher than the highest index in the arraylist.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.Deque.d.ts
vendored
3
api/@ohos.util.Deque.d.ts
vendored
@ -74,12 +74,14 @@ declare class Deque<T> {
|
||||
/**
|
||||
* Gets the element number of the Deque.This is a number one higher than the highest index in the deque.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the Deque.This is a number one higher than the highest index in the deque.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -87,6 +89,7 @@ declare class Deque<T> {
|
||||
/**
|
||||
* Gets the element number of the Deque.This is a number one higher than the highest index in the deque.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.HashMap.d.ts
vendored
3
api/@ohos.util.HashMap.d.ts
vendored
@ -71,12 +71,14 @@ declare class HashMap<K, V> {
|
||||
/**
|
||||
* Gets the element number of the hashmap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the hashmap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -84,6 +86,7 @@ declare class HashMap<K, V> {
|
||||
/**
|
||||
* Gets the element number of the hashmap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.HashSet.d.ts
vendored
3
api/@ohos.util.HashSet.d.ts
vendored
@ -68,12 +68,14 @@ declare class HashSet<T> {
|
||||
/**
|
||||
* Gets the element number of the hashset.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the hashset.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -81,6 +83,7 @@ declare class HashSet<T> {
|
||||
/**
|
||||
* Gets the element number of the hashset.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.LightWeightMap.d.ts
vendored
3
api/@ohos.util.LightWeightMap.d.ts
vendored
@ -68,12 +68,14 @@ declare class LightWeightMap<K, V> {
|
||||
/**
|
||||
* Gets the element number of the LightWeightMap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the LightWeightMap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -81,6 +83,7 @@ declare class LightWeightMap<K, V> {
|
||||
/**
|
||||
* Gets the element number of the LightWeightMap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.LightWeightSet.d.ts
vendored
3
api/@ohos.util.LightWeightSet.d.ts
vendored
@ -68,12 +68,14 @@ declare class LightWeightSet<T> {
|
||||
/**
|
||||
* Gets the element number of the LightWeightSet.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the LightWeightSet.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -81,6 +83,7 @@ declare class LightWeightSet<T> {
|
||||
/**
|
||||
* Gets the element number of the LightWeightSet.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.LinkedList.d.ts
vendored
3
api/@ohos.util.LinkedList.d.ts
vendored
@ -74,12 +74,14 @@ declare class LinkedList<T> {
|
||||
/**
|
||||
* Gets the element number of the LinkedList. This is a number one higher than the highest index in the linkedlist.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the LinkedList. This is a number one higher than the highest index in the linkedlist.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -87,6 +89,7 @@ declare class LinkedList<T> {
|
||||
/**
|
||||
* Gets the element number of the LinkedList. This is a number one higher than the highest index in the linkedlist.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.List.d.ts
vendored
3
api/@ohos.util.List.d.ts
vendored
@ -71,12 +71,14 @@ declare class List<T> {
|
||||
/**
|
||||
* Gets the element number of the List. This is a number one higher than the highest index in the list.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the List. This is a number one higher than the highest index in the list.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -84,6 +86,7 @@ declare class List<T> {
|
||||
/**
|
||||
* Gets the element number of the List. This is a number one higher than the highest index in the list.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.PlainArray.d.ts
vendored
3
api/@ohos.util.PlainArray.d.ts
vendored
@ -71,12 +71,14 @@ declare class PlainArray<T> {
|
||||
/**
|
||||
* Gets the element number of the PlainArray.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the PlainArray.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -84,6 +86,7 @@ declare class PlainArray<T> {
|
||||
/**
|
||||
* Gets the element number of the PlainArray.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.Queue.d.ts
vendored
3
api/@ohos.util.Queue.d.ts
vendored
@ -74,12 +74,14 @@ declare class Queue<T> {
|
||||
/**
|
||||
* Gets the element number of the Queue.This is a number one higher than the highest index in the queue.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the Queue.This is a number one higher than the highest index in the queue.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -87,6 +89,7 @@ declare class Queue<T> {
|
||||
/**
|
||||
* Gets the element number of the Queue.This is a number one higher than the highest index in the queue.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.Stack.d.ts
vendored
3
api/@ohos.util.Stack.d.ts
vendored
@ -71,12 +71,14 @@ declare class Stack<T> {
|
||||
/**
|
||||
* Gets the element number of the Stack. This is a number one higher than the highest index in the Stack.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the Stack. This is a number one higher than the highest index in the Stack.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -84,6 +86,7 @@ declare class Stack<T> {
|
||||
/**
|
||||
* Gets the element number of the Stack. This is a number one higher than the highest index in the Stack.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.TreeMap.d.ts
vendored
3
api/@ohos.util.TreeMap.d.ts
vendored
@ -95,12 +95,14 @@ declare class TreeMap<K, V> {
|
||||
/**
|
||||
* Gets the element number of the hashmap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the hashmap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -108,6 +110,7 @@ declare class TreeMap<K, V> {
|
||||
/**
|
||||
* Gets the element number of the hashmap.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
3
api/@ohos.util.TreeSet.d.ts
vendored
3
api/@ohos.util.TreeSet.d.ts
vendored
@ -92,12 +92,14 @@ declare class TreeSet<T> {
|
||||
/**
|
||||
* Gets the element number of the TreeSet.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Gets the element number of the TreeSet.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -105,6 +107,7 @@ declare class TreeSet<T> {
|
||||
/**
|
||||
* Gets the element number of the TreeSet.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
13
api/@ohos.util.d.ts
vendored
13
api/@ohos.util.d.ts
vendored
@ -519,12 +519,14 @@ declare namespace util {
|
||||
/**
|
||||
* The source encoding's name, lowercased.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* The source encoding's name, lowercased.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -532,6 +534,7 @@ declare namespace util {
|
||||
/**
|
||||
* The source encoding's name, lowercased.
|
||||
*
|
||||
* @type { string }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -542,12 +545,14 @@ declare namespace util {
|
||||
/**
|
||||
* Returns `true` if error mode is "fatal", and `false` otherwise.
|
||||
*
|
||||
* @type { boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Returns `true` if error mode is "fatal", and `false` otherwise.
|
||||
*
|
||||
* @type { boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -555,6 +560,7 @@ declare namespace util {
|
||||
/**
|
||||
* Returns `true` if error mode is "fatal", and `false` otherwise.
|
||||
*
|
||||
* @type { boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -565,12 +571,14 @@ declare namespace util {
|
||||
/**
|
||||
* Returns `true` if ignore BOM flag is set, and `false` otherwise.
|
||||
*
|
||||
* @type { false }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Returns `true` if ignore BOM flag is set, and `false` otherwise.
|
||||
*
|
||||
* @type { false }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -578,6 +586,7 @@ declare namespace util {
|
||||
/**
|
||||
* Returns `true` if ignore BOM flag is set, and `false` otherwise.
|
||||
*
|
||||
* @type { false }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -751,12 +760,14 @@ declare namespace util {
|
||||
/**
|
||||
* Encoding format.
|
||||
*
|
||||
* @type { 'utf-8' }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 7
|
||||
*/
|
||||
/**
|
||||
* Encoding format.
|
||||
*
|
||||
* @type { 'utf-8' }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -764,6 +775,7 @@ declare namespace util {
|
||||
/**
|
||||
* Encoding format.
|
||||
*
|
||||
* @type { 'utf-8' }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1434,6 +1446,7 @@ declare namespace util {
|
||||
/**
|
||||
* Obtains a list of all values in the current buffer.
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
* @deprecated since 9
|
||||
|
15
api/@ohos.xml.d.ts
vendored
15
api/@ohos.xml.d.ts
vendored
@ -1051,12 +1051,14 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to parsing Doctype of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Whether to parsing Doctype of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1064,6 +1066,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to parsing Doctype of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1074,12 +1077,14 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore parsing texts of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Whether to ignore parsing texts of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1087,6 +1092,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Whether to ignore parsing texts of the elements.
|
||||
*
|
||||
* @type { ?boolean }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1097,12 +1103,14 @@ declare namespace xml {
|
||||
/**
|
||||
* Tag value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Tag value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1110,6 +1118,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Tag value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1120,12 +1129,14 @@ declare namespace xml {
|
||||
/**
|
||||
* Attribute value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Attribute value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1133,6 +1144,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Attribute value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1143,12 +1155,14 @@ declare namespace xml {
|
||||
/**
|
||||
* Token value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @since 8
|
||||
*/
|
||||
/**
|
||||
* Token value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
@ -1156,6 +1170,7 @@ declare namespace xml {
|
||||
/**
|
||||
* Token value callback function.
|
||||
*
|
||||
* @type { ?function }
|
||||
* @syscap SystemCapability.Utils.Lang
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
|
Loading…
Reference in New Issue
Block a user