diff --git a/api/@ohos.data.unifiedDataChannel.d.ts b/api/@ohos.data.unifiedDataChannel.d.ts index bdc283df1fec4dc465c1b011c64750a5d43cdece..cf4aa158b6f94afb58628a7e316b9727c16922c1 100644 --- a/api/@ohos.data.unifiedDataChannel.d.ts +++ b/api/@ohos.data.unifiedDataChannel.d.ts @@ -62,7 +62,7 @@ import Want from "./@ohos.app.ability.Want"; declare namespace unifiedDataChannel { /** * Types of scope that UnifiedData can be used. - * @enum { number } + * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 12 @@ -84,6 +84,15 @@ declare namespace unifiedDataChannel { CROSS_APP } + /** + * RrcordData is used for input parameter obj of the equal function + * @typedef { undefined | null | Object | Record | Array } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + type RecordData = undefined | null | Object | Record | Array; + /** * Indicated delay get UnifiedData * @@ -98,21 +107,29 @@ declare namespace unifiedDataChannel { /** * Indicates type of value. - * @typedef {number | string | boolean | image.PixelMap | Want | ArrayBuffer | object | null | undefined} + * @typedef {int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | object | null | undefined} * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 12 */ /** * Indicates type of value. - * @typedef {number | string | boolean | image.PixelMap | Want | ArrayBuffer | object | null | undefined} + * @typedef {int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | object | null | undefined} * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since arkts {'1.1':'14', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 14 */ - type ValueType = number | string | boolean | image.PixelMap | Want | ArrayBuffer | object | null | undefined; + type ValueType = int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | object | null | undefined; + + /** + * Indicates type of value. + * @typedef {int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | RecordData | null | undefined} + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + type ValueType = int | long | double | string | boolean | image.PixelMap | Want | ArrayBuffer | RecordData | null | undefined; /** * Describe the unified data properties. @@ -268,7 +285,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ addRecord(record: UnifiedRecord): void; /** @@ -380,12 +398,13 @@ declare namespace unifiedDataChannel { /** * A map for each type and data size, key is data type, value is the corresponding data size * - * @type { Record } + * @type { Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ - summary: Record; + summary: Record; /** * Total data size of data in Bytes * @@ -395,12 +414,13 @@ declare namespace unifiedDataChannel { /** * Total data size of data in Bytes * - * @type { number } + * @type { long } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ - totalSize: number; + totalSize: long; } /** @@ -451,7 +471,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ getType(): string; @@ -518,7 +539,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ getValue(): ValueType; @@ -593,7 +615,8 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ class Text extends UnifiedRecord { /** @@ -620,92 +643,83 @@ declare namespace unifiedDataChannel { * @since 14 */ details?: Record; - } - /** - * Describe the unified plain text data - * - * @extends Text - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 - */ - /** - * Describe the unified plain text data - * - * @extends Text - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 - */ - /** - * Describe the unified plain text data - * - * @extends Text - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @crossplatform - * @atomicservice - * @since 14 - */ - class PlainText extends Text { /** - * Indicates the content of text + * Indicates the details of unified text * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the content of text + * Indicates the details of unified text * - * @type { string } + * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * Indicates the content of text + * Indicates the details of unified text * - * @type { string } + * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice * @since 14 */ - textContent: string; /** - * Indicates the abstract of text + * Indicates the details of unified text + * + * @returns { Record | undefined } the details of unified text + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get details(): Record | undefined; + + /** + * Indicates the details of unified text * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the abstract of text + * Indicates the details of unified text * - * @type { ?string } + * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * Indicates the abstract of text + * Indicates the details of unified text * - * @type { ?string } + * @type { ?Record } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice * @since 14 */ - abstract?: string; + /** + * Indicates the details of unified text + * + * @param { Record | undefined } the details of unified text + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set details(value: Record | undefined); } /** - * Describe the unified link data + * Describe the unified plain text data * * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Describe the unified link data + * Describe the unified plain text data * * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -713,23 +727,24 @@ declare namespace unifiedDataChannel { * @since 11 */ /** - * Describe the unified link data + * Describe the unified plain text data * * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ - class Hyperlink extends Text { + class PlainText extends Text { /** - * Indicates the url of a link + * Indicates the content of text * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the url of a link + * Indicates the content of text * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -737,7 +752,7 @@ declare namespace unifiedDataChannel { * @since 11 */ /** - * Indicates the url of a link + * Indicates the content of text * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -745,66 +760,49 @@ declare namespace unifiedDataChannel { * @atomicservice * @since 14 */ - url: string; + textContent: string; + /** - * Indicates the description of a link + * Indicates the content of text * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the description of a link + * Indicates the content of text * - * @type { ?string } + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * Indicates the description of a link + * Indicates the content of text * - * @type { ?string } + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice * @since 14 */ - description?: string; - } + /** + * Indicates the content of text + * + * @returns { string } the content of text + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get textContent(): string; - /** - * Describe the unified html data - * - * @extends Text - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 - */ - /** - * Describe the unified html data - * - * @extends Text - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 - */ - /** - * Describe the unified html data - * - * @extends Text - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @crossplatform - * @atomicservice - * @since 14 - */ - class HTML extends Text { /** - * Indicates the content of html, with html tags + * Indicates the content of text * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the content of html, with html tags + * Indicates the content of text * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -812,7 +810,7 @@ declare namespace unifiedDataChannel { * @since 11 */ /** - * Indicates the content of html, with html tags + * Indicates the content of text * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -820,15 +818,24 @@ declare namespace unifiedDataChannel { * @atomicservice * @since 14 */ - htmlContent: string; /** - * Indicates the plain content of html + * Indicates the content of text + * + * @param { string } the content of text + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set textContent(value: string); + + /** + * Indicates the abstract of text * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the plain content of html + * Indicates the abstract of text * * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -836,7 +843,7 @@ declare namespace unifiedDataChannel { * @since 11 */ /** - * Indicates the plain content of html + * Indicates the abstract of text * * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -844,66 +851,90 @@ declare namespace unifiedDataChannel { * @atomicservice * @since 14 */ - plainContent?: string; + abstract?: string; + + /** + * Indicates the abstract of text + * + * @returns { string | undefined } the abstract of text + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @since 20 + * @arkts 1.2 + */ + get textAbstract(): string | undefined; + + /** + * Indicates the abstract of text + * + * @param { string | undefined } the abstract of text + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @since 20 + * @arkts 1.2 + */ + set textAbstract(value: string | undefined); } /** - * Describe the unified file data + * Describe the unified link data * - * @extends UnifiedRecord + * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Describe the unified file data + * Describe the unified link data * - * @extends UnifiedRecord + * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * Describe the unified file data + * Describe the unified link data * - * @extends UnifiedRecord + * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ - class File extends UnifiedRecord { + class Hyperlink extends Text { /** - * Indicates the details of unified File + * Indicates the url of a link * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the details of unified File + * Indicates the url of a link * - * @type { ?Record } + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * Indicates the details of unified File + * Indicates the url of a link * - * @type { ?Record } + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice * @since 14 */ - details?: Record; + url: string; + /** - * URI of the local file or online file. The local file URI can be obtained using the getUriFromPath function. + * Indicates the url of a link * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * URI of the local file or online file. The local file URI can be obtained using the getUriFromPath function. + * Indicates the url of a link * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -911,7 +942,7 @@ declare namespace unifiedDataChannel { * @since 11 */ /** - * URI of the local file or online file. The local file URI can be obtained using the getUriFromPath function. + * Indicates the url of a link * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -919,42 +950,24 @@ declare namespace unifiedDataChannel { * @atomicservice * @since 14 */ - uri: string; - } - - /** - * Describe the unified image data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 - */ - /** - * Describe the unified image data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 - */ - /** - * Describe the unified image data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @crossplatform - * @atomicservice - * @since 14 - */ - class Image extends File { /** - * URI of the local image or online image. The local image URI can be obtained using the getUriFromPath function. + * Indicates the url of a link + * + * @returns { string } the url of a link + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get url(): string; + + /** + * Indicates the url of a link * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * URI of the local image or online image. The local image URI can be obtained using the getUriFromPath function. + * Indicates the url of a link * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -962,7 +975,7 @@ declare namespace unifiedDataChannel { * @since 11 */ /** - * URI of the local image or online image. The local image URI can be obtained using the getUriFromPath function. + * Indicates the url of a link * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -970,144 +983,142 @@ declare namespace unifiedDataChannel { * @atomicservice * @since 14 */ - imageUri: string; - } + /** + * Indicates the url of a link + * + * @param { string } the url of a link + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set url(value: string); - /** - * Describe the unified video data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 - */ - /** - * Describe the unified video data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 - */ - /** - * Describe the unified video data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @crossplatform - * @atomicservice - * @since 14 - */ - class Video extends File { /** - * URI of the local video or online video. The local video URI can be obtained using the getUriFromPath function. + * Indicates the description of a link * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * URI of the local video or online video. The local video URI can be obtained using the getUriFromPath function. + * Indicates the description of a link * - * @type { string } + * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * URI of the local video or online video. The local video URI can be obtained using the getUriFromPath function. + * Indicates the description of a link * - * @type { string } + * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice * @since 14 */ - videoUri: string; - } + description?: string; - /** - * Describe the unified audio data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 - */ - /** - * Describe the unified audio data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 - */ - /** - * Describe the unified audio data - * - * @extends File - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @crossplatform - * @atomicservice - * @since 14 - */ - class Audio extends File { /** - * URI of the local audio or online audio. The local audio URI can be obtained using the getUriFromPath function. + * Indicates the description of a link * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * URI of the local audio or online audio. The local audio URI can be obtained using the getUriFromPath function. + * Indicates the description of a link * - * @type { string } + * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * URI of the local audio or online audio. The local audio URI can be obtained using the getUriFromPath function. + * Indicates the description of a link * - * @type { string } + * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice * @since 14 */ - audioUri: string; + /** + * Indicates the description of a link + * + * @returns { string | undefined } the description of a link. + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get description(): string | undefined; + + /** + * Indicates the description of a link. + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the description of a link + * + * @type { ?string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the description of a link + * + * @type { ?string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the description of a link + * + * @param { string | undefined } the description of a link + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set description(value: string | undefined); } /** - * Describe the unified folder data + * Describe the unified html data * - * @extends File + * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Describe the unified folder data + * Describe the unified html data * - * @extends File + * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ /** - * Describe the unified folder data + * Describe the unified html data * - * @extends File + * @extends Text * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @crossplatform * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ - class Folder extends File { + class HTML extends Text { /** - * URI of the local folder or online folder. The local folder URI can be obtained using the getUriFromPath function. + * Indicates the content of html, with html tags * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * URI of the local folder or online folder. The local folder URI can be obtained using the getUriFromPath function. + * Indicates the content of html, with html tags * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -1115,7 +1126,7 @@ declare namespace unifiedDataChannel { * @since 11 */ /** - * URI of the local folder or online folder. The local folder URI can be obtained using the getUriFromPath function. + * Indicates the content of html, with html tags * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core @@ -1123,137 +1134,1269 @@ declare namespace unifiedDataChannel { * @atomicservice * @since 14 */ - folderUri: string; - } + htmlContent: string; - /** - * Describe system defined type data(this kind of data is provided and bound to OpenHarmony, - * also can be parsed by system provided API) - * - * @extends UnifiedRecord - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 - */ - /** - * Describe system defined type data(this kind of data is provided and bound to OpenHarmony, - * also can be parsed by system provided API) - * - * @extends UnifiedRecord - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 - */ - class SystemDefinedRecord extends UnifiedRecord { /** - * Indicates the details of system defined data + * Indicates the content of html, with html tags * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the details of system defined data + * Indicates the content of html, with html tags * - * @type { ?Record } + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - details?: Record; - } - - /** - * Describe system defined form data(this kind of data is provided and bound to OpenHarmony, - * also can be parsed by system provided API) - * - * @extends SystemDefinedRecord - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 - */ - /** - * Describe system defined form data(this kind of data is provided and bound to OpenHarmony, - * also can be parsed by system provided API) - * - * @extends SystemDefinedRecord - * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 - */ - class SystemDefinedForm extends SystemDefinedRecord { /** - * Indicates the id of form + * Indicates the content of html, with html tags * + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 + * @crossplatform + * @atomicservice + * @since 14 */ /** - * Indicates the id of form + * Indicates the content of html, with html tags * - * @type { number } + * @returns { string } the content of html * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 + * @since 20 + * @arkts 1.2 */ - formId: number; + get htmlContent(): string; + /** - * Indicates the name of form + * Indicates the content of html, with html tags * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the name of form + * Indicates the content of html, with html tags * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - formName: string; /** - * Indicates the bundle name of form + * Indicates the content of html, with html tags * + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @since 10 + * @crossplatform + * @atomicservice + * @since 14 */ /** - * Indicates the bundle name of form + * Indicates the content of html, with html tags * - * @type { string } + * @param { string } the content of html * @syscap SystemCapability.DistributedDataManager.UDMF.Core - * @atomicservice - * @since 11 + * @since 20 + * @arkts 1.2 */ - bundleName: string; + set htmlContent(value: string); + /** - * Indicates the ability name of form + * Indicates the plain content of html * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the ability name of form + * Indicates the plain content of html * - * @type { string } + * @type { ?string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - abilityName: string; /** - * Indicates the module of form + * Indicates the plain content of html + * + * @type { ?string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + plainContent?: string; + + /** + * Indicates the plain content of html * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the module of form + * Indicates the plain content of html * - * @type { string } + * @type { ?string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the plain content of html + * + * @type { ?string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the plain content of html + * + * @returns { string | undefined } the plain content of html + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get plainContent(): string | undefined; + + /** + * Indicates the plain content of html + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the plain content of html + * + * @type { ?string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the plain content of html + * + * @type { ?string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the plain content of html + * + * @param { string | undefined} the plain content of html + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set plainContent(value: string | undefined); + } + + /** + * Describe the unified file data + * + * @extends UnifiedRecord + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Describe the unified file data + * + * @extends UnifiedRecord + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Describe the unified file data + * + * @extends UnifiedRecord + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 + */ + class File extends UnifiedRecord { + /** + * Indicates the details of unified File + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the details of unified File + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the details of unified File + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + details?: Record; + + /** + * Indicates the details of unified File + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the details of unified File + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the details of unified File + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the details of unified File + * + * @returns { Record | undefined } the details of unified File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get details(): Record | undefined; + + /** + * Indicates the details of unified File + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the details of unified File + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the details of unified File + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the details of unified File + * + * @param { Record | undefined} the details of unified File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set details(value: Record | undefined); + + /** + * URI of the local file or online file. The local file URI can be obtained using the getUriFromPath function. + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * URI of the local file or online file. The local file URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * URI of the local file or online file. The local file URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + uri: string; + + /** + * Indicates the uri of file + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of file + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of file + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of file + * + * @returns { string } the uri of file + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get uri(): string; + + /** + * Indicates the uri of file + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of file + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of file + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of file + * + * @param { string } the uri of file + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set uri(value: string); + } + + /** + * Describe the unified image data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Describe the unified image data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Describe the unified image data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 + */ + class Image extends File { + /** + * URI of the local image or online image. The local image URI can be obtained using the getUriFromPath function. + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * URI of the local image or online image. The local image URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * URI of the local image or online image. The local image URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + imageUri: string; + + /** + * Indicates the uri of image + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of image + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of image + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of image + * + * @returns { string } the uri of image + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get imageUri(): string; + + /** + * Indicates the uri of image + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of image + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of image + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of image + * + * @param { string } the uri of image + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set imageUri(value: string); + } + + /** + * Describe the unified video data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Describe the unified video data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Describe the unified video data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 + */ + class Video extends File { + /** + * URI of the local video or online video. The local video URI can be obtained using the getUriFromPath function. + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * URI of the local video or online video. The local video URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * URI of the local video or online video. The local video URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + videoUri: string; + + /** + * Indicates the uri of video + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of video + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of video + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of video + * + * @returns { string } the uri of video + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get videoUri(): string; + + /** + * Indicates the uri of video + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of video + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of video + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of video + * + * @param { string } the uri of video + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set videoUri(value: string); + } + + /** + * Describe the unified audio data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Describe the unified audio data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Describe the unified audio data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 + */ + class Audio extends File { + /** + * URI of the local audio or online audio. The local audio URI can be obtained using the getUriFromPath function. + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * URI of the local audio or online audio. The local audio URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * URI of the local audio or online audio. The local audio URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + audioUri: string; + + /** + * Indicates the uri of audio + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of audio + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of audio + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of audio + * + * @returns { string } the uri of audio + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get audioUri(): string; + + /** + * Indicates the uri of audio + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of audio + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of audio + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of audio + * + * @param { string } the uri of audio + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set audioUri(value: string); + } + + /** + * Describe the unified folder data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Describe the unified folder data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Describe the unified folder data + * + * @extends File + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 + */ + class Folder extends File { + /** + * URI of the local folder or online folder. The local folder URI can be obtained using the getUriFromPath function. + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * URI of the local folder or online folder. The local folder URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * URI of the local folder or online folder. The local folder URI can be obtained using the getUriFromPath function. + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + folderUri: string; + + /** + * Indicates the uri of folder + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of folder + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of folder + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of folder + * + * @returns { string } the uri of folder + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get folderUri(): string; + + /** + * Indicates the uri of folder + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the uri of folder + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the uri of folder + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @crossplatform + * @atomicservice + * @since 14 + */ + /** + * Indicates the uri of folder + * + * @param { string } the uri of folder + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set folderUri(value: string); + } + + /** + * Describe system defined type data(this kind of data is provided and bound to OpenHarmony, + * also can be parsed by system provided API) + * + * @extends UnifiedRecord + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Describe system defined type data(this kind of data is provided and bound to OpenHarmony, + * also can be parsed by system provided API) + * + * @extends UnifiedRecord + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 + */ + class SystemDefinedRecord extends UnifiedRecord { + /** + * Indicates the details of system defined data + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the details of system defined data + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + details?: Record; + + /** + * Indicates the details of system defined data + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the details of system defined data + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the details of system defined data + * + * @returns { Record | undefined } the details of system defined data + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get details(): Record | undefined; + + /** + * Indicates the details of system defined data + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the details of system defined data + * + * @type { ?Record } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the details of system defined data + * + * @param { Record | undefined } the details of system defined data + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set details(value: Record | undefined); + } + + /** + * Describe system defined form data(this kind of data is provided and bound to OpenHarmony, + * also can be parsed by system provided API) + * + * @extends SystemDefinedRecord + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Describe system defined form data(this kind of data is provided and bound to OpenHarmony, + * also can be parsed by system provided API) + * + * @extends SystemDefinedRecord + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 + */ + class SystemDefinedForm extends SystemDefinedRecord { + /** + * Indicates the id of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of form + * + * @type { int } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + formId: int; + + /** + * Indicates the id of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of form + * + * @type { int } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the id of form + * + * @returns { int } the id of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get formId(): int; + + /** + * Indicates the id of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of form + * + * @type { int } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the id of form + * + * @param { int } the id of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set formId(value: int); + + /** + * Indicates the name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + formName: string; + + /** + * Indicates the name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the name of form + * + * @returns { string } the name of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get formName(): string; + + /** + * Indicates the name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the name of form + * + * @param { string } the name of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set formName(value: string); + + /** + * Indicates the bundle name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the bundle name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + bundleName: string; + + /** + * Indicates the bundle name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the bundle name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the bundle name of form + * + * @returns { string } the bundle name of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get bundleName(): string; + + /** + * Indicates the bundle name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the bundle name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the bundle name of form + * + * @param { string } the bundle name of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set bundleName(value: string); + + /** + * Indicates the ability name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the ability name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + abilityName: string; + + /** + * Indicates the ability name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the ability name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the ability name of form + * + * @returns { string } the ability name of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get abilityName(): string; + + /** + * Indicates the ability name of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the ability name of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the ability name of form + * + * @param { string } the ability name of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set abilityName(value: string); + + /** + * Indicates the module of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the module of form + * + * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ module: string; + + /** + * Indicates the module of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the module of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the module of form + * + * @returns { string } the module of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get module(): string; + + /** + * Indicates the module of form + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the module of form + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the module of form + * + * @param { string } the module of form + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set module(value: string); } /** @@ -1271,7 +2414,8 @@ declare namespace unifiedDataChannel { * @extends SystemDefinedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ class SystemDefinedAppItem extends SystemDefinedRecord { /** @@ -1281,74 +2425,359 @@ declare namespace unifiedDataChannel { * @since 10 */ /** - * Indicates the app id + * Indicates the app id + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + appId: string; + + /** + * Indicates the app id + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the app id + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the app id + * + * @returns { string } the app id + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get appId(): string; + + /** + * Indicates the app id + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the app id + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the app id + * + * @param { string } the app id + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set appId(value: string); + + /** + * Indicates the app name + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the app name + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + appName: string; + + /** + * Indicates the app name + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the app name + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the app name + * + * @returns { string } the app name + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get appName(): string; + + /** + * Indicates the app name + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the app name + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the app name + * + * @param { string } the app name + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set appName(value: string); + + /** + * Indicates the id of app icon + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of app icon + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + appIconId: string; + + /** + * Indicates the id of app icon + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of app icon + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the id of app icon + * + * @returns { string } the id of app icon + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get appIconId(): string; + + /** + * Indicates the id of app icon + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of app icon + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the id of app icon + * + * @param { string } the id of app icon + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set appIconId(value: string); + + /** + * Indicates the id of app label + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of app label + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + appLabelId: string; + + /** + * Indicates the id of app label + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of app label + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the id of app label + * + * @returns { string } the id of app label + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get appLabelId(): string; + + /** + * Indicates the id of app label + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the id of app label + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the id of app label + * + * @param { string } the id of app label + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set appLabelId(value: string); + + /** + * Indicates the bundle name of app + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the bundle name of app * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - appId: string; + bundleName: string; + /** - * Indicates the app name + * Indicates the bundle name of app * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the app name + * Indicates the bundle name of app * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - appName: string; /** - * Indicates the id of app icon + * Indicates the bundle name of app + * + * @returns { string } the bundle name of app + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get bundleName(): string; + + /** + * Indicates the bundle name of app * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the id of app icon + * Indicates the bundle name of app * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - appIconId: string; /** - * Indicates the id of app label + * Indicates the bundle name of app + * + * @param { string } the bundle name of app + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set bundleName(value: string); + + /** + * Indicates the ability name of app * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the id of app label + * Indicates the ability name of app * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - appLabelId: string; + abilityName: string; + /** - * Indicates the bundle name of app + * Indicates the ability name of app * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @since 10 */ /** - * Indicates the bundle name of app + * Indicates the ability name of app * * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 11 */ - bundleName: string; + /** + * Indicates the ability name of app + * + * @returns { string } the ability name of app + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get abilityName(): string; + /** * Indicates the ability name of app * @@ -1363,7 +2792,15 @@ declare namespace unifiedDataChannel { * @atomicservice * @since 11 */ - abilityName: string; + /** + * Indicates the ability name of app + * + * @param { string } the ability name of app + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set abilityName(value: string); } /** @@ -1381,7 +2818,8 @@ declare namespace unifiedDataChannel { * @extends SystemDefinedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ class SystemDefinedPixelMap extends SystemDefinedRecord { /** @@ -1399,6 +2837,54 @@ declare namespace unifiedDataChannel { * @since 11 */ rawData: Uint8Array; + + /** + * Indicates the raw data of pixel map + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the raw data of pixel map + * + * @type { Uint8Array } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the raw data of pixel map + * + * @returns { Uint8Array } the raw data of pixel map + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get rawData(): Uint8Array; + + /** + * Indicates the raw data of pixel map + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the raw data of pixel map + * + * @type { Uint8Array } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the raw data of pixel map + * + * @param { Uint8Array } the raw data of pixel map + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set rawData(value: Uint8Array); } /** @@ -1416,7 +2902,8 @@ declare namespace unifiedDataChannel { * @extends UnifiedRecord * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ class ApplicationDefinedRecord extends UnifiedRecord { /** @@ -1436,6 +2923,61 @@ declare namespace unifiedDataChannel { * @since 11 */ applicationDefinedType: string; + + /** + * Indicates the type of data, should always be started with 'ApplicationDefined.', will + * return error otherwise + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the type of data, should always be started with 'ApplicationDefined.', will + * return error otherwise + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the type of data, should always be started with 'ApplicationDefined.', will + * return error otherwise + * + * @returns { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get applicationDefinedType(): string; + + /** + * Indicates the type of data, should always be started with 'ApplicationDefined.', will + * return error otherwise + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the type of data, should always be started with 'ApplicationDefined.', will + * return error otherwise + * + * @type { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the type of data, should always be started with 'ApplicationDefined.', will + * return error otherwise + * + * @oaram { string } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set applicationDefinedType(value: string); + /** * Indicates the raw data of application defined data * @@ -1451,6 +2993,54 @@ declare namespace unifiedDataChannel { * @since 11 */ rawData: Uint8Array; + + /** + * Indicates the raw data of application defined data + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the raw data of application defined data + * + * @type { Uint8Array } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the raw data of application defined data + * + * @returns { Uint8Array } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + get rawData(): Uint8Array; + + /** + * Indicates the raw data of application defined data + * + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 10 + */ + /** + * Indicates the raw data of application defined data + * + * @type { Uint8Array } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @atomicservice + * @since 11 + */ + /** + * Indicates the raw data of application defined data + * + * @param { Uint8Array } + * @syscap SystemCapability.DistributedDataManager.UDMF.Core + * @since 20 + * @arkts 1.2 + */ + set rawData(value: Uint8Array); } /** @@ -1466,7 +3056,8 @@ declare namespace unifiedDataChannel { * @enum { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ enum Intention { /** @@ -1480,7 +3071,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ DATA_HUB = 'DataHub', @@ -1532,7 +3124,7 @@ declare namespace unifiedDataChannel { /** * Describe the visibility range of data * - * @enum { number } + * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 20 @@ -1574,10 +3166,11 @@ declare namespace unifiedDataChannel { /** * Describe the optional arguments of data operation * - * @interface { Options } + * @typedef { Options } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 20 + * @arkts 1.1&1.2 */ interface Options { /** @@ -1600,6 +3193,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 20 + * @arkts 1.1&1.2 */ intention?: Intention; @@ -1623,6 +3217,7 @@ declare namespace unifiedDataChannel { * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 20 + * @arkts 1.1&1.2 */ key?: string; @@ -1641,10 +3236,11 @@ declare namespace unifiedDataChannel { /** * Defines the types of file conflict options when getting data from the UDMF. * - * @enum { number } + * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ enum FileConflictOptions { /** @@ -1652,7 +3248,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ OVERWRITE, @@ -1661,7 +3258,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ SKIP } @@ -1669,10 +3267,11 @@ declare namespace unifiedDataChannel { /** * Defines the types of progress indicator when getting data from the UDMF. * - * @enum { number } + * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ enum ProgressIndicator { /** @@ -1680,7 +3279,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ NONE, @@ -1689,7 +3289,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ DEFAULT } @@ -1697,10 +3298,11 @@ declare namespace unifiedDataChannel { /** * Defines the listener status of obtaining progress and data. * - * @enum { number } + * @enum { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ enum ListenerStatus { /** @@ -1708,7 +3310,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ FINISHED = 0, @@ -1717,7 +3320,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ PROCESSING, @@ -1726,7 +3330,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ CANCELED, @@ -1735,7 +3340,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ INNER_ERROR = 200, @@ -1744,7 +3350,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ INVALID_PARAMETERS, @@ -1753,7 +3360,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ DATA_NOT_FOUND, @@ -1762,7 +3370,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ SYNC_FAILED, @@ -1771,7 +3380,8 @@ declare namespace unifiedDataChannel { * * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ COPY_FILE_FAILED, } @@ -1782,18 +3392,20 @@ declare namespace unifiedDataChannel { * @interface ProgressInfo * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ interface ProgressInfo { /** * Indicates the UDMF processing progress. * - * @type { number } + * @type { int } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ - progress: number; + progress: int; /** * Indicates the status of obtaining progress and data. @@ -1801,7 +3413,8 @@ declare namespace unifiedDataChannel { * @type { ListenerStatus } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ status: ListenerStatus; } @@ -1814,7 +3427,8 @@ declare namespace unifiedDataChannel { * @param { UnifiedData | null } data - Data obtained when the progress reaches 100%. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ type DataProgressListener = (progressInfo: ProgressInfo, data: UnifiedData | null) => void; @@ -1824,7 +3438,8 @@ declare namespace unifiedDataChannel { * @interface GetDataParams * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ interface GetDataParams { /** @@ -1833,7 +3448,8 @@ declare namespace unifiedDataChannel { * @type { ProgressIndicator } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ progressIndicator: ProgressIndicator; @@ -1843,7 +3459,8 @@ declare namespace unifiedDataChannel { * @type { DataProgressListener } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ dataProgressListener: DataProgressListener; @@ -1853,7 +3470,8 @@ declare namespace unifiedDataChannel { * @type { string } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ destUri?: string; @@ -1863,7 +3481,8 @@ declare namespace unifiedDataChannel { * @type { FileConflictOptions } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ fileConflictOptions?: FileConflictOptions; @@ -1901,12 +3520,12 @@ declare namespace unifiedDataChannel { /** * Indicates the maximum number of data records to be loaded. * - * @type { ?number } + * @type { ?long } * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice * @since 20 */ - recordCount?: number; + recordCount?: long; } /** @@ -1971,7 +3590,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ function insertData(options: Options, data: UnifiedData, callback: AsyncCallback): void; @@ -1996,7 +3616,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ function insertData(options: Options, data: UnifiedData): Promise; @@ -2073,7 +3694,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ function queryData(options: Options, callback: AsyncCallback>): void; @@ -2098,7 +3720,8 @@ declare namespace unifiedDataChannel { *
2.Incorrect parameters types. * @syscap SystemCapability.DistributedDataManager.UDMF.Core * @atomicservice - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ function queryData(options: Options): Promise>;