1/* 2 * Copyright (c) 2023-2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * @file 18 * @kit ArkData 19 */ 20 21/** 22 * Provides methods for uniform data type definition and query. 23 * 24 * @namespace uniformTypeDescriptor 25 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 26 * @since 10 27 */ 28/** 29 * Provides methods for uniform data type definition and query. 30 * 31 * @namespace uniformTypeDescriptor 32 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 33 * @atomicservice 34 * @since 11 35 */ 36/** 37 * Provides methods for uniform data type definition and query. 38 * 39 * @namespace uniformTypeDescriptor 40 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 41 * @crossplatform 42 * @atomicservice 43 * @since arkts {'1.1':'14', '1.2':'20'} 44 * @arkts 1.1&1.2 45 */ 46declare namespace uniformTypeDescriptor { 47 /** 48 * Uniform data type IDs. 49 * 50 * @enum { string } 51 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 52 * @since 10 53 */ 54 /** 55 * Uniform data type IDs. 56 * 57 * @enum { string } 58 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 59 * @atomicservice 60 * @since 11 61 */ 62 /** 63 * Uniform data type IDs. 64 * 65 * @enum { string } 66 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 67 * @crossplatform 68 * @atomicservice 69 * @since arkts {'1.1':'14', '1.2':'20'} 70 * @arkts 1.1&1.2 71 */ 72 enum UniformDataType { 73 /** 74 * Base data type for physical hierarchy, which identifies the physical representation of the data type. 75 * 76 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 77 * @since arkts {'1.1':'11', '1.2':'20'} 78 * @arkts 1.1&1.2 79 */ 80 ENTITY = 'general.entity', 81 82 /** 83 * Base data type for logical hierarchy, which identifies the logical content representation of the data type. 84 * 85 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 86 * @since arkts {'1.1':'11', '1.2':'20'} 87 * @arkts 1.1&1.2 88 */ 89 OBJECT = 'general.object', 90 91 /** 92 * Base data type for mixed object. For example, a PDF file contains both text and special formatting data. 93 * 94 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 95 * @since arkts {'1.1':'11', '1.2':'20'} 96 * @arkts 1.1&1.2 97 */ 98 COMPOSITE_OBJECT = 'general.composite-object', 99 100 /** 101 * Text data type. 102 * 103 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 104 * @since 10 105 */ 106 /** 107 * Text data type. 108 * 109 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 110 * @atomicservice 111 * @since 11 112 */ 113 /** 114 * Text data type. 115 * 116 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 117 * @crossplatform 118 * @atomicservice 119 * @since arkts {'1.1':'14', '1.2':'20'} 120 * @arkts 1.1&1.2 121 */ 122 TEXT = 'general.text', 123 124 /** 125 * Plain text data type. 126 * 127 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 128 * @since 10 129 */ 130 /** 131 * Plain text data type. 132 * 133 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 134 * @atomicservice 135 * @since 11 136 */ 137 /** 138 * Plain text data type. 139 * 140 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 141 * @crossplatform 142 * @atomicservice 143 * @since arkts {'1.1':'14', '1.2':'20'} 144 * @arkts 1.1&1.2 145 */ 146 PLAIN_TEXT = 'general.plain-text', 147 148 /** 149 * HTML data type. 150 * 151 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 152 * @since 10 153 */ 154 /** 155 * HTML data type. 156 * 157 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 158 * @atomicservice 159 * @since 11 160 */ 161 /** 162 * HTML data type. 163 * 164 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 165 * @crossplatform 166 * @atomicservice 167 * @since arkts {'1.1':'14', '1.2':'20'} 168 * @arkts 1.1&1.2 169 */ 170 HTML = 'general.html', 171 172 /** 173 * Hyperlink data type. 174 * 175 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 176 * @since 10 177 */ 178 /** 179 * Hyperlink data type. 180 * 181 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 182 * @atomicservice 183 * @since 11 184 */ 185 /** 186 * Hyperlink data type. 187 * 188 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 189 * @crossplatform 190 * @atomicservice 191 * @since arkts {'1.1':'14', '1.2':'20'} 192 * @arkts 1.1&1.2 193 */ 194 HYPERLINK = 'general.hyperlink', 195 196 /** 197 * XML(Extensible Markup Language) data type. 198 * 199 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 200 * @since arkts {'1.1':'11', '1.2':'20'} 201 * @arkts 1.1&1.2 202 */ 203 XML = 'general.xml', 204 205 /** 206 * Xhtml data type. 207 * 208 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 209 * @since arkts {'1.1':'12', '1.2':'20'} 210 * @arkts 1.1&1.2 211 */ 212 XHTML = 'general.xhtml', 213 214 /** 215 * Rss data type. 216 * 217 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 218 * @since arkts {'1.1':'12', '1.2':'20'} 219 * @arkts 1.1&1.2 220 */ 221 RSS = 'general.rss', 222 223 /** 224 * Real synchronized multimedia integration language. 225 * 226 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 227 * @since arkts {'1.1':'12', '1.2':'20'} 228 * @arkts 1.1&1.2 229 */ 230 SMIL = 'com.real.smil', 231 232 /** 233 * Source code data type. 234 * 235 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 236 * @since arkts {'1.1':'11', '1.2':'20'} 237 * @arkts 1.1&1.2 238 */ 239 SOURCE_CODE = 'general.source-code', 240 241 /** 242 * Script data type. 243 * 244 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 245 * @since arkts {'1.1':'11', '1.2':'20'} 246 * @arkts 1.1&1.2 247 */ 248 SCRIPT = 'general.script', 249 250 /** 251 * Shell script data type. 252 * 253 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 254 * @since arkts {'1.1':'11', '1.2':'20'} 255 * @arkts 1.1&1.2 256 */ 257 SHELL_SCRIPT = 'general.shell-script', 258 259 /** 260 * C-shell script data type. 261 * 262 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 263 * @since arkts {'1.1':'11', '1.2':'20'} 264 * @arkts 1.1&1.2 265 */ 266 CSH_SCRIPT = 'general.csh-script', 267 268 /** 269 * Perl script data type. 270 * 271 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 272 * @since arkts {'1.1':'11', '1.2':'20'} 273 * @arkts 1.1&1.2 274 */ 275 PERL_SCRIPT = 'general.perl-script', 276 277 /** 278 * PHP script data type. 279 * 280 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 281 * @since arkts {'1.1':'11', '1.2':'20'} 282 * @arkts 1.1&1.2 283 */ 284 PHP_SCRIPT = 'general.php-script', 285 286 /** 287 * Python script data type. 288 * 289 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 290 * @since arkts {'1.1':'11', '1.2':'20'} 291 * @arkts 1.1&1.2 292 */ 293 PYTHON_SCRIPT = 'general.python-script', 294 295 /** 296 * Ruby script data type. 297 * 298 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 299 * @since arkts {'1.1':'11', '1.2':'20'} 300 * @arkts 1.1&1.2 301 */ 302 RUBY_SCRIPT = 'general.ruby-script', 303 304 /** 305 * TypeScript data type. 306 * 307 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 308 * @since arkts {'1.1':'11', '1.2':'20'} 309 * @arkts 1.1&1.2 310 */ 311 TYPE_SCRIPT = 'general.type-script', 312 313 /** 314 * JavaScript data type. 315 * 316 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 317 * @since arkts {'1.1':'11', '1.2':'20'} 318 * @arkts 1.1&1.2 319 */ 320 JAVA_SCRIPT = 'general.java-script', 321 322 /** 323 * Css data type. 324 * 325 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 326 * @since arkts {'1.1':'12', '1.2':'20'} 327 * @arkts 1.1&1.2 328 */ 329 CSS = 'general.css', 330 331 /** 332 * C header data type. 333 * 334 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 335 * @since arkts {'1.1':'11', '1.2':'20'} 336 * @arkts 1.1&1.2 337 */ 338 C_HEADER = 'general.c-header', 339 340 /** 341 * C source code data type. 342 * 343 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 344 * @since arkts {'1.1':'11', '1.2':'20'} 345 * @arkts 1.1&1.2 346 */ 347 C_SOURCE = 'general.c-source', 348 349 /** 350 * C++ header data type. 351 * 352 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 353 * @since arkts {'1.1':'11', '1.2':'20'} 354 * @arkts 1.1&1.2 355 */ 356 C_PLUS_PLUS_HEADER = 'general.c-plus-plus-header', 357 358 /** 359 * C++ source code data type. 360 * 361 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 362 * @since arkts {'1.1':'11', '1.2':'20'} 363 * @arkts 1.1&1.2 364 */ 365 C_PLUS_PLUS_SOURCE = 'general.c-plus-plus-source', 366 367 /** 368 * Java source code data type. 369 * 370 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 371 * @since arkts {'1.1':'11', '1.2':'20'} 372 * @arkts 1.1&1.2 373 */ 374 JAVA_SOURCE = 'general.java-source', 375 376 /** 377 * Tex source code data type. 378 * 379 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 380 * @since arkts {'1.1':'12', '1.2':'20'} 381 * @arkts 1.1&1.2 382 */ 383 TEX = 'general.tex', 384 385 /** 386 * Markdown format. 387 * 388 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 389 * @since arkts {'1.1':'12', '1.2':'20'} 390 * @arkts 1.1&1.2 391 */ 392 MARKDOWN = 'general.markdown', 393 394 /** 395 * Asc text data type. 396 * 397 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 398 * @since arkts {'1.1':'12', '1.2':'20'} 399 * @arkts 1.1&1.2 400 */ 401 ASC_TEXT = 'general.asc-text', 402 403 /** 404 * Rich text data type. 405 * 406 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 407 * @since arkts {'1.1':'12', '1.2':'20'} 408 * @arkts 1.1&1.2 409 */ 410 RICH_TEXT = 'general.rich-text', 411 412 /** 413 * Delimited values text data type. 414 * 415 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 416 * @since arkts {'1.1':'12', '1.2':'20'} 417 * @arkts 1.1&1.2 418 */ 419 DELIMITED_VALUES_TEXT = 'general.delimited-values-text', 420 421 /** 422 * Comma separated values text data type. 423 * 424 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 425 * @since arkts {'1.1':'12', '1.2':'20'} 426 * @arkts 1.1&1.2 427 */ 428 COMMA_SEPARATED_VALUES_TEXT = 'general.comma-separated-values-text', 429 430 /** 431 * Tab separated values text data type. 432 * 433 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 434 * @since arkts {'1.1':'12', '1.2':'20'} 435 * @arkts 1.1&1.2 436 */ 437 TAB_SEPARATED_VALUES_TEXT = 'general.tab-separated-values-text', 438 439 /** 440 * Ebook data type. 441 * 442 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 443 * @since arkts {'1.1':'11', '1.2':'20'} 444 * @arkts 1.1&1.2 445 */ 446 EBOOK = 'general.ebook', 447 448 /** 449 * EPUB ebook file format data type. 450 * 451 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 452 * @since arkts {'1.1':'11', '1.2':'20'} 453 * @arkts 1.1&1.2 454 */ 455 EPUB = 'general.epub', 456 457 /** 458 * AZW ebook file format data type. 459 * 460 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 461 * @since arkts {'1.1':'11', '1.2':'20'} 462 * @arkts 1.1&1.2 463 */ 464 AZW = 'com.amazon.azw', 465 466 /** 467 * AZW3 ebook file format data type. 468 * 469 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 470 * @since arkts {'1.1':'11', '1.2':'20'} 471 * @arkts 1.1&1.2 472 */ 473 AZW3 = 'com.amazon.azw3', 474 475 /** 476 * KFX ebook file format data type. 477 * 478 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 479 * @since arkts {'1.1':'11', '1.2':'20'} 480 * @arkts 1.1&1.2 481 */ 482 KFX = 'com.amazon.kfx', 483 484 /** 485 * MOBI ebook file format data type. 486 * 487 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 488 * @since arkts {'1.1':'11', '1.2':'20'} 489 * @arkts 1.1&1.2 490 */ 491 MOBI = 'com.amazon.mobi', 492 493 /** 494 * Media data type. 495 * 496 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 497 * @since arkts {'1.1':'11', '1.2':'20'} 498 * @arkts 1.1&1.2 499 */ 500 MEDIA = 'general.media', 501 502 /** 503 * Image data type. 504 * 505 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 506 * @since 10 507 */ 508 /** 509 * Image data type. 510 * 511 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 512 * @atomicservice 513 * @since 11 514 */ 515 /** 516 * Image data type. 517 * 518 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 519 * @crossplatform 520 * @atomicservice 521 * @since arkts {'1.1':'14', '1.2':'20'} 522 * @arkts 1.1&1.2 523 */ 524 IMAGE = 'general.image', 525 526 /** 527 * JPEG image format data type. 528 * 529 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 530 * @since arkts {'1.1':'11', '1.2':'20'} 531 * @arkts 1.1&1.2 532 */ 533 JPEG = 'general.jpeg', 534 535 /** 536 * PNG image format data type. 537 * 538 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 539 * @since arkts {'1.1':'11', '1.2':'20'} 540 * @arkts 1.1&1.2 541 */ 542 PNG = 'general.png', 543 544 /** 545 * Raw image format data type. 546 * 547 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 548 * @since arkts {'1.1':'11', '1.2':'20'} 549 * @arkts 1.1&1.2 550 */ 551 RAW_IMAGE = 'general.raw-image', 552 553 /** 554 * TIFF image format data type. 555 * 556 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 557 * @since arkts {'1.1':'11', '1.2':'20'} 558 * @arkts 1.1&1.2 559 */ 560 TIFF = 'general.tiff', 561 562 /** 563 * Windows bitmap image data type. 564 * 565 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 566 * @since arkts {'1.1':'11', '1.2':'20'} 567 * @arkts 1.1&1.2 568 */ 569 BMP = 'com.microsoft.bmp', 570 571 /** 572 * Windows icon data type. 573 * 574 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 575 * @since arkts {'1.1':'11', '1.2':'20'} 576 * @arkts 1.1&1.2 577 */ 578 ICO = 'com.microsoft.ico', 579 580 /** 581 * Adobe Photoshop document data type. 582 * 583 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 584 * @since arkts {'1.1':'11', '1.2':'20'} 585 * @arkts 1.1&1.2 586 */ 587 PHOTOSHOP_IMAGE = 'com.adobe.photoshop-image', 588 589 /** 590 * Adobe Illustrator document data type. 591 * 592 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 593 * @since arkts {'1.1':'11', '1.2':'20'} 594 * @arkts 1.1&1.2 595 */ 596 AI_IMAGE = 'com.adobe.illustrator.ai-image', 597 598 /** 599 * Base type for fax images. 600 * 601 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 602 * @since arkts {'1.1':'12', '1.2':'20'} 603 * @arkts 1.1&1.2 604 */ 605 FAX = 'general.fax', 606 607 /** 608 * J2 jConnect fax file format. 609 * 610 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 611 * @since arkts {'1.1':'12', '1.2':'20'} 612 * @arkts 1.1&1.2 613 */ 614 JFX_FAX = 'com.j2.jfx-fax', 615 616 /** 617 * The electronic fax document format. 618 * 619 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 620 * @since arkts {'1.1':'12', '1.2':'20'} 621 * @arkts 1.1&1.2 622 */ 623 EFX_FAX = 'com.js.efx-fax', 624 625 /** 626 * X bitmap image. 627 * 628 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 629 * @since arkts {'1.1':'12', '1.2':'20'} 630 * @arkts 1.1&1.2 631 */ 632 XBITMAP_IMAGE = 'general.xbitmap-image', 633 634 /** 635 * Gif image format data type. 636 * 637 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 638 * @since arkts {'1.1':'12', '1.2':'20'} 639 * @arkts 1.1&1.2 640 */ 641 GIF = 'general.gif', 642 643 /** 644 * Tagged Graphics (TGA), a type of image format. 645 * 646 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 647 * @since arkts {'1.1':'12', '1.2':'20'} 648 * @arkts 1.1&1.2 649 */ 650 TGA_IMAGE = 'com.truevision.tga-image', 651 652 /** 653 * Silicon Graphics image. 654 * 655 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 656 * @since arkts {'1.1':'12', '1.2':'20'} 657 * @arkts 1.1&1.2 658 */ 659 SGI_IMAGE = 'com.sgi.sgi-image', 660 661 /** 662 * OpenEXR image. 663 * 664 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 665 * @since arkts {'1.1':'12', '1.2':'20'} 666 * @arkts 1.1&1.2 667 */ 668 OPENEXR_IMAGE = 'com.ilm.openexr-image', 669 670 /** 671 * FlashPix image. 672 * 673 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 674 * @since arkts {'1.1':'12', '1.2':'20'} 675 * @arkts 1.1&1.2 676 */ 677 FLASHPIX_IMAGE = 'com.kodak.flashpix.image', 678 679 /** 680 * Microsoft Word data type. 681 * 682 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 683 * @since arkts {'1.1':'11', '1.2':'20'} 684 * @arkts 1.1&1.2 685 */ 686 WORD_DOC = 'com.microsoft.word.doc', 687 688 /** 689 * Microsoft Excel data type. 690 * 691 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 692 * @since arkts {'1.1':'11', '1.2':'20'} 693 * @arkts 1.1&1.2 694 */ 695 EXCEL = 'com.microsoft.excel.xls', 696 697 /** 698 * Microsoft PowerPoint presentation data type. 699 * 700 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 701 * @since arkts {'1.1':'11', '1.2':'20'} 702 * @arkts 1.1&1.2 703 */ 704 PPT = 'com.microsoft.powerpoint.ppt', 705 706 /** 707 * Microsoft Word dot data type. 708 * 709 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 710 * @since arkts {'1.1':'12', '1.2':'20'} 711 * @arkts 1.1&1.2 712 */ 713 WORD_DOT = 'com.microsoft.word.dot', 714 715 /** 716 * Microsoft Powerpoint pps data type. 717 * 718 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 719 * @since arkts {'1.1':'12', '1.2':'20'} 720 * @arkts 1.1&1.2 721 */ 722 POWERPOINT_PPS = 'com.microsoft.powerpoint.pps', 723 724 /** 725 * Microsoft Powerpoint pot data type. 726 * 727 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 728 * @since arkts {'1.1':'12', '1.2':'20'} 729 * @arkts 1.1&1.2 730 */ 731 POWERPOINT_POT = 'com.microsoft.powerpoint.pot', 732 733 /** 734 * Microsoft Excel xlt data type. 735 * 736 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 737 * @since arkts {'1.1':'12', '1.2':'20'} 738 * @arkts 1.1&1.2 739 */ 740 EXCEL_XLT = 'com.microsoft.excel.xlt', 741 742 /** 743 * Microsoft Visio vsd data type. 744 * 745 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 746 * @since arkts {'1.1':'12', '1.2':'20'} 747 * @arkts 1.1&1.2 748 */ 749 VISIO_VSD = 'com.microsoft.visio.vsd', 750 751 /** 752 * PDF data type. 753 * 754 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 755 * @since arkts {'1.1':'11', '1.2':'20'} 756 * @arkts 1.1&1.2 757 */ 758 PDF = 'com.adobe.pdf', 759 760 /** 761 * PostScript data type. 762 * 763 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 764 * @since arkts {'1.1':'11', '1.2':'20'} 765 * @arkts 1.1&1.2 766 */ 767 POSTSCRIPT = 'com.adobe.postscript', 768 769 /** 770 * Encapsulated PostScript data type. 771 * 772 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 773 * @since arkts {'1.1':'11', '1.2':'20'} 774 * @arkts 1.1&1.2 775 */ 776 ENCAPSULATED_POSTSCRIPT = 'com.adobe.encapsulated-postscript', 777 778 /** 779 * Video data type. 780 * 781 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 782 * @since 10 783 */ 784 /** 785 * Video data type. 786 * 787 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 788 * @atomicservice 789 * @since 11 790 */ 791 /** 792 * Video data type. 793 * 794 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 795 * @crossplatform 796 * @atomicservice 797 * @since arkts {'1.1':'14', '1.2':'20'} 798 * @arkts 1.1&1.2 799 */ 800 VIDEO = 'general.video', 801 802 /** 803 * AVI video format data type. 804 * 805 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 806 * @since arkts {'1.1':'11', '1.2':'20'} 807 * @arkts 1.1&1.2 808 */ 809 AVI = 'general.avi', 810 811 /** 812 * MPEG video format data type. 813 * 814 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 815 * @since arkts {'1.1':'11', '1.2':'20'} 816 * @arkts 1.1&1.2 817 */ 818 MPEG = 'general.mpeg', 819 820 /** 821 * MPEG4 video format data type. 822 * 823 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 824 * @since arkts {'1.1':'11', '1.2':'20'} 825 * @arkts 1.1&1.2 826 */ 827 MPEG4 = 'general.mpeg-4', 828 829 /** 830 * 3GPP video format data type. 831 * 832 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 833 * @since arkts {'1.1':'11', '1.2':'20'} 834 * @arkts 1.1&1.2 835 */ 836 VIDEO_3GPP = 'general.3gpp', 837 838 /** 839 * 3GPP2 video format data type. 840 * 841 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 842 * @since arkts {'1.1':'11', '1.2':'20'} 843 * @arkts 1.1&1.2 844 */ 845 VIDEO_3GPP2 = 'general.3gpp2', 846 847 /** 848 * Ts video format data type. 849 * 850 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 851 * @since arkts {'1.1':'12', '1.2':'20'} 852 * @arkts 1.1&1.2 853 */ 854 TS = 'general.ts', 855 856 /** 857 * Mpegurl video format data type. 858 * 859 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 860 * @since arkts {'1.1':'12', '1.2':'20'} 861 * @arkts 1.1&1.2 862 */ 863 MPEGURL_VIDEO = 'general.mpegurl-video', 864 865 /** 866 * Windows WM video format data type. 867 * 868 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 869 * @since arkts {'1.1':'11', '1.2':'20'} 870 * @arkts 1.1&1.2 871 */ 872 WINDOWS_MEDIA_WM = 'com.microsoft.windows-media-wm', 873 874 /** 875 * Windows WMV video format data type. 876 * 877 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 878 * @since arkts {'1.1':'11', '1.2':'20'} 879 * @arkts 1.1&1.2 880 */ 881 WINDOWS_MEDIA_WMV = 'com.microsoft.windows-media-wmv', 882 883 /** 884 * Windows WMP video format data type. 885 * 886 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 887 * @since arkts {'1.1':'11', '1.2':'20'} 888 * @arkts 1.1&1.2 889 */ 890 WINDOWS_MEDIA_WMP = 'com.microsoft.windows-media-wmp', 891 892 /** 893 * Windows WVX video format data type. 894 * 895 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 896 * @since arkts {'1.1':'11', '1.2':'20'} 897 * @arkts 1.1&1.2 898 */ 899 WINDOWS_MEDIA_WVX = 'com.microsoft.windows-media-wvx', 900 901 /** 902 * Windows WMX video format data type. 903 * 904 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 905 * @since arkts {'1.1':'11', '1.2':'20'} 906 * @arkts 1.1&1.2 907 */ 908 WINDOWS_MEDIA_WMX = 'com.microsoft.windows-media-wmx', 909 910 /** 911 * RealMedia. 912 * 913 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 914 * @since arkts {'1.1':'12', '1.2':'20'} 915 * @arkts 1.1&1.2 916 */ 917 REALMEDIA = 'com.real.realmedia', 918 919 /** 920 * Matroska video format data type. 921 * 922 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 923 * @since arkts {'1.1':'12', '1.2':'20'} 924 * @arkts 1.1&1.2 925 */ 926 MATROSKA_VIDEO = 'org.matroska.mkv', 927 928 /** 929 * Flash data type. 930 * 931 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 932 * @since arkts {'1.1':'12', '1.2':'20'} 933 * @arkts 1.1&1.2 934 */ 935 FLASH = 'com.adobe.flash', 936 937 /** 938 * Audio data type. 939 * 940 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 941 * @since 10 942 */ 943 /** 944 * Audio data type. 945 * 946 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 947 * @atomicservice 948 * @since 11 949 */ 950 /** 951 * Audio data type. 952 * 953 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 954 * @crossplatform 955 * @atomicservice 956 * @since arkts {'1.1':'14', '1.2':'20'} 957 * @arkts 1.1&1.2 958 */ 959 AUDIO = 'general.audio', 960 961 /** 962 * AAC audio format data type. 963 * 964 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 965 * @since arkts {'1.1':'11', '1.2':'20'} 966 * @arkts 1.1&1.2 967 */ 968 AAC = 'general.aac', 969 970 /** 971 * AIFF audio format data type. 972 * 973 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 974 * @since arkts {'1.1':'11', '1.2':'20'} 975 * @arkts 1.1&1.2 976 */ 977 AIFF = 'general.aiff', 978 979 /** 980 * ALAC audio format data type. 981 * 982 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 983 * @since arkts {'1.1':'11', '1.2':'20'} 984 * @arkts 1.1&1.2 985 */ 986 ALAC = 'general.alac', 987 988 /** 989 * FLAC audio format data type. 990 * 991 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 992 * @since arkts {'1.1':'11', '1.2':'20'} 993 * @arkts 1.1&1.2 994 */ 995 FLAC = 'general.flac', 996 997 /** 998 * MP3 audio format data type. 999 * 1000 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1001 * @since arkts {'1.1':'11', '1.2':'20'} 1002 * @arkts 1.1&1.2 1003 */ 1004 MP3 = 'general.mp3', 1005 1006 /** 1007 * OGG audio format data type. 1008 * 1009 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1010 * @since arkts {'1.1':'11', '1.2':'20'} 1011 * @arkts 1.1&1.2 1012 */ 1013 OGG = 'general.ogg', 1014 1015 /** 1016 * PCM audio format data type. 1017 * 1018 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1019 * @since arkts {'1.1':'11', '1.2':'20'} 1020 * @arkts 1.1&1.2 1021 */ 1022 PCM = 'general.pcm', 1023 1024 /** 1025 * Windows WMA audio format data type. 1026 * 1027 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1028 * @since arkts {'1.1':'11', '1.2':'20'} 1029 * @arkts 1.1&1.2 1030 */ 1031 WINDOWS_MEDIA_WMA = 'com.microsoft.windows-media-wma', 1032 1033 /** 1034 * Waveform audio format data type created by Microsoft. 1035 * 1036 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1037 * @since arkts {'1.1':'11', '1.2':'20'} 1038 * @arkts 1.1&1.2 1039 */ 1040 WAVEFORM_AUDIO = 'com.microsoft.waveform-audio', 1041 1042 /** 1043 * Windows WAX audio format data type. 1044 * 1045 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1046 * @since arkts {'1.1':'11', '1.2':'20'} 1047 * @arkts 1.1&1.2 1048 */ 1049 WINDOWS_MEDIA_WAX = 'com.microsoft.windows-media-wax', 1050 1051 /** 1052 * Au file format. 1053 * 1054 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1055 * @since arkts {'1.1':'12', '1.2':'20'} 1056 * @arkts 1.1&1.2 1057 */ 1058 AU_AUDIO = 'general.au-audio', 1059 1060 /** 1061 * Audio Interchange File Format. 1062 * 1063 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1064 * @since arkts {'1.1':'12', '1.2':'20'} 1065 * @arkts 1.1&1.2 1066 */ 1067 AIFC_AUDIO = 'general.aifc-audio', 1068 1069 /** 1070 * Mpegurl audio format data type. 1071 * 1072 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1073 * @since arkts {'1.1':'12', '1.2':'20'} 1074 * @arkts 1.1&1.2 1075 */ 1076 MPEGURL_AUDIO = 'general.mpegurl-audio', 1077 1078 /** 1079 * Mpeg-4 audio format data type. 1080 * 1081 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1082 * @since arkts {'1.1':'12', '1.2':'20'} 1083 * @arkts 1.1&1.2 1084 */ 1085 MPEG_4_AUDIO = 'general.mpeg-4-audio', 1086 1087 /** 1088 * Mp2 audio format data type. 1089 * 1090 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1091 * @since arkts {'1.1':'12', '1.2':'20'} 1092 * @arkts 1.1&1.2 1093 */ 1094 MP2 = 'general.mp2', 1095 1096 /** 1097 * MPEG audio format. This type belongs to AUDIO. 1098 * 1099 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1100 * @since arkts {'1.1':'12', '1.2':'20'} 1101 * @arkts 1.1&1.2 1102 */ 1103 MPEG_AUDIO = 'general.mpeg-audio', 1104 1105 /** 1106 * Ulaw audio format data type. 1107 * 1108 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1109 * @since arkts {'1.1':'12', '1.2':'20'} 1110 * @arkts 1.1&1.2 1111 */ 1112 ULAW_AUDIO = 'general.ulaw-audio', 1113 1114 /** 1115 * Digidesign Sound Designer II audio. 1116 * 1117 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1118 * @since arkts {'1.1':'12', '1.2':'20'} 1119 * @arkts 1.1&1.2 1120 */ 1121 SD2_AUDIO = 'com.digidesign.sd2-audio', 1122 1123 /** 1124 * RealMedia audio. 1125 * 1126 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1127 * @since arkts {'1.1':'12', '1.2':'20'} 1128 * @arkts 1.1&1.2 1129 */ 1130 REALAUDIO = 'com.real.realaudio', 1131 1132 /** 1133 * Matroska audio format data type. 1134 * 1135 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1136 * @since arkts {'1.1':'12', '1.2':'20'} 1137 * @arkts 1.1&1.2 1138 */ 1139 MATROSKA_AUDIO = 'org.matroska.mka', 1140 1141 /** 1142 * File data type. 1143 * 1144 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1145 * @since 10 1146 */ 1147 /** 1148 * File data type. 1149 * 1150 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1151 * @atomicservice 1152 * @since 11 1153 */ 1154 /** 1155 * File data type. 1156 * 1157 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1158 * @crossplatform 1159 * @atomicservice 1160 * @since arkts {'1.1':'14', '1.2':'20'} 1161 * @arkts 1.1&1.2 1162 */ 1163 FILE = 'general.file', 1164 1165 /** 1166 * Directory data type. 1167 * 1168 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1169 * @since arkts {'1.1':'11', '1.2':'20'} 1170 * @arkts 1.1&1.2 1171 */ 1172 DIRECTORY = 'general.directory', 1173 1174 /** 1175 * Folder data type. 1176 * 1177 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1178 * @since 10 1179 */ 1180 /** 1181 * Folder data type. 1182 * 1183 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1184 * @atomicservice 1185 * @since 11 1186 */ 1187 /** 1188 * Folder data type. 1189 * 1190 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1191 * @crossplatform 1192 * @atomicservice 1193 * @since arkts {'1.1':'14', '1.2':'20'} 1194 * @arkts 1.1&1.2 1195 */ 1196 FOLDER = 'general.folder', 1197 1198 /** 1199 * Symlink data type. 1200 * 1201 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1202 * @since arkts {'1.1':'11', '1.2':'20'} 1203 * @arkts 1.1&1.2 1204 */ 1205 SYMLINK = 'general.symlink', 1206 1207 /** 1208 * Archive file data type. 1209 * 1210 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1211 * @since arkts {'1.1':'11', '1.2':'20'} 1212 * @arkts 1.1&1.2 1213 */ 1214 ARCHIVE = 'general.archive', 1215 1216 /** 1217 * Bzip2 archive file data type. 1218 * 1219 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1220 * @since arkts {'1.1':'11', '1.2':'20'} 1221 * @arkts 1.1&1.2 1222 */ 1223 BZ2_ARCHIVE = 'general.bz2-archive', 1224 1225 /** 1226 * Opg archive data type. 1227 * 1228 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1229 * @since arkts {'1.1':'12', '1.2':'20'} 1230 * @arkts 1.1&1.2 1231 */ 1232 OPG = 'general.opg', 1233 1234 /** 1235 * Taz archive data type. 1236 * 1237 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1238 * @since arkts {'1.1':'12', '1.2':'20'} 1239 * @arkts 1.1&1.2 1240 */ 1241 TAZ_ARCHIVE = 'general.taz-archive', 1242 1243 /** 1244 * Web archive data type. 1245 * 1246 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1247 * @since arkts {'1.1':'12', '1.2':'20'} 1248 * @arkts 1.1&1.2 1249 */ 1250 WEB_ARCHIVE = 'general.web-archive', 1251 1252 /** 1253 * Disk image archive file data type. 1254 * 1255 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1256 * @since arkts {'1.1':'11', '1.2':'20'} 1257 * @arkts 1.1&1.2 1258 */ 1259 DISK_IMAGE = 'general.disk-image', 1260 1261 /** 1262 * Iso data type. 1263 * 1264 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1265 * @since arkts {'1.1':'12', '1.2':'20'} 1266 * @arkts 1.1&1.2 1267 */ 1268 ISO = 'general.iso', 1269 1270 /** 1271 * Tar archive data type. 1272 * 1273 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1274 * @since arkts {'1.1':'11', '1.2':'20'} 1275 * @arkts 1.1&1.2 1276 */ 1277 TAR_ARCHIVE = 'general.tar-archive', 1278 1279 /** 1280 * Zip archive data type. 1281 * 1282 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1283 * @since arkts {'1.1':'11', '1.2':'20'} 1284 * @arkts 1.1&1.2 1285 */ 1286 ZIP_ARCHIVE = 'general.zip-archive', 1287 1288 /** 1289 * Java archive data type. 1290 * 1291 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1292 * @since arkts {'1.1':'11', '1.2':'20'} 1293 * @arkts 1.1&1.2 1294 */ 1295 JAVA_ARCHIVE = 'com.sun.java-archive', 1296 1297 /** 1298 * GNU. This type belongs to ARCHIVE. 1299 * 1300 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1301 * @since arkts {'1.1':'11', '1.2':'20'} 1302 * @arkts 1.1&1.2 1303 */ 1304 GNU_TAR_ARCHIVE = 'org.gnu.gnu-tar-archive', 1305 1306 /** 1307 * Gzip archive data type. 1308 * 1309 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1310 * @since arkts {'1.1':'11', '1.2':'20'} 1311 * @arkts 1.1&1.2 1312 */ 1313 GNU_ZIP_ARCHIVE = 'org.gnu.gnu-zip-archive', 1314 1315 /** 1316 * Gzip tar archive data type. 1317 * 1318 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1319 * @since arkts {'1.1':'11', '1.2':'20'} 1320 * @arkts 1.1&1.2 1321 */ 1322 GNU_ZIP_TAR_ARCHIVE = 'org.gnu.gnu-zip-tar-archive', 1323 1324 /** 1325 * Office Open XML. 1326 * 1327 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1328 * @since arkts {'1.1':'12', '1.2':'20'} 1329 * @arkts 1.1&1.2 1330 */ 1331 OPENXML = 'org.openxmlformats.openxml', 1332 1333 /** 1334 * Office Open XML Document. 1335 * 1336 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1337 * @since arkts {'1.1':'12', '1.2':'20'} 1338 * @arkts 1.1&1.2 1339 */ 1340 WORDPROCESSINGML_DOCUMENT = 'org.openxmlformats.wordprocessingml.document', 1341 1342 /** 1343 * Office Open XML Workbook. 1344 * 1345 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1346 * @since arkts {'1.1':'12', '1.2':'20'} 1347 * @arkts 1.1&1.2 1348 */ 1349 SPREADSHEETML_SHEET = 'org.openxmlformats.spreadsheetml.sheet', 1350 1351 /** 1352 * Office Open XML Presentation. 1353 * 1354 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1355 * @since arkts {'1.1':'12', '1.2':'20'} 1356 * @arkts 1.1&1.2 1357 */ 1358 PRESENTATIONML_PRESENTATION = 'org.openxmlformats.presentationml.presentation', 1359 1360 /** 1361 * Office Open XML Drawingml visio. 1362 * 1363 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1364 * @since arkts {'1.1':'12', '1.2':'20'} 1365 * @arkts 1.1&1.2 1366 */ 1367 DRAWINGML_VISIO = 'org.openxmlformats.drawingml.visio', 1368 1369 /** 1370 * Office Open XML Drawingml template. 1371 * 1372 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1373 * @since arkts {'1.1':'12', '1.2':'20'} 1374 * @arkts 1.1&1.2 1375 */ 1376 DRAWINGML_TEMPLATE = 'org.openxmlformats.drawingml.template', 1377 1378 /** 1379 * Office Open XML Wordprocessingml template. 1380 * 1381 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1382 * @since arkts {'1.1':'12', '1.2':'20'} 1383 * @arkts 1.1&1.2 1384 */ 1385 WORDPROCESSINGML_TEMPLATE = 'org.openxmlformats.wordprocessingml.template', 1386 1387 /** 1388 * Office Open XML Presentationml template. 1389 * 1390 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1391 * @since arkts {'1.1':'12', '1.2':'20'} 1392 * @arkts 1.1&1.2 1393 */ 1394 PRESENTATIONML_TEMPLATE = 'org.openxmlformats.presentationml.template', 1395 1396 /** 1397 * Office Open XML Presentationml slideshow. 1398 * 1399 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1400 * @since arkts {'1.1':'12', '1.2':'20'} 1401 * @arkts 1.1&1.2 1402 */ 1403 PRESENTATIONML_SLIDESHOW = 'org.openxmlformats.presentationml.slideshow', 1404 1405 /** 1406 * Office Open XML Spreadsheetml template. 1407 * 1408 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1409 * @since arkts {'1.1':'12', '1.2':'20'} 1410 * @arkts 1.1&1.2 1411 */ 1412 SPREADSHEETML_TEMPLATE = 'org.openxmlformats.spreadsheetml.template', 1413 1414 /** 1415 * Open Document Format for Office Applications. 1416 * 1417 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1418 * @since arkts {'1.1':'12', '1.2':'20'} 1419 * @arkts 1.1&1.2 1420 */ 1421 OPENDOCUMENT = 'org.oasis.opendocument', 1422 1423 /** 1424 * OpenDocument Text. 1425 * 1426 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1427 * @since arkts {'1.1':'12', '1.2':'20'} 1428 * @arkts 1.1&1.2 1429 */ 1430 OPENDOCUMENT_TEXT = 'org.oasis.opendocument.text', 1431 1432 /** 1433 * OpenDocument Spreadsheet. 1434 * 1435 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1436 * @since arkts {'1.1':'12', '1.2':'20'} 1437 * @arkts 1.1&1.2 1438 */ 1439 OPENDOCUMENT_SPREADSHEET = 'org.oasis.opendocument.spreadsheet', 1440 1441 /** 1442 * OpenDocument Presentation. 1443 * 1444 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1445 * @since arkts {'1.1':'12', '1.2':'20'} 1446 * @arkts 1.1&1.2 1447 */ 1448 OPENDOCUMENT_PRESENTATION = 'org.oasis.opendocument.presentation', 1449 1450 /** 1451 * OpenDocument Graphics. 1452 * 1453 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1454 * @since arkts {'1.1':'12', '1.2':'20'} 1455 * @arkts 1.1&1.2 1456 */ 1457 OPENDOCUMENT_GRAPHICS = 'org.oasis.opendocument.graphics', 1458 1459 /** 1460 * OpenDocument Formulat. 1461 * 1462 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1463 * @since arkts {'1.1':'12', '1.2':'20'} 1464 * @arkts 1.1&1.2 1465 */ 1466 OPENDOCUMENT_FORMULA = 'org.oasis.opendocument.formula', 1467 1468 /** 1469 * Stuffit archive. 1470 * 1471 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1472 * @since arkts {'1.1':'12', '1.2':'20'} 1473 * @arkts 1.1&1.2 1474 */ 1475 STUFFIT_ARCHIVE = 'com.allume.stuffit-archive', 1476 1477 /** 1478 * Rar archive. 1479 * 1480 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1481 * @since arkts {'1.1':'12', '1.2':'20'} 1482 * @arkts 1.1&1.2 1483 */ 1484 RAR_ARCHIVE = 'com.rarlab.rar-archive', 1485 1486 /** 1487 * 7-zip archive. 1488 * 1489 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1490 * @since arkts {'1.1':'12', '1.2':'20'} 1491 * @arkts 1.1&1.2 1492 */ 1493 SEVEN_ZIP_ARCHIVE = 'org.7-zip.7-zip-archive', 1494 1495 /** 1496 * Calendar data type. 1497 * 1498 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1499 * @since arkts {'1.1':'11', '1.2':'20'} 1500 * @arkts 1.1&1.2 1501 */ 1502 CALENDAR = 'general.calendar', 1503 1504 /** 1505 * VCalendar type, a type of calendar format. 1506 * 1507 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1508 * @since arkts {'1.1':'12', '1.2':'20'} 1509 * @arkts 1.1&1.2 1510 */ 1511 VCS = 'general.vcs', 1512 1513 /** 1514 * ICalendar type, a type of calendar format. 1515 * 1516 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1517 * @since arkts {'1.1':'12', '1.2':'20'} 1518 * @arkts 1.1&1.2 1519 */ 1520 ICS = 'general.ics', 1521 1522 /** 1523 * Contact data type. 1524 * 1525 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1526 * @since arkts {'1.1':'11', '1.2':'20'} 1527 * @arkts 1.1&1.2 1528 */ 1529 CONTACT = 'general.contact', 1530 1531 /** 1532 * Database data type. 1533 * 1534 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1535 * @since arkts {'1.1':'11', '1.2':'20'} 1536 * @arkts 1.1&1.2 1537 */ 1538 DATABASE = 'general.database', 1539 1540 /** 1541 * Message data type. 1542 * 1543 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1544 * @since arkts {'1.1':'11', '1.2':'20'} 1545 * @arkts 1.1&1.2 1546 */ 1547 MESSAGE = 'general.message', 1548 1549 /** 1550 * Base type for executable data. 1551 * 1552 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1553 * @since arkts {'1.1':'12', '1.2':'20'} 1554 * @arkts 1.1&1.2 1555 */ 1556 EXECUTABLE = 'general.executable', 1557 1558 /** 1559 * Microsoft Windows application. 1560 * 1561 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1562 * @since arkts {'1.1':'12', '1.2':'20'} 1563 * @arkts 1.1&1.2 1564 */ 1565 PORTABLE_EXECUTABLE = 'com.microsoft.portable-executable', 1566 1567 /** 1568 * Java class. 1569 * 1570 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1571 * @since arkts {'1.1':'12', '1.2':'20'} 1572 * @arkts 1.1&1.2 1573 */ 1574 SUN_JAVA_CLASS = 'com.sun.java-class', 1575 1576 /** 1577 * A file format data type stand for electronic business card. 1578 * 1579 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1580 * @since arkts {'1.1':'11', '1.2':'20'} 1581 * @arkts 1.1&1.2 1582 */ 1583 VCARD = 'general.vcard', 1584 1585 /** 1586 * Navigation data type. 1587 * 1588 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1589 * @since arkts {'1.1':'11', '1.2':'20'} 1590 * @arkts 1.1&1.2 1591 */ 1592 NAVIGATION = 'general.navigation', 1593 1594 /** 1595 * Location data type. 1596 * 1597 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1598 * @since arkts {'1.1':'11', '1.2':'20'} 1599 * @arkts 1.1&1.2 1600 */ 1601 LOCATION = 'general.location', 1602 1603 /** 1604 * Base type for fonts. 1605 * 1606 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1607 * @since arkts {'1.1':'12', '1.2':'20'} 1608 * @arkts 1.1&1.2 1609 */ 1610 FONT = 'general.font', 1611 1612 /** 1613 * TrueType font. 1614 * 1615 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1616 * @since arkts {'1.1':'12', '1.2':'20'} 1617 * @arkts 1.1&1.2 1618 */ 1619 TRUETYPE_FONT = 'general.truetype-font', 1620 1621 /** 1622 * TrueType collection font. 1623 * 1624 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1625 * @since arkts {'1.1':'12', '1.2':'20'} 1626 * @arkts 1.1&1.2 1627 */ 1628 TRUETYPE_COLLECTION_FONT = 'general.truetype-collection-font', 1629 1630 /** 1631 * OpenType font. 1632 * 1633 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1634 * @since arkts {'1.1':'12', '1.2':'20'} 1635 * @arkts 1.1&1.2 1636 */ 1637 OPENTYPE_FONT = 'general.opentype-font', 1638 1639 /** 1640 * PostScript font. 1641 * 1642 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1643 * @since arkts {'1.1':'12', '1.2':'20'} 1644 * @arkts 1.1&1.2 1645 */ 1646 POSTSCRIPT_FONT = 'com.adobe.postscript-font', 1647 1648 /** 1649 * A Printer Font Binary version of Adobe's Type 1. 1650 * 1651 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1652 * @since arkts {'1.1':'12', '1.2':'20'} 1653 * @arkts 1.1&1.2 1654 */ 1655 POSTSCRIPT_PFB_FONT = 'com.adobe.postscript-pfb-font', 1656 1657 /** 1658 * Adobe Type 1 font. 1659 * 1660 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1661 * @since arkts {'1.1':'12', '1.2':'20'} 1662 * @arkts 1.1&1.2 1663 */ 1664 POSTSCRIPT_PFA_FONT = 'com.adobe.postscript-pfa-font', 1665 1666 /** 1667 * OpenHarmony system defined form data type(the data is provided and bound to OpenHarmony system). 1668 * 1669 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1670 * @since 10 1671 */ 1672 /** 1673 * OpenHarmony system defined form data type(the data is provided and bound to OpenHarmony system). 1674 * 1675 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1676 * @atomicservice 1677 * @since arkts {'1.1':'11', '1.2':'20'} 1678 * @arkts 1.1&1.2 1679 */ 1680 OPENHARMONY_FORM = 'openharmony.form', 1681 1682 /** 1683 * OpenHarmony system defined app item data type(the data is provided and bound to OpenHarmony system). 1684 * 1685 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1686 * @since 10 1687 */ 1688 /** 1689 * OpenHarmony system defined app item data type(the data is provided and bound to OpenHarmony system). 1690 * 1691 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1692 * @atomicservice 1693 * @since arkts {'1.1':'11', '1.2':'20'} 1694 * @arkts 1.1&1.2 1695 */ 1696 OPENHARMONY_APP_ITEM = 'openharmony.app-item', 1697 1698 /** 1699 * OpenHarmony system defined pixel map data type(the data is provided and bound to OpenHarmony system). 1700 * 1701 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1702 * @since 10 1703 */ 1704 /** 1705 * OpenHarmony system defined pixel map data type(the data is provided and bound to OpenHarmony system). 1706 * 1707 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1708 * @atomicservice 1709 * @since 11 1710 */ 1711 /** 1712 * OpenHarmony system defined pixel map data type(the data is provided and bound to OpenHarmony system). 1713 * 1714 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1715 * @crossplatform 1716 * @atomicservice 1717 * @since arkts {'1.1':'14', '1.2':'20'} 1718 * @arkts 1.1&1.2 1719 */ 1720 OPENHARMONY_PIXEL_MAP = 'openharmony.pixel-map', 1721 1722 /** 1723 * OpenHarmony system defined atomic service data type(the data is provided and bound to OpenHarmony system). 1724 * 1725 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1726 * @since arkts {'1.1':'11', '1.2':'20'} 1727 * @arkts 1.1&1.2 1728 */ 1729 OPENHARMONY_ATOMIC_SERVICE = 'openharmony.atomic-service', 1730 1731 /** 1732 * OpenHarmony system defined package, which is a directory presented to the user as a file(the data is provided 1733 * <br>and bound to OpenHarmony system). 1734 * 1735 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1736 * @since arkts {'1.1':'11', '1.2':'20'} 1737 * @arkts 1.1&1.2 1738 */ 1739 OPENHARMONY_PACKAGE = 'openharmony.package', 1740 1741 /** 1742 * OpenHarmony system defined ability package(the data is provided and bound to OpenHarmony system). 1743 * 1744 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1745 * @since arkts {'1.1':'11', '1.2':'20'} 1746 * @arkts 1.1&1.2 1747 */ 1748 OPENHARMONY_HAP = 'openharmony.hap', 1749 1750 /** 1751 * OpenHarmony system AppNotepad data format. 1752 * 1753 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1754 * @since arkts {'1.1':'12', '1.2':'20'} 1755 * @arkts 1.1&1.2 1756 */ 1757 OPENHARMONY_HDOC = 'openharmony.hdoc', 1758 1759 /** 1760 * OpenHarmony system Notes data format. 1761 * 1762 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1763 * @since arkts {'1.1':'12', '1.2':'20'} 1764 * @arkts 1.1&1.2 1765 */ 1766 OPENHARMONY_HINOTE = 'openharmony.hinote', 1767 1768 /** 1769 * OpenHarmony system defined styled string. 1770 * 1771 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1772 * @since arkts {'1.1':'12', '1.2':'20'} 1773 * @arkts 1.1&1.2 1774 */ 1775 OPENHARMONY_STYLED_STRING = 'openharmony.styled-string', 1776 1777 /** 1778 * OpenHarmony system defined Want. 1779 * 1780 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1781 * @since arkts {'1.1':'12', '1.2':'20'} 1782 * @arkts 1.1&1.2 1783 */ 1784 OPENHARMONY_WANT = 'openharmony.want', 1785 1786 /** 1787 * Ofd data type. 1788 * 1789 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1790 * @since arkts {'1.1':'12', '1.2':'20'} 1791 * @arkts 1.1&1.2 1792 */ 1793 OFD = 'general.ofd', 1794 1795 /** 1796 * Cad data type. 1797 * 1798 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1799 * @since arkts {'1.1':'12', '1.2':'20'} 1800 * @arkts 1.1&1.2 1801 */ 1802 CAD = 'general.cad', 1803 1804 /** 1805 * Octet stream data type. 1806 * 1807 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1808 * @since arkts {'1.1':'12', '1.2':'20'} 1809 * @arkts 1.1&1.2 1810 */ 1811 OCTET_STREAM = 'general.octet-stream', 1812 1813 /** 1814 * File uri data type. 1815 * 1816 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1817 * @since arkts {'1.1':'15', '1.2':'20'} 1818 * @arkts 1.1&1.2 1819 */ 1820 FILE_URI = 'general.file-uri', 1821 1822 /** 1823 * Content widget type. This type belongs to OBJECT. 1824 * 1825 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1826 * @since arkts {'1.1':'15', '1.2':'20'} 1827 * @arkts 1.1&1.2 1828 */ 1829 CONTENT_FORM = 'general.content-form' 1830 } 1831 1832 /** 1833 * Class describing the uniform data type defined in the {@code UniformDataType}, which consists of attributes and 1834 * <br>methods describing the uniform data type and its relationships to other uniform data types. 1835 * 1836 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1837 * @since 11 1838 */ 1839 /** 1840 * Class describing the uniform data type defined in the {@code UniformDataType}, which consists of attributes and 1841 * <br>methods describing the uniform data type and its relationships to other uniform data types. 1842 * 1843 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1844 * @crossplatform 1845 * @since 20 1846 */ 1847 class TypeDescriptor { 1848 /** 1849 * Type ID of the uniform data type, which corresponds to the enum string in the {@code UniformDataType}. 1850 * 1851 * @type { string } 1852 * @readonly 1853 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1854 * @since 11 1855 */ 1856 /** 1857 * Type ID of the uniform data type, which corresponds to the enum string in the {@code UniformDataType}. 1858 * 1859 * @type { string } 1860 * @readonly 1861 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1862 * @crossplatform 1863 * @since 20 1864 */ 1865 readonly typeId: string; 1866 1867 /** 1868 * Uniform data type IDs that the uniform data type belongs to. 1869 * 1870 * @type { Array<string> } 1871 * @readonly 1872 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1873 * @since 11 1874 */ 1875 /** 1876 * Uniform data type IDs that the uniform data type belongs to. 1877 * 1878 * @type { Array<string> } 1879 * @readonly 1880 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1881 * @crossplatform 1882 * @since 20 1883 */ 1884 readonly belongingToTypes: Array<string>; 1885 1886 /** 1887 * A textual description for the uniform data type. 1888 * 1889 * @type { string } 1890 * @readonly 1891 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1892 * @since 11 1893 */ 1894 /** 1895 * A textual description for the uniform data type. 1896 * 1897 * @type { string } 1898 * @readonly 1899 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1900 * @crossplatform 1901 * @since 20 1902 */ 1903 readonly description: string; 1904 1905 /** 1906 * Reference URL for the uniform data type, which describes the detail information of the type. 1907 * 1908 * @type { string } 1909 * @readonly 1910 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1911 * @since 11 1912 */ 1913 /** 1914 * Reference URL for the uniform data type, which describes the detail information of the type. 1915 * 1916 * @type { string } 1917 * @readonly 1918 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1919 * @crossplatform 1920 * @since 20 1921 */ 1922 readonly referenceURL: string; 1923 1924 /** 1925 * Default icon file path for the uniform data type. 1926 * 1927 * @type { string } 1928 * @readonly 1929 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1930 * @since 11 1931 */ 1932 /** 1933 * Default icon file path for the uniform data type. 1934 * 1935 * @type { string } 1936 * @readonly 1937 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1938 * @crossplatform 1939 * @since 20 1940 */ 1941 readonly iconFile: string; 1942 1943 /** 1944 * File name extensions for the uniform data type. 1945 * 1946 * @type { Array<string> } 1947 * @readonly 1948 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1949 * @since 12 1950 */ 1951 /** 1952 * File name extensions for the uniform data type. 1953 * 1954 * @type { Array<string> } 1955 * @readonly 1956 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1957 * @crossplatform 1958 * @since 20 1959 */ 1960 readonly filenameExtensions: Array<string>; 1961 1962 /** 1963 * MIMETypes of the uniform data type. 1964 * 1965 * @type { Array<string> } 1966 * @readonly 1967 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1968 * @since 12 1969 */ 1970 /** 1971 * MIMETypes of the uniform data type. 1972 * 1973 * @type { Array<string> } 1974 * @readonly 1975 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1976 * @crossplatform 1977 * @since 20 1978 */ 1979 readonly mimeTypes: Array<string>; 1980 1981 /** 1982 * Checks whether the uniform data type belongs to the given uniform data type. 1983 * 1984 * @param { string } type - A uniform data type to be compared. 1985 * @returns { boolean } Returns true if the data type belongs to the given data type, else false. 1986 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 1987 * <br>2.Incorrect parameters types. 1988 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1989 * @since 11 1990 */ 1991 /** 1992 * Checks whether the uniform data type belongs to the given uniform data type. 1993 * 1994 * @param { string } type - A uniform data type to be compared. 1995 * @returns { boolean } Returns true if the data type belongs to the given data type, else false. 1996 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 1997 * <br>2.Incorrect parameters types. 1998 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 1999 * @crossplatform 2000 * @since 20 2001 */ 2002 belongsTo(type: string): boolean; 2003 2004 /** 2005 * Checks whether the uniform data type is the lower level type of the given uniform data type. 2006 * 2007 * @param { string } type - A uniform data type to be compared. 2008 * @returns { boolean } Returns true if the data type is the lower level type of the given data type, else false. 2009 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2010 * <br>2.Incorrect parameters types. 2011 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2012 * @since 11 2013 */ 2014 /** 2015 * Checks whether the uniform data type is the lower level type of the given uniform data type. 2016 * 2017 * @param { string } type - A uniform data type to be compared. 2018 * @returns { boolean } Returns true if the data type is the lower level type of the given data type, else false. 2019 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2020 * <br>2.Incorrect parameters types. 2021 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2022 * @crossplatform 2023 * @since 20 2024 */ 2025 isLowerLevelType(type: string): boolean; 2026 2027 /** 2028 * Checks whether the uniform data type is the higher level type of the given uniform data type. 2029 * 2030 * @param { string } type - A uniform data type to be compared. 2031 * @returns { boolean } Returns true if the data type is the higher level type of the given data type, else false. 2032 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2033 * <br>2.Incorrect parameters types. 2034 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2035 * @since 11 2036 */ 2037 /** 2038 * Checks whether the uniform data type is the higher level type of the given uniform data type. 2039 * 2040 * @param { string } type - A uniform data type to be compared. 2041 * @returns { boolean } Returns true if the data type is the higher level type of the given data type, else false. 2042 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2043 * <br>2.Incorrect parameters types. 2044 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2045 * @crossplatform 2046 * @since 20 2047 */ 2048 isHigherLevelType(type: string): boolean; 2049 2050 /** 2051 * Checks whether the uniform type descriptor is equal to the given uniform type descriptor. 2052 * 2053 * @param { TypeDescriptor } typeDescriptor - A uniform type descriptor to be compared. 2054 * @returns { boolean } Returns true if the type descriptor is equal to the given type descriptor, else false. 2055 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2056 * <br>2.Incorrect parameters types. 2057 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2058 * @since 11 2059 */ 2060 /** 2061 * Checks whether the uniform type descriptor is equal to the given uniform type descriptor. 2062 * 2063 * @param { TypeDescriptor } typeDescriptor - A uniform type descriptor to be compared. 2064 * @returns { boolean } Returns true if the type descriptor is equal to the given type descriptor, else false. 2065 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2066 * <br>2.Incorrect parameters types. 2067 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2068 * @crossplatform 2069 * @since 20 2070 */ 2071 equals(typeDescriptor: TypeDescriptor): boolean; 2072 } 2073 2074 /** 2075 * Queries and returns the uniform type descriptor by the given uniform data type ID. 2076 * 2077 * @param { string } typeId - Uniform data type ID. 2078 * @returns { TypeDescriptor } Returns the uniform type descriptor corresponding to the uniform data type ID or null 2079 * <br>if the uniform data type does not exist. 2080 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2081 * <br>2.Incorrect parameters types. 2082 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2083 * @since 11 2084 */ 2085 /** 2086 * Queries and returns the uniform type descriptor by the given uniform data type ID. 2087 * 2088 * @param { string } typeId - Uniform data type ID. 2089 * @returns { TypeDescriptor } Returns the uniform type descriptor corresponding to the uniform data type ID or null 2090 * <br>if the uniform data type does not exist. 2091 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2092 * <br>2.Incorrect parameters types. 2093 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2094 * @crossplatform 2095 * @since 20 2096 */ 2097 function getTypeDescriptor(typeId: string): TypeDescriptor; 2098 2099 /** 2100 * Queries and returns the uniform type descriptor by the given filename extension and the uniform data type it 2101 * belongs to. 2102 * 2103 * @param { string } filenameExtension - Filename extension. 2104 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2105 * @returns { string } Returns the uniform data type ID corresponding to the given filename extension and the 2106 * <br>uniform data type it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type 2107 * does not exist. 2108 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2109 * <br>2.Incorrect parameters types. 2110 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2111 * @since 11 2112 */ 2113 /** 2114 * Queries and returns the uniform type descriptor by the given filename extension and the uniform data type it 2115 * belongs to. 2116 * 2117 * @param { string } filenameExtension - Filename extension. 2118 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2119 * @returns { string } Returns the uniform data type ID corresponding to the given filename extension and the 2120 * <br>uniform data type it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type 2121 * does not exist. 2122 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2123 * <br>2.Incorrect parameters types. 2124 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2125 * @crossplatform 2126 * @since 20 2127 * @arkts 1.1&1.2 2128 */ 2129 function getUniformDataTypeByFilenameExtension(filenameExtension: string, belongsTo?: string): string; 2130 2131 /** 2132 * Queries and returns the uniform type descriptor by the given MIME type and the uniform data type it belongs to. 2133 * 2134 * @param { string } mimeType - MIME type. 2135 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2136 * @returns { string } Returns the uniform data type ID corresponding to the given MIME type and the uniform data type 2137 * <br>it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type does not exist. 2138 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2139 * <br>2.Incorrect parameters types. 2140 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2141 * @since 11 2142 */ 2143 /** 2144 * Queries and returns the uniform type descriptor by the given MIME type and the uniform data type it belongs to. 2145 * 2146 * @param { string } mimeType - MIME type. 2147 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2148 * @returns { string } Returns the uniform data type ID corresponding to the given MIME type and the uniform data type 2149 * <br>it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type does not exist. 2150 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2151 * <br>2.Incorrect parameters types. 2152 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2153 * @crossplatform 2154 * @since 20 2155 */ 2156 function getUniformDataTypeByMIMEType(mimeType: string, belongsTo?: string): string; 2157 2158 /** 2159 * Queries and returns the uniform type descriptor list by the given filename extension and the uniform data type it 2160 * belongs to. 2161 * 2162 * @param { string } filenameExtension - Filename extension. 2163 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2164 * @returns { Array<string> } Returns the uniform data type ID list corresponding to the given filename extension and 2165 * the uniform data type it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type 2166 * does not exist. 2167 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2168 * <br>2.Incorrect parameters types. 2169 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2170 * @since 13 2171 */ 2172 /** 2173 * Queries and returns the uniform type descriptor list by the given filename extension and the uniform data type it 2174 * belongs to. 2175 * 2176 * @param { string } filenameExtension - Filename extension. 2177 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2178 * @returns { Array<string> } Returns the uniform data type ID list corresponding to the given filename extension and 2179 * the uniform data type it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type 2180 * does not exist. 2181 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2182 * <br>2.Incorrect parameters types. 2183 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2184 * @crossplatform 2185 * @since 20 2186 */ 2187 function getUniformDataTypesByFilenameExtension(filenameExtension: string, belongsTo?: string): Array<string>; 2188 2189 /** 2190 * Queries and returns the uniform type descriptor list by the given MIME type and the uniform data type it belongs 2191 * to. 2192 * 2193 * @param { string } mimeType - MIME type. 2194 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2195 * @returns { Array<string> } Returns the uniform data type ID list corresponding to the given MIME type and the 2196 * uniform data type it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type does 2197 * not exist. 2198 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2199 * <br>2.Incorrect parameters types. 2200 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2201 * @since 13 2202 */ 2203 /** 2204 * Queries and returns the uniform type descriptor list by the given MIME type and the uniform data type it belongs 2205 * to. 2206 * 2207 * @param { string } mimeType - MIME type. 2208 * @param { string } [belongsTo] - A uniform data type ID it belongs to. 2209 * @returns { Array<string> } Returns the uniform data type ID list corresponding to the given MIME type and the 2210 * uniform data type it belongs to(If the 'belongsTo' parameter is set) or flexible type if the uniform data type does 2211 * not exist. 2212 * @throws { BusinessError } 401 - Parameter error. Possible causes:1.Mandatory parameters are left unspecified; 2213 * <br>2.Incorrect parameters types. 2214 * @syscap SystemCapability.DistributedDataManager.UDMF.Core 2215 * @crossplatform 2216 * @since 20 2217 */ 2218 function getUniformDataTypesByMIMEType(mimeType: string, belongsTo?: string): Array<string>; 2219} 2220 2221export default uniformTypeDescriptor; 2222