1// Jest Snapshot v1, https://goo.gl/fbAQLP 2 3exports[`APISection expo-apple-authentication 1`] = ` 4<div> 5 <h2 6 class=" css-1qsxz84-TextComponent" 7 data-heading="true" 8 > 9 <a 10 class="css-1y48vg3" 11 href="#component" 12 > 13 <span 14 class="css-s3qkfm" 15 id="component" 16 /> 17 <span 18 class="css-6n7j50" 19 > 20 Component 21 </span> 22 <span 23 class="css-13330di" 24 > 25 <svg 26 aria-label="permalink" 27 class="anchor-icon" 28 fill="none" 29 height="24" 30 viewBox="0 0 24 24" 31 width="24" 32 xmlns="http://www.w3.org/2000/svg" 33 > 34 <path 35 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 36 stroke="#9B9B9B" 37 stroke-linecap="round" 38 stroke-linejoin="round" 39 stroke-width="2" 40 /> 41 <path 42 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 43 stroke="#9B9B9B" 44 stroke-linecap="round" 45 stroke-linejoin="round" 46 stroke-width="2" 47 /> 48 </svg> 49 </span> 50 </a> 51 </h2> 52 <div 53 class="css-1fultt1" 54 > 55 <h3 56 class=" css-wbzzgj-TextComponent" 57 data-heading="true" 58 > 59 <a 60 class="css-1y48vg3" 61 href="#appleauthenticationbutton" 62 > 63 <span 64 class="css-s3qkfm" 65 id="appleauthenticationbutton" 66 /> 67 <span 68 class="css-6n7j50" 69 > 70 <code 71 class="css-yd3r23-TextComponent" 72 data-text="true" 73 > 74 AppleAuthenticationButton 75 </code> 76 </span> 77 <span 78 class="css-13330di" 79 > 80 <svg 81 aria-label="permalink" 82 class="anchor-icon" 83 fill="none" 84 height="24" 85 viewBox="0 0 24 24" 86 width="24" 87 xmlns="http://www.w3.org/2000/svg" 88 > 89 <path 90 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 91 stroke="#9B9B9B" 92 stroke-linecap="round" 93 stroke-linejoin="round" 94 stroke-width="2" 95 /> 96 <path 97 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 98 stroke="#9B9B9B" 99 stroke-linecap="round" 100 stroke-linejoin="round" 101 stroke-width="2" 102 /> 103 </svg> 104 </span> 105 </a> 106 </h3> 107 <p 108 class="mb-4 css-1kfqm4n-TextComponent" 109 data-text="true" 110 > 111 <strong 112 class="css-bvflvn-TextComponent" 113 > 114 Type: 115 </strong> 116 117 <code 118 class="css-iwb7ur-TextComponent" 119 data-text="true" 120 > 121 React.Element 122 < 123 <a 124 class="css-1na8e0o-A" 125 href="#appleauthenticationbuttonprops" 126 > 127 AppleAuthenticationButtonProps 128 </a> 129 > 130 </code> 131 </p> 132 <p 133 class="mb-4 css-1kfqm4n-TextComponent" 134 data-text="true" 135 > 136 This component displays the proprietary "Sign In with Apple" / "Continue with Apple" button on 137your screen. The App Store Guidelines require you to use this component to start the 138authentication process instead of a custom button. Limited customization of the button is 139available via the provided properties. 140 </p> 141 142 143 <p 144 class="mb-4 css-1kfqm4n-TextComponent" 145 data-text="true" 146 > 147 You should only attempt to render this if 148 <a 149 class="css-1na8e0o-A" 150 href="#isavailableasync" 151 > 152 <code 153 class="css-1a6y07t-TextComponent" 154 data-text="true" 155 > 156 AppleAuthentication.isAvailableAsync() 157 </code> 158 </a> 159 160resolves to 161 <code 162 class="css-1a6y07t-TextComponent" 163 data-text="true" 164 > 165 true 166 </code> 167 . This component will render nothing if it is not available, and you will get 168a warning in development mode ( 169 <code 170 class="css-1a6y07t-TextComponent" 171 data-text="true" 172 > 173 __DEV__ === true 174 </code> 175 ). 176 </p> 177 178 179 <p 180 class="mb-4 css-1kfqm4n-TextComponent" 181 data-text="true" 182 > 183 The properties of this component extend from 184 <code 185 class="css-1a6y07t-TextComponent" 186 data-text="true" 187 > 188 View 189 </code> 190 ; however, you should not attempt to set 191 192 <code 193 class="css-1a6y07t-TextComponent" 194 data-text="true" 195 > 196 backgroundColor 197 </code> 198 or 199 <code 200 class="css-1a6y07t-TextComponent" 201 data-text="true" 202 > 203 borderRadius 204 </code> 205 with the 206 <code 207 class="css-1a6y07t-TextComponent" 208 data-text="true" 209 > 210 style 211 </code> 212 property. This will not work and is against 213the App Store Guidelines. Instead, you should use the 214 <code 215 class="css-1a6y07t-TextComponent" 216 data-text="true" 217 > 218 buttonStyle 219 </code> 220 property to choose one of the 221predefined color styles and the 222 <code 223 class="css-1a6y07t-TextComponent" 224 data-text="true" 225 > 226 cornerRadius 227 </code> 228 property to change the border radius of the 229button. 230 </p> 231 232 233 <p 234 class="mb-4 css-1kfqm4n-TextComponent" 235 data-text="true" 236 > 237 Make sure to attach height and width via the style props as without these styles, the button will 238not appear on the screen. 239 </p> 240 <blockquote 241 class="css-zknray-Callout" 242 data-testid="callout-container" 243 > 244 <div 245 class="css-7jywx8-Callout" 246 > 247 <svg 248 class="icon-sm text-icon-default" 249 fill="currentColor" 250 role="img" 251 viewBox="0 0 24 24" 252 xmlns="http://www.w3.org/2000/svg" 253 > 254 <g 255 id="info-circle" 256 > 257 <path 258 clip-rule="evenodd" 259 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 260 fill-rule="evenodd" 261 id="Solid" 262 /> 263 </g> 264 </svg> 265 </div> 266 <div 267 class="css-1m74yfi-Callout" 268 > 269 <p 270 class="mb-4 css-1kfqm4n-TextComponent" 271 data-text="true" 272 > 273 <strong 274 class="css-bvflvn-TextComponent" 275 > 276 See: 277 </strong> 278 279 <a 280 class="css-1na8e0o-A" 281 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidbutton" 282 rel="noopener noreferrer" 283 target="_blank" 284 > 285 Apple 286Documentation 287 </a> 288 289for more details. 290 </p> 291 </div> 292 </blockquote> 293 <h2 294 class=" css-1qsxz84-TextComponent" 295 data-heading="true" 296 > 297 <a 298 class="css-1y48vg3" 299 href="#props" 300 > 301 <span 302 class="css-s3qkfm" 303 id="props" 304 /> 305 <span 306 class="css-6n7j50" 307 > 308 Props 309 </span> 310 <span 311 class="css-13330di" 312 > 313 <svg 314 aria-label="permalink" 315 class="anchor-icon" 316 fill="none" 317 height="24" 318 viewBox="0 0 24 24" 319 width="24" 320 xmlns="http://www.w3.org/2000/svg" 321 > 322 <path 323 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 324 stroke="#9B9B9B" 325 stroke-linecap="round" 326 stroke-linejoin="round" 327 stroke-width="2" 328 /> 329 <path 330 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 331 stroke="#9B9B9B" 332 stroke-linecap="round" 333 stroke-linejoin="round" 334 stroke-width="2" 335 /> 336 </svg> 337 </span> 338 </a> 339 </h2> 340 <div> 341 <div 342 class="css-11xr3cd" 343 > 344 <h3 345 class=" css-wbzzgj-TextComponent" 346 data-heading="true" 347 > 348 <a 349 class="css-1y48vg3" 350 href="#buttonstyle" 351 > 352 <span 353 class="css-s3qkfm" 354 id="buttonstyle" 355 /> 356 <span 357 class="css-6n7j50" 358 > 359 <code 360 class="css-s0csg4-TextComponent" 361 data-text="true" 362 > 363 buttonStyle 364 </code> 365 </span> 366 <span 367 class="css-13330di" 368 > 369 <svg 370 aria-label="permalink" 371 class="anchor-icon" 372 fill="none" 373 height="24" 374 viewBox="0 0 24 24" 375 width="24" 376 xmlns="http://www.w3.org/2000/svg" 377 > 378 <path 379 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 380 stroke="#9B9B9B" 381 stroke-linecap="round" 382 stroke-linejoin="round" 383 stroke-width="2" 384 /> 385 <path 386 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 387 stroke="#9B9B9B" 388 stroke-linecap="round" 389 stroke-linejoin="round" 390 stroke-width="2" 391 /> 392 </svg> 393 </span> 394 </a> 395 </h3> 396 <p 397 class="mb-4 css-1kfqm4n-TextComponent" 398 data-text="true" 399 > 400 <span 401 class="css-1lk0cux" 402 > 403 Type: 404 </span> 405 406 <code 407 class="css-iwb7ur-TextComponent" 408 data-text="true" 409 > 410 <a 411 class="css-1na8e0o-A" 412 href="#appleauthenticationbuttonstyle" 413 > 414 AppleAuthenticationButtonStyle 415 </a> 416 </code> 417 </p> 418 <p 419 class="mb-4 css-1kfqm4n-TextComponent" 420 data-text="true" 421 > 422 The Apple-defined color scheme to use to display the button. 423 </p> 424 </div> 425 <div 426 class="css-11xr3cd" 427 > 428 <h3 429 class=" css-wbzzgj-TextComponent" 430 data-heading="true" 431 > 432 <a 433 class="css-1y48vg3" 434 href="#buttontype" 435 > 436 <span 437 class="css-s3qkfm" 438 id="buttontype" 439 /> 440 <span 441 class="css-6n7j50" 442 > 443 <code 444 class="css-s0csg4-TextComponent" 445 data-text="true" 446 > 447 buttonType 448 </code> 449 </span> 450 <span 451 class="css-13330di" 452 > 453 <svg 454 aria-label="permalink" 455 class="anchor-icon" 456 fill="none" 457 height="24" 458 viewBox="0 0 24 24" 459 width="24" 460 xmlns="http://www.w3.org/2000/svg" 461 > 462 <path 463 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 464 stroke="#9B9B9B" 465 stroke-linecap="round" 466 stroke-linejoin="round" 467 stroke-width="2" 468 /> 469 <path 470 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 471 stroke="#9B9B9B" 472 stroke-linecap="round" 473 stroke-linejoin="round" 474 stroke-width="2" 475 /> 476 </svg> 477 </span> 478 </a> 479 </h3> 480 <p 481 class="mb-4 css-1kfqm4n-TextComponent" 482 data-text="true" 483 > 484 <span 485 class="css-1lk0cux" 486 > 487 Type: 488 </span> 489 490 <code 491 class="css-iwb7ur-TextComponent" 492 data-text="true" 493 > 494 <a 495 class="css-1na8e0o-A" 496 href="#appleauthenticationbuttontype" 497 > 498 AppleAuthenticationButtonType 499 </a> 500 </code> 501 </p> 502 <p 503 class="mb-4 css-1kfqm4n-TextComponent" 504 data-text="true" 505 > 506 The type of button text to display ("Sign In with Apple" vs. "Continue with Apple"). 507 </p> 508 </div> 509 <div 510 class="css-11xr3cd" 511 > 512 <h3 513 class=" css-wbzzgj-TextComponent" 514 data-heading="true" 515 > 516 <a 517 class="css-1y48vg3" 518 href="#cornerradius" 519 > 520 <span 521 class="css-s3qkfm" 522 id="cornerradius" 523 /> 524 <span 525 class="css-6n7j50" 526 > 527 <code 528 class="css-s0csg4-TextComponent" 529 data-text="true" 530 > 531 cornerRadius 532 </code> 533 </span> 534 <span 535 class="css-13330di" 536 > 537 <svg 538 aria-label="permalink" 539 class="anchor-icon" 540 fill="none" 541 height="24" 542 viewBox="0 0 24 24" 543 width="24" 544 xmlns="http://www.w3.org/2000/svg" 545 > 546 <path 547 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 548 stroke="#9B9B9B" 549 stroke-linecap="round" 550 stroke-linejoin="round" 551 stroke-width="2" 552 /> 553 <path 554 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 555 stroke="#9B9B9B" 556 stroke-linecap="round" 557 stroke-linejoin="round" 558 stroke-width="2" 559 /> 560 </svg> 561 </span> 562 </a> 563 </h3> 564 <p 565 class="mb-4 css-1kfqm4n-TextComponent" 566 data-text="true" 567 > 568 <span 569 class="css-1lk0cux" 570 > 571 Optional • 572 </span> 573 <span 574 class="css-1lk0cux" 575 > 576 Type: 577 </span> 578 579 <code 580 class="css-iwb7ur-TextComponent" 581 data-text="true" 582 > 583 number 584 </code> 585 </p> 586 <p 587 class="mb-4 css-1kfqm4n-TextComponent" 588 data-text="true" 589 > 590 The border radius to use when rendering the button. This works similarly to 591 592 <code 593 class="css-1a6y07t-TextComponent" 594 data-text="true" 595 > 596 style.borderRadius 597 </code> 598 in other Views. 599 </p> 600 </div> 601 <div 602 class="css-11xr3cd" 603 > 604 <h3 605 class=" css-wbzzgj-TextComponent" 606 data-heading="true" 607 > 608 <a 609 class="css-1y48vg3" 610 href="#onpress" 611 > 612 <span 613 class="css-s3qkfm" 614 id="onpress" 615 /> 616 <span 617 class="css-6n7j50" 618 > 619 <code 620 class="css-s0csg4-TextComponent" 621 data-text="true" 622 > 623 onPress 624 </code> 625 </span> 626 <span 627 class="css-13330di" 628 > 629 <svg 630 aria-label="permalink" 631 class="anchor-icon" 632 fill="none" 633 height="24" 634 viewBox="0 0 24 24" 635 width="24" 636 xmlns="http://www.w3.org/2000/svg" 637 > 638 <path 639 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 640 stroke="#9B9B9B" 641 stroke-linecap="round" 642 stroke-linejoin="round" 643 stroke-width="2" 644 /> 645 <path 646 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 647 stroke="#9B9B9B" 648 stroke-linecap="round" 649 stroke-linejoin="round" 650 stroke-width="2" 651 /> 652 </svg> 653 </span> 654 </a> 655 </h3> 656 <p 657 class="mb-4 css-1kfqm4n-TextComponent" 658 data-text="true" 659 > 660 <span 661 class="css-1lk0cux" 662 > 663 Type: 664 </span> 665 666 <code 667 class="css-iwb7ur-TextComponent" 668 data-text="true" 669 > 670 ( 671 ) => 672 void 673 </code> 674 </p> 675 <p 676 class="mb-4 css-1kfqm4n-TextComponent" 677 data-text="true" 678 > 679 The method to call when the user presses the button. You should call 680 <a 681 class="css-1na8e0o-A" 682 href="#isavailableasync" 683 > 684 <code 685 class="css-1a6y07t-TextComponent" 686 data-text="true" 687 > 688 AppleAuthentication.signInAsync 689 </code> 690 </a> 691 692in here. 693 </p> 694 </div> 695 <div 696 class="css-11xr3cd" 697 > 698 <h3 699 class=" css-wbzzgj-TextComponent" 700 data-heading="true" 701 > 702 <a 703 class="css-1y48vg3" 704 href="#style" 705 > 706 <span 707 class="css-s3qkfm" 708 id="style" 709 /> 710 <span 711 class="css-6n7j50" 712 > 713 <code 714 class="css-s0csg4-TextComponent" 715 data-text="true" 716 > 717 style 718 </code> 719 </span> 720 <span 721 class="css-13330di" 722 > 723 <svg 724 aria-label="permalink" 725 class="anchor-icon" 726 fill="none" 727 height="24" 728 viewBox="0 0 24 24" 729 width="24" 730 xmlns="http://www.w3.org/2000/svg" 731 > 732 <path 733 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 734 stroke="#9B9B9B" 735 stroke-linecap="round" 736 stroke-linejoin="round" 737 stroke-width="2" 738 /> 739 <path 740 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 741 stroke="#9B9B9B" 742 stroke-linecap="round" 743 stroke-linejoin="round" 744 stroke-width="2" 745 /> 746 </svg> 747 </span> 748 </a> 749 </h3> 750 <p 751 class="mb-4 css-1kfqm4n-TextComponent" 752 data-text="true" 753 > 754 <span 755 class="css-1lk0cux" 756 > 757 Optional • 758 </span> 759 <span 760 class="css-1lk0cux" 761 > 762 Type: 763 </span> 764 765 <code 766 class="css-iwb7ur-TextComponent" 767 data-text="true" 768 > 769 StyleProp 770 < 771 <span> 772 <a 773 class="css-1na8e0o-A" 774 href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" 775 rel="noopener noreferrer" 776 target="_blank" 777 > 778 Omit 779 </a> 780 < 781 <span> 782 <a 783 class="css-1na8e0o-A" 784 href="https://reactnative.dev/docs/view-style-props" 785 rel="noopener noreferrer" 786 target="_blank" 787 > 788 ViewStyle 789 </a> 790 , 791 </span> 792 <span> 793 <span> 794 'backgroundColor' 795 | 796 </span> 797 <span> 798 'borderRadius' 799 </span> 800 </span> 801 > 802 </span> 803 > 804 </code> 805 </p> 806 <p 807 class="mb-4 css-1kfqm4n-TextComponent" 808 data-text="true" 809 > 810 The custom style to apply to the button. Should not include 811 <code 812 class="css-1a6y07t-TextComponent" 813 data-text="true" 814 > 815 backgroundColor 816 </code> 817 or 818 <code 819 class="css-1a6y07t-TextComponent" 820 data-text="true" 821 > 822 borderRadius 823 </code> 824 825properties. 826 </p> 827 </div> 828 <h3 829 class=" css-wbzzgj-TextComponent" 830 data-heading="true" 831 > 832 <a 833 class="css-1y48vg3" 834 href="#inherited-props" 835 > 836 <span 837 class="css-s3qkfm" 838 id="inherited-props" 839 /> 840 <span 841 class="css-6n7j50" 842 > 843 Inherited Props 844 </span> 845 <span 846 class="css-13330di" 847 > 848 <svg 849 aria-label="permalink" 850 class="anchor-icon" 851 fill="none" 852 height="24" 853 viewBox="0 0 24 24" 854 width="24" 855 xmlns="http://www.w3.org/2000/svg" 856 > 857 <path 858 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 859 stroke="#9B9B9B" 860 stroke-linecap="round" 861 stroke-linejoin="round" 862 stroke-width="2" 863 /> 864 <path 865 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 866 stroke="#9B9B9B" 867 stroke-linecap="round" 868 stroke-linejoin="round" 869 stroke-width="2" 870 /> 871 </svg> 872 </span> 873 </a> 874 </h3> 875 <ul 876 class="css-118jp6n-TextComponent" 877 > 878 <li 879 class="css-1hxzfrf-TextComponent" 880 data-text="true" 881 > 882 <code 883 class="css-iwb7ur-TextComponent" 884 data-text="true" 885 > 886 <a 887 class="css-1na8e0o-A" 888 href="https://reactnative.dev/docs/view#props" 889 rel="noopener noreferrer" 890 target="_blank" 891 > 892 ViewProps 893 </a> 894 </code> 895 </li> 896 </ul> 897 </div> 898 </div> 899 <h2 900 class=" css-1qsxz84-TextComponent" 901 data-heading="true" 902 > 903 <a 904 class="css-1y48vg3" 905 href="#methods" 906 > 907 <span 908 class="css-s3qkfm" 909 id="methods" 910 /> 911 <span 912 class="css-6n7j50" 913 > 914 Methods 915 </span> 916 <span 917 class="css-13330di" 918 > 919 <svg 920 aria-label="permalink" 921 class="anchor-icon" 922 fill="none" 923 height="24" 924 viewBox="0 0 24 24" 925 width="24" 926 xmlns="http://www.w3.org/2000/svg" 927 > 928 <path 929 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 930 stroke="#9B9B9B" 931 stroke-linecap="round" 932 stroke-linejoin="round" 933 stroke-width="2" 934 /> 935 <path 936 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 937 stroke="#9B9B9B" 938 stroke-linecap="round" 939 stroke-linejoin="round" 940 stroke-width="2" 941 /> 942 </svg> 943 </span> 944 </a> 945 </h2> 946 <div 947 class="css-11xr3cd" 948 > 949 <h3 950 class=" css-wbzzgj-TextComponent" 951 data-heading="true" 952 > 953 <a 954 class="css-1y48vg3" 955 href="#getcredentialstateasyncuser" 956 > 957 <span 958 class="css-s3qkfm" 959 id="getcredentialstateasyncuser" 960 /> 961 <span 962 class="css-6n7j50" 963 > 964 <code 965 class="css-s0csg4-TextComponent" 966 data-text="true" 967 > 968 getCredentialStateAsync(user) 969 </code> 970 </span> 971 <span 972 class="css-13330di" 973 > 974 <svg 975 aria-label="permalink" 976 class="anchor-icon" 977 fill="none" 978 height="24" 979 viewBox="0 0 24 24" 980 width="24" 981 xmlns="http://www.w3.org/2000/svg" 982 > 983 <path 984 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 985 stroke="#9B9B9B" 986 stroke-linecap="round" 987 stroke-linejoin="round" 988 stroke-width="2" 989 /> 990 <path 991 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 992 stroke="#9B9B9B" 993 stroke-linecap="round" 994 stroke-linejoin="round" 995 stroke-width="2" 996 /> 997 </svg> 998 </span> 999 </a> 1000 </h3> 1001 <div 1002 class="css-1uyflf8-Table" 1003 > 1004 <table 1005 class="css-q84cm9-Table" 1006 > 1007 <thead 1008 class="bg-subtle border-b border-b-default border-solid" 1009 > 1010 <tr 1011 class="css-190f936-Row" 1012 > 1013 <th 1014 class="css-1uwgm7m-HeaderCell" 1015 > 1016 Name 1017 </th> 1018 <th 1019 class="css-1uwgm7m-HeaderCell" 1020 > 1021 Type 1022 </th> 1023 <th 1024 class="css-1uwgm7m-HeaderCell" 1025 > 1026 Description 1027 </th> 1028 </tr> 1029 </thead> 1030 <tbody> 1031 <tr 1032 class="css-190f936-Row" 1033 > 1034 <td 1035 class="css-zstkv9-Cell" 1036 > 1037 <strong 1038 class="css-bvflvn-TextComponent" 1039 > 1040 user 1041 </strong> 1042 </td> 1043 <td 1044 class="css-zstkv9-Cell" 1045 > 1046 <code 1047 class="css-iwb7ur-TextComponent" 1048 data-text="true" 1049 > 1050 string 1051 </code> 1052 </td> 1053 <td 1054 class="css-zstkv9-Cell" 1055 > 1056 <p 1057 class="mb-4 css-1kfqm4n-TextComponent" 1058 data-text="true" 1059 > 1060 The unique identifier for the user whose credential state you'd like to check. 1061This should come from the user field of an 1062 <a 1063 class="css-1na8e0o-A" 1064 href="#appleauthenticationcredentialstate" 1065 > 1066 <code 1067 class="css-1a6y07t-TextComponent" 1068 data-text="true" 1069 > 1070 AppleAuthenticationCredential 1071 </code> 1072 </a> 1073 object. 1074 </p> 1075 </td> 1076 </tr> 1077 </tbody> 1078 </table> 1079 </div> 1080 <br /> 1081 <p 1082 class="mb-4 css-1kfqm4n-TextComponent" 1083 data-text="true" 1084 > 1085 Queries the current state of a user credential, to determine if it is still valid or if it has been revoked. 1086 </p> 1087 1088 1089 <blockquote 1090 class="css-zknray-Callout" 1091 data-testid="callout-container" 1092 > 1093 <div 1094 class="css-7jywx8-Callout" 1095 > 1096 <svg 1097 class="icon-sm text-icon-default" 1098 fill="currentColor" 1099 role="img" 1100 viewBox="0 0 24 24" 1101 xmlns="http://www.w3.org/2000/svg" 1102 > 1103 <g 1104 id="info-circle" 1105 > 1106 <path 1107 clip-rule="evenodd" 1108 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 1109 fill-rule="evenodd" 1110 id="Solid" 1111 /> 1112 </g> 1113 </svg> 1114 </div> 1115 <div 1116 class="css-1m74yfi-Callout" 1117 > 1118 1119 1120 <p 1121 class="mb-4 css-1kfqm4n-TextComponent" 1122 data-text="true" 1123 > 1124 <strong 1125 class="css-bvflvn-TextComponent" 1126 > 1127 Note: 1128 </strong> 1129 This method must be tested on a real device. On the iOS simulator it always throws an error. 1130 </p> 1131 1132 1133 </div> 1134 </blockquote> 1135 <p 1136 class="css-1eksndl-BoxSectionHeader" 1137 data-text="true" 1138 > 1139 Returns 1140 </p> 1141 <ul 1142 class="!list-none !ml-0 css-118jp6n-TextComponent" 1143 > 1144 <li 1145 class="css-1hxzfrf-TextComponent" 1146 data-text="true" 1147 > 1148 <svg 1149 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 1150 fill="none" 1151 role="img" 1152 stroke="currentColor" 1153 viewBox="0 0 24 24" 1154 xmlns="http://www.w3.org/2000/svg" 1155 > 1156 <g 1157 id="corner-down-right" 1158 > 1159 <path 1160 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 1161 id="Icon" 1162 stroke-linecap="round" 1163 stroke-linejoin="round" 1164 stroke-width="2" 1165 /> 1166 </g> 1167 </svg> 1168 <code 1169 class="css-iwb7ur-TextComponent" 1170 data-text="true" 1171 > 1172 <a 1173 class="css-1na8e0o-A" 1174 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1175 rel="noopener noreferrer" 1176 target="_blank" 1177 > 1178 Promise 1179 </a> 1180 < 1181 <span> 1182 <a 1183 class="css-1na8e0o-A" 1184 href="#appleauthenticationcredentialstate" 1185 > 1186 AppleAuthenticationCredentialState 1187 </a> 1188 </span> 1189 > 1190 </code> 1191 </li> 1192 </ul> 1193 <br /> 1194 <p 1195 class="mb-4 css-1kfqm4n-TextComponent" 1196 data-text="true" 1197 > 1198 A promise that fulfills with an 1199 <a 1200 class="css-1na8e0o-A" 1201 href="#appleauthenticationcredentialstate" 1202 > 1203 <code 1204 class="css-1a6y07t-TextComponent" 1205 data-text="true" 1206 > 1207 AppleAuthenticationCredentialState 1208 </code> 1209 </a> 1210 1211value depending on the state of the credential. 1212 </p> 1213 </div> 1214 <div 1215 class="css-11xr3cd" 1216 > 1217 <h3 1218 class=" css-wbzzgj-TextComponent" 1219 data-heading="true" 1220 > 1221 <a 1222 class="css-1y48vg3" 1223 href="#isavailableasync" 1224 > 1225 <span 1226 class="css-s3qkfm" 1227 id="isavailableasync" 1228 /> 1229 <span 1230 class="css-6n7j50" 1231 > 1232 <code 1233 class="css-s0csg4-TextComponent" 1234 data-text="true" 1235 > 1236 isAvailableAsync() 1237 </code> 1238 </span> 1239 <span 1240 class="css-13330di" 1241 > 1242 <svg 1243 aria-label="permalink" 1244 class="anchor-icon" 1245 fill="none" 1246 height="24" 1247 viewBox="0 0 24 24" 1248 width="24" 1249 xmlns="http://www.w3.org/2000/svg" 1250 > 1251 <path 1252 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1253 stroke="#9B9B9B" 1254 stroke-linecap="round" 1255 stroke-linejoin="round" 1256 stroke-width="2" 1257 /> 1258 <path 1259 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1260 stroke="#9B9B9B" 1261 stroke-linecap="round" 1262 stroke-linejoin="round" 1263 stroke-width="2" 1264 /> 1265 </svg> 1266 </span> 1267 </a> 1268 </h3> 1269 <p 1270 class="mb-4 css-1kfqm4n-TextComponent" 1271 data-text="true" 1272 > 1273 Determine if the current device's operating system supports Apple authentication. 1274 </p> 1275 <p 1276 class="css-1eksndl-BoxSectionHeader" 1277 data-text="true" 1278 > 1279 Returns 1280 </p> 1281 <ul 1282 class="!list-none !ml-0 css-118jp6n-TextComponent" 1283 > 1284 <li 1285 class="css-1hxzfrf-TextComponent" 1286 data-text="true" 1287 > 1288 <svg 1289 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 1290 fill="none" 1291 role="img" 1292 stroke="currentColor" 1293 viewBox="0 0 24 24" 1294 xmlns="http://www.w3.org/2000/svg" 1295 > 1296 <g 1297 id="corner-down-right" 1298 > 1299 <path 1300 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 1301 id="Icon" 1302 stroke-linecap="round" 1303 stroke-linejoin="round" 1304 stroke-width="2" 1305 /> 1306 </g> 1307 </svg> 1308 <code 1309 class="css-iwb7ur-TextComponent" 1310 data-text="true" 1311 > 1312 <a 1313 class="css-1na8e0o-A" 1314 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1315 rel="noopener noreferrer" 1316 target="_blank" 1317 > 1318 Promise 1319 </a> 1320 < 1321 <span> 1322 boolean 1323 </span> 1324 > 1325 </code> 1326 </li> 1327 </ul> 1328 <br /> 1329 <p 1330 class="mb-4 css-1kfqm4n-TextComponent" 1331 data-text="true" 1332 > 1333 A promise that fulfills with 1334 <code 1335 class="css-1a6y07t-TextComponent" 1336 data-text="true" 1337 > 1338 true 1339 </code> 1340 if the system supports Apple authentication, and 1341 <code 1342 class="css-1a6y07t-TextComponent" 1343 data-text="true" 1344 > 1345 false 1346 </code> 1347 otherwise. 1348 </p> 1349 </div> 1350 <div 1351 class="css-11xr3cd" 1352 > 1353 <h3 1354 class=" css-wbzzgj-TextComponent" 1355 data-heading="true" 1356 > 1357 <a 1358 class="css-1y48vg3" 1359 href="#refreshasyncoptions" 1360 > 1361 <span 1362 class="css-s3qkfm" 1363 id="refreshasyncoptions" 1364 /> 1365 <span 1366 class="css-6n7j50" 1367 > 1368 <code 1369 class="css-s0csg4-TextComponent" 1370 data-text="true" 1371 > 1372 refreshAsync(options) 1373 </code> 1374 </span> 1375 <span 1376 class="css-13330di" 1377 > 1378 <svg 1379 aria-label="permalink" 1380 class="anchor-icon" 1381 fill="none" 1382 height="24" 1383 viewBox="0 0 24 24" 1384 width="24" 1385 xmlns="http://www.w3.org/2000/svg" 1386 > 1387 <path 1388 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1389 stroke="#9B9B9B" 1390 stroke-linecap="round" 1391 stroke-linejoin="round" 1392 stroke-width="2" 1393 /> 1394 <path 1395 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1396 stroke="#9B9B9B" 1397 stroke-linecap="round" 1398 stroke-linejoin="round" 1399 stroke-width="2" 1400 /> 1401 </svg> 1402 </span> 1403 </a> 1404 </h3> 1405 <div 1406 class="css-1uyflf8-Table" 1407 > 1408 <table 1409 class="css-q84cm9-Table" 1410 > 1411 <thead 1412 class="bg-subtle border-b border-b-default border-solid" 1413 > 1414 <tr 1415 class="css-190f936-Row" 1416 > 1417 <th 1418 class="css-1uwgm7m-HeaderCell" 1419 > 1420 Name 1421 </th> 1422 <th 1423 class="css-1uwgm7m-HeaderCell" 1424 > 1425 Type 1426 </th> 1427 <th 1428 class="css-1uwgm7m-HeaderCell" 1429 > 1430 Description 1431 </th> 1432 </tr> 1433 </thead> 1434 <tbody> 1435 <tr 1436 class="css-190f936-Row" 1437 > 1438 <td 1439 class="css-zstkv9-Cell" 1440 > 1441 <strong 1442 class="css-bvflvn-TextComponent" 1443 > 1444 options 1445 </strong> 1446 </td> 1447 <td 1448 class="css-zstkv9-Cell" 1449 > 1450 <code 1451 class="css-iwb7ur-TextComponent" 1452 data-text="true" 1453 > 1454 <a 1455 class="css-1na8e0o-A" 1456 href="#appleauthenticationrefreshoptions" 1457 > 1458 AppleAuthenticationRefreshOptions 1459 </a> 1460 </code> 1461 </td> 1462 <td 1463 class="css-zstkv9-Cell" 1464 > 1465 <p 1466 class="mb-4 css-1kfqm4n-TextComponent" 1467 data-text="true" 1468 > 1469 An 1470 <a 1471 class="css-1na8e0o-A" 1472 href="#appleauthenticationrefreshoptions" 1473 > 1474 <code 1475 class="css-1a6y07t-TextComponent" 1476 data-text="true" 1477 > 1478 AppleAuthenticationRefreshOptions 1479 </code> 1480 </a> 1481 object 1482 </p> 1483 </td> 1484 </tr> 1485 </tbody> 1486 </table> 1487 </div> 1488 <br /> 1489 <p 1490 class="mb-4 css-1kfqm4n-TextComponent" 1491 data-text="true" 1492 > 1493 An operation that refreshes the logged-in user’s credentials. 1494Calling this method will show the sign in modal before actually refreshing the user credentials. 1495 </p> 1496 <p 1497 class="css-1eksndl-BoxSectionHeader" 1498 data-text="true" 1499 > 1500 Returns 1501 </p> 1502 <ul 1503 class="!list-none !ml-0 css-118jp6n-TextComponent" 1504 > 1505 <li 1506 class="css-1hxzfrf-TextComponent" 1507 data-text="true" 1508 > 1509 <svg 1510 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 1511 fill="none" 1512 role="img" 1513 stroke="currentColor" 1514 viewBox="0 0 24 24" 1515 xmlns="http://www.w3.org/2000/svg" 1516 > 1517 <g 1518 id="corner-down-right" 1519 > 1520 <path 1521 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 1522 id="Icon" 1523 stroke-linecap="round" 1524 stroke-linejoin="round" 1525 stroke-width="2" 1526 /> 1527 </g> 1528 </svg> 1529 <code 1530 class="css-iwb7ur-TextComponent" 1531 data-text="true" 1532 > 1533 <a 1534 class="css-1na8e0o-A" 1535 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1536 rel="noopener noreferrer" 1537 target="_blank" 1538 > 1539 Promise 1540 </a> 1541 < 1542 <span> 1543 <a 1544 class="css-1na8e0o-A" 1545 href="#appleauthenticationcredential" 1546 > 1547 AppleAuthenticationCredential 1548 </a> 1549 </span> 1550 > 1551 </code> 1552 </li> 1553 </ul> 1554 <br /> 1555 <p 1556 class="mb-4 css-1kfqm4n-TextComponent" 1557 data-text="true" 1558 > 1559 A promise that fulfills with an 1560 <a 1561 class="css-1na8e0o-A" 1562 href="#appleauthenticationcredential" 1563 > 1564 <code 1565 class="css-1a6y07t-TextComponent" 1566 data-text="true" 1567 > 1568 AppleAuthenticationCredential 1569 </code> 1570 </a> 1571 1572object after a successful authentication, and rejects with 1573 <code 1574 class="css-1a6y07t-TextComponent" 1575 data-text="true" 1576 > 1577 ERR_REQUEST_CANCELED 1578 </code> 1579 if the user cancels the 1580refresh operation. 1581 </p> 1582 </div> 1583 <div 1584 class="css-11xr3cd" 1585 > 1586 <h3 1587 class=" css-wbzzgj-TextComponent" 1588 data-heading="true" 1589 > 1590 <a 1591 class="css-1y48vg3" 1592 href="#signinasyncoptions" 1593 > 1594 <span 1595 class="css-s3qkfm" 1596 id="signinasyncoptions" 1597 /> 1598 <span 1599 class="css-6n7j50" 1600 > 1601 <code 1602 class="css-s0csg4-TextComponent" 1603 data-text="true" 1604 > 1605 signInAsync(options) 1606 </code> 1607 </span> 1608 <span 1609 class="css-13330di" 1610 > 1611 <svg 1612 aria-label="permalink" 1613 class="anchor-icon" 1614 fill="none" 1615 height="24" 1616 viewBox="0 0 24 24" 1617 width="24" 1618 xmlns="http://www.w3.org/2000/svg" 1619 > 1620 <path 1621 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1622 stroke="#9B9B9B" 1623 stroke-linecap="round" 1624 stroke-linejoin="round" 1625 stroke-width="2" 1626 /> 1627 <path 1628 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1629 stroke="#9B9B9B" 1630 stroke-linecap="round" 1631 stroke-linejoin="round" 1632 stroke-width="2" 1633 /> 1634 </svg> 1635 </span> 1636 </a> 1637 </h3> 1638 <div 1639 class="css-1uyflf8-Table" 1640 > 1641 <table 1642 class="css-q84cm9-Table" 1643 > 1644 <thead 1645 class="bg-subtle border-b border-b-default border-solid" 1646 > 1647 <tr 1648 class="css-190f936-Row" 1649 > 1650 <th 1651 class="css-1uwgm7m-HeaderCell" 1652 > 1653 Name 1654 </th> 1655 <th 1656 class="css-1uwgm7m-HeaderCell" 1657 > 1658 Type 1659 </th> 1660 <th 1661 class="css-1uwgm7m-HeaderCell" 1662 > 1663 Description 1664 </th> 1665 </tr> 1666 </thead> 1667 <tbody> 1668 <tr 1669 class="css-190f936-Row" 1670 > 1671 <td 1672 class="css-zstkv9-Cell" 1673 > 1674 <strong 1675 class="css-bvflvn-TextComponent" 1676 > 1677 options 1678 </strong> 1679 <br /> 1680 <span 1681 class="css-1g95u6x" 1682 > 1683 (optional) 1684 </span> 1685 </td> 1686 <td 1687 class="css-zstkv9-Cell" 1688 > 1689 <code 1690 class="css-iwb7ur-TextComponent" 1691 data-text="true" 1692 > 1693 <a 1694 class="css-1na8e0o-A" 1695 href="#appleauthenticationsigninoptions" 1696 > 1697 AppleAuthenticationSignInOptions 1698 </a> 1699 </code> 1700 </td> 1701 <td 1702 class="css-zstkv9-Cell" 1703 > 1704 <p 1705 class="mb-4 css-1kfqm4n-TextComponent" 1706 data-text="true" 1707 > 1708 An optional 1709 <a 1710 class="css-1na8e0o-A" 1711 href="#appleauthenticationsigninoptions" 1712 > 1713 <code 1714 class="css-1a6y07t-TextComponent" 1715 data-text="true" 1716 > 1717 AppleAuthenticationSignInOptions 1718 </code> 1719 </a> 1720 object 1721 </p> 1722 </td> 1723 </tr> 1724 </tbody> 1725 </table> 1726 </div> 1727 <br /> 1728 <p 1729 class="mb-4 css-1kfqm4n-TextComponent" 1730 data-text="true" 1731 > 1732 Sends a request to the operating system to initiate the Apple authentication flow, which will 1733present a modal to the user over your app and allow them to sign in. 1734 </p> 1735 1736 1737 <p 1738 class="mb-4 css-1kfqm4n-TextComponent" 1739 data-text="true" 1740 > 1741 You can request access to the user's full name and email address in this method, which allows you 1742to personalize your UI for signed in users. However, users can deny access to either or both 1743of these options at runtime. 1744 </p> 1745 1746 1747 <p 1748 class="mb-4 css-1kfqm4n-TextComponent" 1749 data-text="true" 1750 > 1751 Additionally, you will only receive Apple Authentication Credentials the first time users sign 1752into your app, so you must store it for later use. It's best to store this information either 1753server-side, or using 1754 <a 1755 class="css-1na8e0o-A" 1756 href="./securestore" 1757 > 1758 SecureStore 1759 </a> 1760 , so that the data persists across app installs. 1761You can use 1762 <a 1763 class="css-1na8e0o-A" 1764 href="#appleauthenticationcredential" 1765 > 1766 <code 1767 class="css-1a6y07t-TextComponent" 1768 data-text="true" 1769 > 1770 AppleAuthenticationCredential.user 1771 </code> 1772 </a> 1773 to identify 1774the user, since this remains the same for apps released by the same developer. 1775 </p> 1776 <p 1777 class="css-1eksndl-BoxSectionHeader" 1778 data-text="true" 1779 > 1780 Returns 1781 </p> 1782 <ul 1783 class="!list-none !ml-0 css-118jp6n-TextComponent" 1784 > 1785 <li 1786 class="css-1hxzfrf-TextComponent" 1787 data-text="true" 1788 > 1789 <svg 1790 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 1791 fill="none" 1792 role="img" 1793 stroke="currentColor" 1794 viewBox="0 0 24 24" 1795 xmlns="http://www.w3.org/2000/svg" 1796 > 1797 <g 1798 id="corner-down-right" 1799 > 1800 <path 1801 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 1802 id="Icon" 1803 stroke-linecap="round" 1804 stroke-linejoin="round" 1805 stroke-width="2" 1806 /> 1807 </g> 1808 </svg> 1809 <code 1810 class="css-iwb7ur-TextComponent" 1811 data-text="true" 1812 > 1813 <a 1814 class="css-1na8e0o-A" 1815 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1816 rel="noopener noreferrer" 1817 target="_blank" 1818 > 1819 Promise 1820 </a> 1821 < 1822 <span> 1823 <a 1824 class="css-1na8e0o-A" 1825 href="#appleauthenticationcredential" 1826 > 1827 AppleAuthenticationCredential 1828 </a> 1829 </span> 1830 > 1831 </code> 1832 </li> 1833 </ul> 1834 <br /> 1835 <p 1836 class="mb-4 css-1kfqm4n-TextComponent" 1837 data-text="true" 1838 > 1839 A promise that fulfills with an 1840 <a 1841 class="css-1na8e0o-A" 1842 href="#appleauthenticationcredential" 1843 > 1844 <code 1845 class="css-1a6y07t-TextComponent" 1846 data-text="true" 1847 > 1848 AppleAuthenticationCredential 1849 </code> 1850 </a> 1851 1852object after a successful authentication, and rejects with 1853 <code 1854 class="css-1a6y07t-TextComponent" 1855 data-text="true" 1856 > 1857 ERR_REQUEST_CANCELED 1858 </code> 1859 if the user cancels the 1860sign-in operation. 1861 </p> 1862 </div> 1863 <div 1864 class="css-11xr3cd" 1865 > 1866 <h3 1867 class=" css-wbzzgj-TextComponent" 1868 data-heading="true" 1869 > 1870 <a 1871 class="css-1y48vg3" 1872 href="#signoutasyncoptions" 1873 > 1874 <span 1875 class="css-s3qkfm" 1876 id="signoutasyncoptions" 1877 /> 1878 <span 1879 class="css-6n7j50" 1880 > 1881 <code 1882 class="css-s0csg4-TextComponent" 1883 data-text="true" 1884 > 1885 signOutAsync(options) 1886 </code> 1887 </span> 1888 <span 1889 class="css-13330di" 1890 > 1891 <svg 1892 aria-label="permalink" 1893 class="anchor-icon" 1894 fill="none" 1895 height="24" 1896 viewBox="0 0 24 24" 1897 width="24" 1898 xmlns="http://www.w3.org/2000/svg" 1899 > 1900 <path 1901 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1902 stroke="#9B9B9B" 1903 stroke-linecap="round" 1904 stroke-linejoin="round" 1905 stroke-width="2" 1906 /> 1907 <path 1908 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1909 stroke="#9B9B9B" 1910 stroke-linecap="round" 1911 stroke-linejoin="round" 1912 stroke-width="2" 1913 /> 1914 </svg> 1915 </span> 1916 </a> 1917 </h3> 1918 <div 1919 class="css-1uyflf8-Table" 1920 > 1921 <table 1922 class="css-q84cm9-Table" 1923 > 1924 <thead 1925 class="bg-subtle border-b border-b-default border-solid" 1926 > 1927 <tr 1928 class="css-190f936-Row" 1929 > 1930 <th 1931 class="css-1uwgm7m-HeaderCell" 1932 > 1933 Name 1934 </th> 1935 <th 1936 class="css-1uwgm7m-HeaderCell" 1937 > 1938 Type 1939 </th> 1940 <th 1941 class="css-1uwgm7m-HeaderCell" 1942 > 1943 Description 1944 </th> 1945 </tr> 1946 </thead> 1947 <tbody> 1948 <tr 1949 class="css-190f936-Row" 1950 > 1951 <td 1952 class="css-zstkv9-Cell" 1953 > 1954 <strong 1955 class="css-bvflvn-TextComponent" 1956 > 1957 options 1958 </strong> 1959 </td> 1960 <td 1961 class="css-zstkv9-Cell" 1962 > 1963 <code 1964 class="css-iwb7ur-TextComponent" 1965 data-text="true" 1966 > 1967 <a 1968 class="css-1na8e0o-A" 1969 href="#appleauthenticationsignoutoptions" 1970 > 1971 AppleAuthenticationSignOutOptions 1972 </a> 1973 </code> 1974 </td> 1975 <td 1976 class="css-zstkv9-Cell" 1977 > 1978 <p 1979 class="mb-4 css-1kfqm4n-TextComponent" 1980 data-text="true" 1981 > 1982 An 1983 <a 1984 class="css-1na8e0o-A" 1985 href="#appleauthenticationsignoutoptions" 1986 > 1987 <code 1988 class="css-1a6y07t-TextComponent" 1989 data-text="true" 1990 > 1991 AppleAuthenticationSignOutOptions 1992 </code> 1993 </a> 1994 object 1995 </p> 1996 </td> 1997 </tr> 1998 </tbody> 1999 </table> 2000 </div> 2001 <br /> 2002 <p 2003 class="mb-4 css-1kfqm4n-TextComponent" 2004 data-text="true" 2005 > 2006 An operation that ends the authenticated session. 2007Calling this method will show the sign in modal before actually signing the user out. 2008 </p> 2009 2010 2011 <p 2012 class="mb-4 css-1kfqm4n-TextComponent" 2013 data-text="true" 2014 > 2015 It is not recommended to use this method to sign out the user as it works counterintuitively. 2016Instead of using this method it is recommended to simply clear all the user's data collected 2017from using 2018 <a 2019 class="css-1na8e0o-A" 2020 href="./#signinasync" 2021 > 2022 <code 2023 class="css-1a6y07t-TextComponent" 2024 data-text="true" 2025 > 2026 signInAsync 2027 </code> 2028 </a> 2029 or 2030 <a 2031 class="css-1na8e0o-A" 2032 href="./#refreshasync" 2033 > 2034 <code 2035 class="css-1a6y07t-TextComponent" 2036 data-text="true" 2037 > 2038 refreshAsync 2039 </code> 2040 </a> 2041 methods. 2042 </p> 2043 <p 2044 class="css-1eksndl-BoxSectionHeader" 2045 data-text="true" 2046 > 2047 Returns 2048 </p> 2049 <ul 2050 class="!list-none !ml-0 css-118jp6n-TextComponent" 2051 > 2052 <li 2053 class="css-1hxzfrf-TextComponent" 2054 data-text="true" 2055 > 2056 <svg 2057 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 2058 fill="none" 2059 role="img" 2060 stroke="currentColor" 2061 viewBox="0 0 24 24" 2062 xmlns="http://www.w3.org/2000/svg" 2063 > 2064 <g 2065 id="corner-down-right" 2066 > 2067 <path 2068 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 2069 id="Icon" 2070 stroke-linecap="round" 2071 stroke-linejoin="round" 2072 stroke-width="2" 2073 /> 2074 </g> 2075 </svg> 2076 <code 2077 class="css-iwb7ur-TextComponent" 2078 data-text="true" 2079 > 2080 <a 2081 class="css-1na8e0o-A" 2082 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 2083 rel="noopener noreferrer" 2084 target="_blank" 2085 > 2086 Promise 2087 </a> 2088 < 2089 <span> 2090 <a 2091 class="css-1na8e0o-A" 2092 href="#appleauthenticationcredential" 2093 > 2094 AppleAuthenticationCredential 2095 </a> 2096 </span> 2097 > 2098 </code> 2099 </li> 2100 </ul> 2101 <br /> 2102 <p 2103 class="mb-4 css-1kfqm4n-TextComponent" 2104 data-text="true" 2105 > 2106 A promise that fulfills with an 2107 <a 2108 class="css-1na8e0o-A" 2109 href="#appleauthenticationcredential" 2110 > 2111 <code 2112 class="css-1a6y07t-TextComponent" 2113 data-text="true" 2114 > 2115 AppleAuthenticationCredential 2116 </code> 2117 </a> 2118 2119object after a successful authentication, and rejects with 2120 <code 2121 class="css-1a6y07t-TextComponent" 2122 data-text="true" 2123 > 2124 ERR_REQUEST_CANCELED 2125 </code> 2126 if the user cancels the 2127sign-out operation. 2128 </p> 2129 </div> 2130 <h2 2131 class=" css-1qsxz84-TextComponent" 2132 data-heading="true" 2133 > 2134 <a 2135 class="css-1y48vg3" 2136 href="#event-subscriptions" 2137 > 2138 <span 2139 class="css-s3qkfm" 2140 id="event-subscriptions" 2141 /> 2142 <span 2143 class="css-6n7j50" 2144 > 2145 Event Subscriptions 2146 </span> 2147 <span 2148 class="css-13330di" 2149 > 2150 <svg 2151 aria-label="permalink" 2152 class="anchor-icon" 2153 fill="none" 2154 height="24" 2155 viewBox="0 0 24 24" 2156 width="24" 2157 xmlns="http://www.w3.org/2000/svg" 2158 > 2159 <path 2160 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2161 stroke="#9B9B9B" 2162 stroke-linecap="round" 2163 stroke-linejoin="round" 2164 stroke-width="2" 2165 /> 2166 <path 2167 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2168 stroke="#9B9B9B" 2169 stroke-linecap="round" 2170 stroke-linejoin="round" 2171 stroke-width="2" 2172 /> 2173 </svg> 2174 </span> 2175 </a> 2176 </h2> 2177 <div 2178 class="css-11xr3cd" 2179 > 2180 <h3 2181 class=" css-wbzzgj-TextComponent" 2182 data-heading="true" 2183 > 2184 <a 2185 class="css-1y48vg3" 2186 href="#addrevokelistenerlistener" 2187 > 2188 <span 2189 class="css-s3qkfm" 2190 id="addrevokelistenerlistener" 2191 /> 2192 <span 2193 class="css-6n7j50" 2194 > 2195 <code 2196 class="css-s0csg4-TextComponent" 2197 data-text="true" 2198 > 2199 addRevokeListener(listener) 2200 </code> 2201 </span> 2202 <span 2203 class="css-13330di" 2204 > 2205 <svg 2206 aria-label="permalink" 2207 class="anchor-icon" 2208 fill="none" 2209 height="24" 2210 viewBox="0 0 24 24" 2211 width="24" 2212 xmlns="http://www.w3.org/2000/svg" 2213 > 2214 <path 2215 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2216 stroke="#9B9B9B" 2217 stroke-linecap="round" 2218 stroke-linejoin="round" 2219 stroke-width="2" 2220 /> 2221 <path 2222 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2223 stroke="#9B9B9B" 2224 stroke-linecap="round" 2225 stroke-linejoin="round" 2226 stroke-width="2" 2227 /> 2228 </svg> 2229 </span> 2230 </a> 2231 </h3> 2232 <div 2233 class="css-1uyflf8-Table" 2234 > 2235 <table 2236 class="css-q84cm9-Table" 2237 > 2238 <thead 2239 class="bg-subtle border-b border-b-default border-solid" 2240 > 2241 <tr 2242 class="css-190f936-Row" 2243 > 2244 <th 2245 class="css-1uwgm7m-HeaderCell" 2246 > 2247 Name 2248 </th> 2249 <th 2250 class="css-1uwgm7m-HeaderCell" 2251 > 2252 Type 2253 </th> 2254 <th 2255 class="css-1uwgm7m-HeaderCell" 2256 > 2257 Description 2258 </th> 2259 </tr> 2260 </thead> 2261 <tbody> 2262 <tr 2263 class="css-190f936-Row" 2264 > 2265 <td 2266 class="css-zstkv9-Cell" 2267 > 2268 <strong 2269 class="css-bvflvn-TextComponent" 2270 > 2271 listener 2272 </strong> 2273 </td> 2274 <td 2275 class="css-zstkv9-Cell" 2276 > 2277 <code 2278 class="css-iwb7ur-TextComponent" 2279 data-text="true" 2280 > 2281 () => 2282 2283 void 2284 </code> 2285 </td> 2286 <td 2287 class="css-zstkv9-Cell" 2288 > 2289 - 2290 </td> 2291 </tr> 2292 </tbody> 2293 </table> 2294 </div> 2295 <br /> 2296 <p 2297 class="css-1eksndl-BoxSectionHeader" 2298 data-text="true" 2299 > 2300 Returns 2301 </p> 2302 <ul 2303 class="!list-none !ml-0 css-118jp6n-TextComponent" 2304 > 2305 <li 2306 class="css-1hxzfrf-TextComponent" 2307 data-text="true" 2308 > 2309 <svg 2310 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 2311 fill="none" 2312 role="img" 2313 stroke="currentColor" 2314 viewBox="0 0 24 24" 2315 xmlns="http://www.w3.org/2000/svg" 2316 > 2317 <g 2318 id="corner-down-right" 2319 > 2320 <path 2321 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 2322 id="Icon" 2323 stroke-linecap="round" 2324 stroke-linejoin="round" 2325 stroke-width="2" 2326 /> 2327 </g> 2328 </svg> 2329 <code 2330 class="css-iwb7ur-TextComponent" 2331 data-text="true" 2332 > 2333 <a 2334 class="css-1na8e0o-A" 2335 href="#subscription" 2336 > 2337 Subscription 2338 </a> 2339 </code> 2340 </li> 2341 </ul> 2342 <br /> 2343 </div> 2344 <h2 2345 class=" css-1qsxz84-TextComponent" 2346 data-heading="true" 2347 > 2348 <a 2349 class="css-1y48vg3" 2350 href="#types" 2351 > 2352 <span 2353 class="css-s3qkfm" 2354 id="types" 2355 /> 2356 <span 2357 class="css-6n7j50" 2358 > 2359 Types 2360 </span> 2361 <span 2362 class="css-13330di" 2363 > 2364 <svg 2365 aria-label="permalink" 2366 class="anchor-icon" 2367 fill="none" 2368 height="24" 2369 viewBox="0 0 24 24" 2370 width="24" 2371 xmlns="http://www.w3.org/2000/svg" 2372 > 2373 <path 2374 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2375 stroke="#9B9B9B" 2376 stroke-linecap="round" 2377 stroke-linejoin="round" 2378 stroke-width="2" 2379 /> 2380 <path 2381 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2382 stroke="#9B9B9B" 2383 stroke-linecap="round" 2384 stroke-linejoin="round" 2385 stroke-width="2" 2386 /> 2387 </svg> 2388 </span> 2389 </a> 2390 </h2> 2391 <div 2392 class="css-1fultt1" 2393 > 2394 <h3 2395 class=" css-wbzzgj-TextComponent" 2396 data-heading="true" 2397 > 2398 <a 2399 class="css-1y48vg3" 2400 href="#appleauthenticationcredential" 2401 > 2402 <span 2403 class="css-s3qkfm" 2404 id="appleauthenticationcredential" 2405 /> 2406 <span 2407 class="css-6n7j50" 2408 > 2409 <code 2410 class="css-yd3r23-TextComponent" 2411 data-text="true" 2412 > 2413 AppleAuthenticationCredential 2414 </code> 2415 </span> 2416 <span 2417 class="css-13330di" 2418 > 2419 <svg 2420 aria-label="permalink" 2421 class="anchor-icon" 2422 fill="none" 2423 height="24" 2424 viewBox="0 0 24 24" 2425 width="24" 2426 xmlns="http://www.w3.org/2000/svg" 2427 > 2428 <path 2429 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2430 stroke="#9B9B9B" 2431 stroke-linecap="round" 2432 stroke-linejoin="round" 2433 stroke-width="2" 2434 /> 2435 <path 2436 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2437 stroke="#9B9B9B" 2438 stroke-linecap="round" 2439 stroke-linejoin="round" 2440 stroke-width="2" 2441 /> 2442 </svg> 2443 </span> 2444 </a> 2445 </h3> 2446 <p 2447 class="mb-4 css-1kfqm4n-TextComponent" 2448 data-text="true" 2449 > 2450 The object type returned from a successful call to 2451 <a 2452 class="css-1na8e0o-A" 2453 href="#appleauthenticationsigninasyncoptions" 2454 > 2455 <code 2456 class="css-1a6y07t-TextComponent" 2457 data-text="true" 2458 > 2459 AppleAuthentication.signInAsync() 2460 </code> 2461 </a> 2462 , 2463 2464 <a 2465 class="css-1na8e0o-A" 2466 href="#appleauthenticationrefreshasyncoptions" 2467 > 2468 <code 2469 class="css-1a6y07t-TextComponent" 2470 data-text="true" 2471 > 2472 AppleAuthentication.refreshAsync() 2473 </code> 2474 </a> 2475 , or 2476 <a 2477 class="css-1na8e0o-A" 2478 href="#appleauthenticationsignoutasyncoptions" 2479 > 2480 <code 2481 class="css-1a6y07t-TextComponent" 2482 data-text="true" 2483 > 2484 AppleAuthentication.signOutAsync() 2485 </code> 2486 </a> 2487 2488which contains all of the pertinent user and credential information. 2489 </p> 2490 <blockquote 2491 class="css-zknray-Callout" 2492 data-testid="callout-container" 2493 > 2494 <div 2495 class="css-7jywx8-Callout" 2496 > 2497 <svg 2498 class="icon-sm text-icon-default" 2499 fill="currentColor" 2500 role="img" 2501 viewBox="0 0 24 24" 2502 xmlns="http://www.w3.org/2000/svg" 2503 > 2504 <g 2505 id="info-circle" 2506 > 2507 <path 2508 clip-rule="evenodd" 2509 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 2510 fill-rule="evenodd" 2511 id="Solid" 2512 /> 2513 </g> 2514 </svg> 2515 </div> 2516 <div 2517 class="css-1m74yfi-Callout" 2518 > 2519 <p 2520 class="mb-4 css-1kfqm4n-TextComponent" 2521 data-text="true" 2522 > 2523 <strong 2524 class="css-bvflvn-TextComponent" 2525 > 2526 See: 2527 </strong> 2528 2529 <a 2530 class="css-1na8e0o-A" 2531 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidcredential" 2532 rel="noopener noreferrer" 2533 target="_blank" 2534 > 2535 Apple 2536Documentation 2537 </a> 2538 2539for more details. 2540 </p> 2541 </div> 2542 </blockquote> 2543 <div 2544 class="css-1uyflf8-Table" 2545 > 2546 <table 2547 class="css-q84cm9-Table" 2548 > 2549 <thead 2550 class="bg-subtle border-b border-b-default border-solid" 2551 > 2552 <tr 2553 class="css-190f936-Row" 2554 > 2555 <th 2556 class="css-1uwgm7m-HeaderCell" 2557 > 2558 Name 2559 </th> 2560 <th 2561 class="css-1uwgm7m-HeaderCell" 2562 > 2563 Type 2564 </th> 2565 <th 2566 class="css-1uwgm7m-HeaderCell" 2567 > 2568 Description 2569 </th> 2570 </tr> 2571 </thead> 2572 <tbody> 2573 <tr 2574 class="css-190f936-Row" 2575 > 2576 <td 2577 class="css-18p3734-Cell" 2578 > 2579 <strong 2580 class="css-bvflvn-TextComponent" 2581 > 2582 authorizationCode 2583 </strong> 2584 </td> 2585 <td 2586 class="css-18p3734-Cell" 2587 > 2588 <code 2589 class="css-iwb7ur-TextComponent" 2590 data-text="true" 2591 > 2592 <span> 2593 string 2594 | 2595 </span> 2596 <span> 2597 null 2598 </span> 2599 </code> 2600 </td> 2601 <td 2602 class="css-18p3734-Cell" 2603 > 2604 <p 2605 class="mb-4 css-1kfqm4n-TextComponent" 2606 data-text="true" 2607 > 2608 A short-lived session token used by your app for proof of authorization when interacting with 2609the app's server counterpart. Unlike 2610 <code 2611 class="css-1a6y07t-TextComponent" 2612 data-text="true" 2613 > 2614 user 2615 </code> 2616 , this is ephemeral and will change each session. 2617 </p> 2618 </td> 2619 </tr> 2620 <tr 2621 class="css-190f936-Row" 2622 > 2623 <td 2624 class="css-18p3734-Cell" 2625 > 2626 <strong 2627 class="css-bvflvn-TextComponent" 2628 > 2629 email 2630 </strong> 2631 </td> 2632 <td 2633 class="css-18p3734-Cell" 2634 > 2635 <code 2636 class="css-iwb7ur-TextComponent" 2637 data-text="true" 2638 > 2639 <span> 2640 string 2641 | 2642 </span> 2643 <span> 2644 null 2645 </span> 2646 </code> 2647 </td> 2648 <td 2649 class="css-18p3734-Cell" 2650 > 2651 <p 2652 class="mb-4 css-1kfqm4n-TextComponent" 2653 data-text="true" 2654 > 2655 The user's email address. Might not be present if you didn't request the 2656 <code 2657 class="css-1a6y07t-TextComponent" 2658 data-text="true" 2659 > 2660 EMAIL 2661 </code> 2662 scope. May 2663also be null if this is not the first time the user has signed into your app. If the user chose 2664to withhold their email address, this field will instead contain an obscured email address with 2665an Apple domain. 2666 </p> 2667 </td> 2668 </tr> 2669 <tr 2670 class="css-190f936-Row" 2671 > 2672 <td 2673 class="css-18p3734-Cell" 2674 > 2675 <strong 2676 class="css-bvflvn-TextComponent" 2677 > 2678 fullName 2679 </strong> 2680 </td> 2681 <td 2682 class="css-18p3734-Cell" 2683 > 2684 <code 2685 class="css-iwb7ur-TextComponent" 2686 data-text="true" 2687 > 2688 <span> 2689 <a 2690 class="css-1na8e0o-A" 2691 href="#appleauthenticationfullname" 2692 > 2693 AppleAuthenticationFullName 2694 </a> 2695 | 2696 </span> 2697 <span> 2698 null 2699 </span> 2700 </code> 2701 </td> 2702 <td 2703 class="css-18p3734-Cell" 2704 > 2705 <p 2706 class="mb-4 css-1kfqm4n-TextComponent" 2707 data-text="true" 2708 > 2709 The user's name. May be 2710 <code 2711 class="css-1a6y07t-TextComponent" 2712 data-text="true" 2713 > 2714 null 2715 </code> 2716 or contain 2717 <code 2718 class="css-1a6y07t-TextComponent" 2719 data-text="true" 2720 > 2721 null 2722 </code> 2723 values if you didn't request the 2724 <code 2725 class="css-1a6y07t-TextComponent" 2726 data-text="true" 2727 > 2728 FULL_NAME 2729 </code> 2730 2731scope, if the user denied access, or if this is not the first time the user has signed into 2732your app. 2733 </p> 2734 </td> 2735 </tr> 2736 <tr 2737 class="css-190f936-Row" 2738 > 2739 <td 2740 class="css-18p3734-Cell" 2741 > 2742 <strong 2743 class="css-bvflvn-TextComponent" 2744 > 2745 identityToken 2746 </strong> 2747 </td> 2748 <td 2749 class="css-18p3734-Cell" 2750 > 2751 <code 2752 class="css-iwb7ur-TextComponent" 2753 data-text="true" 2754 > 2755 <span> 2756 string 2757 | 2758 </span> 2759 <span> 2760 null 2761 </span> 2762 </code> 2763 </td> 2764 <td 2765 class="css-18p3734-Cell" 2766 > 2767 <p 2768 class="mb-4 css-1kfqm4n-TextComponent" 2769 data-text="true" 2770 > 2771 A JSON Web Token (JWT) that securely communicates information about the user to your app. 2772 </p> 2773 </td> 2774 </tr> 2775 <tr 2776 class="css-190f936-Row" 2777 > 2778 <td 2779 class="css-18p3734-Cell" 2780 > 2781 <strong 2782 class="css-bvflvn-TextComponent" 2783 > 2784 realUserStatus 2785 </strong> 2786 </td> 2787 <td 2788 class="css-18p3734-Cell" 2789 > 2790 <code 2791 class="css-iwb7ur-TextComponent" 2792 data-text="true" 2793 > 2794 <a 2795 class="css-1na8e0o-A" 2796 href="#appleauthenticationuserdetectionstatus" 2797 > 2798 AppleAuthenticationUserDetectionStatus 2799 </a> 2800 </code> 2801 </td> 2802 <td 2803 class="css-18p3734-Cell" 2804 > 2805 <p 2806 class="mb-4 css-1kfqm4n-TextComponent" 2807 data-text="true" 2808 > 2809 A value that indicates whether the user appears to the system to be a real person. 2810 </p> 2811 </td> 2812 </tr> 2813 <tr 2814 class="css-190f936-Row" 2815 > 2816 <td 2817 class="css-18p3734-Cell" 2818 > 2819 <strong 2820 class="css-bvflvn-TextComponent" 2821 > 2822 state 2823 </strong> 2824 </td> 2825 <td 2826 class="css-18p3734-Cell" 2827 > 2828 <code 2829 class="css-iwb7ur-TextComponent" 2830 data-text="true" 2831 > 2832 <span> 2833 string 2834 | 2835 </span> 2836 <span> 2837 null 2838 </span> 2839 </code> 2840 </td> 2841 <td 2842 class="css-18p3734-Cell" 2843 > 2844 <p 2845 class="mb-4 css-1kfqm4n-TextComponent" 2846 data-text="true" 2847 > 2848 An arbitrary string that your app provided as 2849 <code 2850 class="css-1a6y07t-TextComponent" 2851 data-text="true" 2852 > 2853 state 2854 </code> 2855 in the request that generated the 2856credential. Used to verify that the response was from the request you made. Can be used to 2857avoid replay attacks. If you did not provide 2858 <code 2859 class="css-1a6y07t-TextComponent" 2860 data-text="true" 2861 > 2862 state 2863 </code> 2864 when making the sign-in request, this field 2865will be 2866 <code 2867 class="css-1a6y07t-TextComponent" 2868 data-text="true" 2869 > 2870 null 2871 </code> 2872 . 2873 </p> 2874 </td> 2875 </tr> 2876 <tr 2877 class="css-190f936-Row" 2878 > 2879 <td 2880 class="css-18p3734-Cell" 2881 > 2882 <strong 2883 class="css-bvflvn-TextComponent" 2884 > 2885 user 2886 </strong> 2887 </td> 2888 <td 2889 class="css-18p3734-Cell" 2890 > 2891 <code 2892 class="css-iwb7ur-TextComponent" 2893 data-text="true" 2894 > 2895 string 2896 </code> 2897 </td> 2898 <td 2899 class="css-18p3734-Cell" 2900 > 2901 <p 2902 class="mb-4 css-1kfqm4n-TextComponent" 2903 data-text="true" 2904 > 2905 An identifier associated with the authenticated user. You can use this to check if the user is 2906still authenticated later. This is stable and can be shared across apps released under the same 2907development team. The same user will have a different identifier for apps released by other 2908developers. 2909 </p> 2910 </td> 2911 </tr> 2912 </tbody> 2913 </table> 2914 </div> 2915 </div> 2916 <div 2917 class="css-1fultt1" 2918 > 2919 <h3 2920 class=" css-wbzzgj-TextComponent" 2921 data-heading="true" 2922 > 2923 <a 2924 class="css-1y48vg3" 2925 href="#appleauthenticationfullname" 2926 > 2927 <span 2928 class="css-s3qkfm" 2929 id="appleauthenticationfullname" 2930 /> 2931 <span 2932 class="css-6n7j50" 2933 > 2934 <code 2935 class="css-yd3r23-TextComponent" 2936 data-text="true" 2937 > 2938 AppleAuthenticationFullName 2939 </code> 2940 </span> 2941 <span 2942 class="css-13330di" 2943 > 2944 <svg 2945 aria-label="permalink" 2946 class="anchor-icon" 2947 fill="none" 2948 height="24" 2949 viewBox="0 0 24 24" 2950 width="24" 2951 xmlns="http://www.w3.org/2000/svg" 2952 > 2953 <path 2954 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2955 stroke="#9B9B9B" 2956 stroke-linecap="round" 2957 stroke-linejoin="round" 2958 stroke-width="2" 2959 /> 2960 <path 2961 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2962 stroke="#9B9B9B" 2963 stroke-linecap="round" 2964 stroke-linejoin="round" 2965 stroke-width="2" 2966 /> 2967 </svg> 2968 </span> 2969 </a> 2970 </h3> 2971 <p 2972 class="mb-4 css-1kfqm4n-TextComponent" 2973 data-text="true" 2974 > 2975 An object representing the tokenized portions of the user's full name. Any of all of the fields 2976may be 2977 <code 2978 class="css-1a6y07t-TextComponent" 2979 data-text="true" 2980 > 2981 null 2982 </code> 2983 . Only applicable fields that the user has allowed your app to access will be nonnull. 2984 </p> 2985 <div 2986 class="css-1uyflf8-Table" 2987 > 2988 <table 2989 class="css-q84cm9-Table" 2990 > 2991 <thead 2992 class="bg-subtle border-b border-b-default border-solid" 2993 > 2994 <tr 2995 class="css-190f936-Row" 2996 > 2997 <th 2998 class="css-1uwgm7m-HeaderCell" 2999 > 3000 Name 3001 </th> 3002 <th 3003 class="css-1uwgm7m-HeaderCell" 3004 > 3005 Type 3006 </th> 3007 <th 3008 class="css-1uwgm7m-HeaderCell" 3009 > 3010 Description 3011 </th> 3012 </tr> 3013 </thead> 3014 <tbody> 3015 <tr 3016 class="css-190f936-Row" 3017 > 3018 <td 3019 class="css-18p3734-Cell" 3020 > 3021 <strong 3022 class="css-bvflvn-TextComponent" 3023 > 3024 familyName 3025 </strong> 3026 </td> 3027 <td 3028 class="css-18p3734-Cell" 3029 > 3030 <code 3031 class="css-iwb7ur-TextComponent" 3032 data-text="true" 3033 > 3034 <span> 3035 string 3036 | 3037 </span> 3038 <span> 3039 null 3040 </span> 3041 </code> 3042 </td> 3043 <td 3044 class="css-18p3734-Cell" 3045 > 3046 - 3047 </td> 3048 </tr> 3049 <tr 3050 class="css-190f936-Row" 3051 > 3052 <td 3053 class="css-18p3734-Cell" 3054 > 3055 <strong 3056 class="css-bvflvn-TextComponent" 3057 > 3058 givenName 3059 </strong> 3060 </td> 3061 <td 3062 class="css-18p3734-Cell" 3063 > 3064 <code 3065 class="css-iwb7ur-TextComponent" 3066 data-text="true" 3067 > 3068 <span> 3069 string 3070 | 3071 </span> 3072 <span> 3073 null 3074 </span> 3075 </code> 3076 </td> 3077 <td 3078 class="css-18p3734-Cell" 3079 > 3080 - 3081 </td> 3082 </tr> 3083 <tr 3084 class="css-190f936-Row" 3085 > 3086 <td 3087 class="css-18p3734-Cell" 3088 > 3089 <strong 3090 class="css-bvflvn-TextComponent" 3091 > 3092 middleName 3093 </strong> 3094 </td> 3095 <td 3096 class="css-18p3734-Cell" 3097 > 3098 <code 3099 class="css-iwb7ur-TextComponent" 3100 data-text="true" 3101 > 3102 <span> 3103 string 3104 | 3105 </span> 3106 <span> 3107 null 3108 </span> 3109 </code> 3110 </td> 3111 <td 3112 class="css-18p3734-Cell" 3113 > 3114 - 3115 </td> 3116 </tr> 3117 <tr 3118 class="css-190f936-Row" 3119 > 3120 <td 3121 class="css-18p3734-Cell" 3122 > 3123 <strong 3124 class="css-bvflvn-TextComponent" 3125 > 3126 namePrefix 3127 </strong> 3128 </td> 3129 <td 3130 class="css-18p3734-Cell" 3131 > 3132 <code 3133 class="css-iwb7ur-TextComponent" 3134 data-text="true" 3135 > 3136 <span> 3137 string 3138 | 3139 </span> 3140 <span> 3141 null 3142 </span> 3143 </code> 3144 </td> 3145 <td 3146 class="css-18p3734-Cell" 3147 > 3148 - 3149 </td> 3150 </tr> 3151 <tr 3152 class="css-190f936-Row" 3153 > 3154 <td 3155 class="css-18p3734-Cell" 3156 > 3157 <strong 3158 class="css-bvflvn-TextComponent" 3159 > 3160 nameSuffix 3161 </strong> 3162 </td> 3163 <td 3164 class="css-18p3734-Cell" 3165 > 3166 <code 3167 class="css-iwb7ur-TextComponent" 3168 data-text="true" 3169 > 3170 <span> 3171 string 3172 | 3173 </span> 3174 <span> 3175 null 3176 </span> 3177 </code> 3178 </td> 3179 <td 3180 class="css-18p3734-Cell" 3181 > 3182 - 3183 </td> 3184 </tr> 3185 <tr 3186 class="css-190f936-Row" 3187 > 3188 <td 3189 class="css-18p3734-Cell" 3190 > 3191 <strong 3192 class="css-bvflvn-TextComponent" 3193 > 3194 nickname 3195 </strong> 3196 </td> 3197 <td 3198 class="css-18p3734-Cell" 3199 > 3200 <code 3201 class="css-iwb7ur-TextComponent" 3202 data-text="true" 3203 > 3204 <span> 3205 string 3206 | 3207 </span> 3208 <span> 3209 null 3210 </span> 3211 </code> 3212 </td> 3213 <td 3214 class="css-18p3734-Cell" 3215 > 3216 - 3217 </td> 3218 </tr> 3219 </tbody> 3220 </table> 3221 </div> 3222 </div> 3223 <div 3224 class="css-1fultt1" 3225 > 3226 <h3 3227 class=" css-wbzzgj-TextComponent" 3228 data-heading="true" 3229 > 3230 <a 3231 class="css-1y48vg3" 3232 href="#appleauthenticationrefreshoptions" 3233 > 3234 <span 3235 class="css-s3qkfm" 3236 id="appleauthenticationrefreshoptions" 3237 /> 3238 <span 3239 class="css-6n7j50" 3240 > 3241 <code 3242 class="css-yd3r23-TextComponent" 3243 data-text="true" 3244 > 3245 AppleAuthenticationRefreshOptions 3246 </code> 3247 </span> 3248 <span 3249 class="css-13330di" 3250 > 3251 <svg 3252 aria-label="permalink" 3253 class="anchor-icon" 3254 fill="none" 3255 height="24" 3256 viewBox="0 0 24 24" 3257 width="24" 3258 xmlns="http://www.w3.org/2000/svg" 3259 > 3260 <path 3261 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3262 stroke="#9B9B9B" 3263 stroke-linecap="round" 3264 stroke-linejoin="round" 3265 stroke-width="2" 3266 /> 3267 <path 3268 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3269 stroke="#9B9B9B" 3270 stroke-linecap="round" 3271 stroke-linejoin="round" 3272 stroke-width="2" 3273 /> 3274 </svg> 3275 </span> 3276 </a> 3277 </h3> 3278 <p 3279 class="mb-4 css-1kfqm4n-TextComponent" 3280 data-text="true" 3281 > 3282 The options you can supply when making a call to 3283 <a 3284 class="css-1na8e0o-A" 3285 href="#appleauthenticationrefreshasyncoptions" 3286 > 3287 <code 3288 class="css-1a6y07t-TextComponent" 3289 data-text="true" 3290 > 3291 AppleAuthentication.refreshAsync() 3292 </code> 3293 </a> 3294 . 3295You must include the ID string of the user whose credentials you'd like to refresh. 3296 </p> 3297 <blockquote 3298 class="css-zknray-Callout" 3299 data-testid="callout-container" 3300 > 3301 <div 3302 class="css-7jywx8-Callout" 3303 > 3304 <svg 3305 class="icon-sm text-icon-default" 3306 fill="currentColor" 3307 role="img" 3308 viewBox="0 0 24 24" 3309 xmlns="http://www.w3.org/2000/svg" 3310 > 3311 <g 3312 id="info-circle" 3313 > 3314 <path 3315 clip-rule="evenodd" 3316 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 3317 fill-rule="evenodd" 3318 id="Solid" 3319 /> 3320 </g> 3321 </svg> 3322 </div> 3323 <div 3324 class="css-1m74yfi-Callout" 3325 > 3326 <p 3327 class="mb-4 css-1kfqm4n-TextComponent" 3328 data-text="true" 3329 > 3330 <strong 3331 class="css-bvflvn-TextComponent" 3332 > 3333 See: 3334 </strong> 3335 3336 <a 3337 class="css-1na8e0o-A" 3338 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3339 rel="noopener noreferrer" 3340 target="_blank" 3341 > 3342 Apple 3343Documentation 3344 </a> 3345 3346for more details. 3347 </p> 3348 </div> 3349 </blockquote> 3350 <div 3351 class="css-1uyflf8-Table" 3352 > 3353 <table 3354 class="css-q84cm9-Table" 3355 > 3356 <thead 3357 class="bg-subtle border-b border-b-default border-solid" 3358 > 3359 <tr 3360 class="css-190f936-Row" 3361 > 3362 <th 3363 class="css-1uwgm7m-HeaderCell" 3364 > 3365 Name 3366 </th> 3367 <th 3368 class="css-1uwgm7m-HeaderCell" 3369 > 3370 Type 3371 </th> 3372 <th 3373 class="css-1uwgm7m-HeaderCell" 3374 > 3375 Description 3376 </th> 3377 </tr> 3378 </thead> 3379 <tbody> 3380 <tr 3381 class="css-190f936-Row" 3382 > 3383 <td 3384 class="css-18p3734-Cell" 3385 > 3386 <strong 3387 class="css-bvflvn-TextComponent" 3388 > 3389 requestedScopes 3390 </strong> 3391 <br /> 3392 <span 3393 class="css-1g95u6x" 3394 > 3395 (optional) 3396 </span> 3397 </td> 3398 <td 3399 class="css-18p3734-Cell" 3400 > 3401 <code 3402 class="css-iwb7ur-TextComponent" 3403 data-text="true" 3404 > 3405 <a 3406 class="css-1na8e0o-A" 3407 href="#appleauthenticationscope" 3408 > 3409 AppleAuthenticationScope 3410 [] 3411 </a> 3412 </code> 3413 </td> 3414 <td 3415 class="css-18p3734-Cell" 3416 > 3417 <p 3418 class="mb-4 css-1kfqm4n-TextComponent" 3419 data-text="true" 3420 > 3421 Array of user information scopes to which your app is requesting access. Note that the user can 3422choose to deny your app access to any scope at the time of logging in. You will still need to 3423handle 3424 <code 3425 class="css-1a6y07t-TextComponent" 3426 data-text="true" 3427 > 3428 null 3429 </code> 3430 values for any scopes you request. Additionally, note that the requested scopes 3431will only be provided to you the first time each user signs into your app; in subsequent 3432requests they will be 3433 <code 3434 class="css-1a6y07t-TextComponent" 3435 data-text="true" 3436 > 3437 null 3438 </code> 3439 . Defaults to 3440 <code 3441 class="css-1a6y07t-TextComponent" 3442 data-text="true" 3443 > 3444 [] 3445 </code> 3446 (no scopes). 3447 </p> 3448 </td> 3449 </tr> 3450 <tr 3451 class="css-190f936-Row" 3452 > 3453 <td 3454 class="css-18p3734-Cell" 3455 > 3456 <strong 3457 class="css-bvflvn-TextComponent" 3458 > 3459 state 3460 </strong> 3461 <br /> 3462 <span 3463 class="css-1g95u6x" 3464 > 3465 (optional) 3466 </span> 3467 </td> 3468 <td 3469 class="css-18p3734-Cell" 3470 > 3471 <code 3472 class="css-iwb7ur-TextComponent" 3473 data-text="true" 3474 > 3475 string 3476 </code> 3477 </td> 3478 <td 3479 class="css-18p3734-Cell" 3480 > 3481 <p 3482 class="mb-4 css-1kfqm4n-TextComponent" 3483 data-text="true" 3484 > 3485 An arbitrary string that is returned unmodified in the corresponding credential after a 3486successful authentication. This can be used to verify that the response was from the request 3487you made and avoid replay attacks. More information on this property is available in the 3488OAuth 2.0 protocol 3489 <a 3490 class="css-1na8e0o-A" 3491 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3492 rel="noopener noreferrer" 3493 target="_blank" 3494 > 3495 RFC6749 3496 </a> 3497 . 3498 </p> 3499 </td> 3500 </tr> 3501 <tr 3502 class="css-190f936-Row" 3503 > 3504 <td 3505 class="css-18p3734-Cell" 3506 > 3507 <strong 3508 class="css-bvflvn-TextComponent" 3509 > 3510 user 3511 </strong> 3512 </td> 3513 <td 3514 class="css-18p3734-Cell" 3515 > 3516 <code 3517 class="css-iwb7ur-TextComponent" 3518 data-text="true" 3519 > 3520 string 3521 </code> 3522 </td> 3523 <td 3524 class="css-18p3734-Cell" 3525 > 3526 - 3527 </td> 3528 </tr> 3529 </tbody> 3530 </table> 3531 </div> 3532 </div> 3533 <div 3534 class="css-1fultt1" 3535 > 3536 <h3 3537 class=" css-wbzzgj-TextComponent" 3538 data-heading="true" 3539 > 3540 <a 3541 class="css-1y48vg3" 3542 href="#appleauthenticationsigninoptions" 3543 > 3544 <span 3545 class="css-s3qkfm" 3546 id="appleauthenticationsigninoptions" 3547 /> 3548 <span 3549 class="css-6n7j50" 3550 > 3551 <code 3552 class="css-yd3r23-TextComponent" 3553 data-text="true" 3554 > 3555 AppleAuthenticationSignInOptions 3556 </code> 3557 </span> 3558 <span 3559 class="css-13330di" 3560 > 3561 <svg 3562 aria-label="permalink" 3563 class="anchor-icon" 3564 fill="none" 3565 height="24" 3566 viewBox="0 0 24 24" 3567 width="24" 3568 xmlns="http://www.w3.org/2000/svg" 3569 > 3570 <path 3571 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3572 stroke="#9B9B9B" 3573 stroke-linecap="round" 3574 stroke-linejoin="round" 3575 stroke-width="2" 3576 /> 3577 <path 3578 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3579 stroke="#9B9B9B" 3580 stroke-linecap="round" 3581 stroke-linejoin="round" 3582 stroke-width="2" 3583 /> 3584 </svg> 3585 </span> 3586 </a> 3587 </h3> 3588 <p 3589 class="mb-4 css-1kfqm4n-TextComponent" 3590 data-text="true" 3591 > 3592 The options you can supply when making a call to 3593 <a 3594 class="css-1na8e0o-A" 3595 href="#appleauthenticationsigninasyncoptions" 3596 > 3597 <code 3598 class="css-1a6y07t-TextComponent" 3599 data-text="true" 3600 > 3601 AppleAuthentication.signInAsync() 3602 </code> 3603 </a> 3604 . 3605None of these options are required. 3606 </p> 3607 <blockquote 3608 class="css-zknray-Callout" 3609 data-testid="callout-container" 3610 > 3611 <div 3612 class="css-7jywx8-Callout" 3613 > 3614 <svg 3615 class="icon-sm text-icon-default" 3616 fill="currentColor" 3617 role="img" 3618 viewBox="0 0 24 24" 3619 xmlns="http://www.w3.org/2000/svg" 3620 > 3621 <g 3622 id="info-circle" 3623 > 3624 <path 3625 clip-rule="evenodd" 3626 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 3627 fill-rule="evenodd" 3628 id="Solid" 3629 /> 3630 </g> 3631 </svg> 3632 </div> 3633 <div 3634 class="css-1m74yfi-Callout" 3635 > 3636 <p 3637 class="mb-4 css-1kfqm4n-TextComponent" 3638 data-text="true" 3639 > 3640 <strong 3641 class="css-bvflvn-TextComponent" 3642 > 3643 See: 3644 </strong> 3645 3646 <a 3647 class="css-1na8e0o-A" 3648 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3649 rel="noopener noreferrer" 3650 target="_blank" 3651 > 3652 Apple 3653Documentation 3654 </a> 3655 3656for more details. 3657 </p> 3658 </div> 3659 </blockquote> 3660 <div 3661 class="css-1uyflf8-Table" 3662 > 3663 <table 3664 class="css-q84cm9-Table" 3665 > 3666 <thead 3667 class="bg-subtle border-b border-b-default border-solid" 3668 > 3669 <tr 3670 class="css-190f936-Row" 3671 > 3672 <th 3673 class="css-1uwgm7m-HeaderCell" 3674 > 3675 Name 3676 </th> 3677 <th 3678 class="css-1uwgm7m-HeaderCell" 3679 > 3680 Type 3681 </th> 3682 <th 3683 class="css-1uwgm7m-HeaderCell" 3684 > 3685 Description 3686 </th> 3687 </tr> 3688 </thead> 3689 <tbody> 3690 <tr 3691 class="css-190f936-Row" 3692 > 3693 <td 3694 class="css-18p3734-Cell" 3695 > 3696 <strong 3697 class="css-bvflvn-TextComponent" 3698 > 3699 nonce 3700 </strong> 3701 <br /> 3702 <span 3703 class="css-1g95u6x" 3704 > 3705 (optional) 3706 </span> 3707 </td> 3708 <td 3709 class="css-18p3734-Cell" 3710 > 3711 <code 3712 class="css-iwb7ur-TextComponent" 3713 data-text="true" 3714 > 3715 string 3716 </code> 3717 </td> 3718 <td 3719 class="css-18p3734-Cell" 3720 > 3721 <p 3722 class="mb-4 css-1kfqm4n-TextComponent" 3723 data-text="true" 3724 > 3725 An arbitrary string that is used to prevent replay attacks. See more information on this in the 3726 3727 <a 3728 class="css-1na8e0o-A" 3729 href="https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowSteps" 3730 rel="noopener noreferrer" 3731 target="_blank" 3732 > 3733 OpenID Connect specification 3734 </a> 3735 . 3736 </p> 3737 </td> 3738 </tr> 3739 <tr 3740 class="css-190f936-Row" 3741 > 3742 <td 3743 class="css-18p3734-Cell" 3744 > 3745 <strong 3746 class="css-bvflvn-TextComponent" 3747 > 3748 requestedScopes 3749 </strong> 3750 <br /> 3751 <span 3752 class="css-1g95u6x" 3753 > 3754 (optional) 3755 </span> 3756 </td> 3757 <td 3758 class="css-18p3734-Cell" 3759 > 3760 <code 3761 class="css-iwb7ur-TextComponent" 3762 data-text="true" 3763 > 3764 <a 3765 class="css-1na8e0o-A" 3766 href="#appleauthenticationscope" 3767 > 3768 AppleAuthenticationScope 3769 [] 3770 </a> 3771 </code> 3772 </td> 3773 <td 3774 class="css-18p3734-Cell" 3775 > 3776 <p 3777 class="mb-4 css-1kfqm4n-TextComponent" 3778 data-text="true" 3779 > 3780 Array of user information scopes to which your app is requesting access. Note that the user can 3781choose to deny your app access to any scope at the time of logging in. You will still need to 3782handle 3783 <code 3784 class="css-1a6y07t-TextComponent" 3785 data-text="true" 3786 > 3787 null 3788 </code> 3789 values for any scopes you request. Additionally, note that the requested scopes 3790will only be provided to you the first time each user signs into your app; in subsequent 3791requests they will be 3792 <code 3793 class="css-1a6y07t-TextComponent" 3794 data-text="true" 3795 > 3796 null 3797 </code> 3798 . Defaults to 3799 <code 3800 class="css-1a6y07t-TextComponent" 3801 data-text="true" 3802 > 3803 [] 3804 </code> 3805 (no scopes). 3806 </p> 3807 </td> 3808 </tr> 3809 <tr 3810 class="css-190f936-Row" 3811 > 3812 <td 3813 class="css-18p3734-Cell" 3814 > 3815 <strong 3816 class="css-bvflvn-TextComponent" 3817 > 3818 state 3819 </strong> 3820 <br /> 3821 <span 3822 class="css-1g95u6x" 3823 > 3824 (optional) 3825 </span> 3826 </td> 3827 <td 3828 class="css-18p3734-Cell" 3829 > 3830 <code 3831 class="css-iwb7ur-TextComponent" 3832 data-text="true" 3833 > 3834 string 3835 </code> 3836 </td> 3837 <td 3838 class="css-18p3734-Cell" 3839 > 3840 <p 3841 class="mb-4 css-1kfqm4n-TextComponent" 3842 data-text="true" 3843 > 3844 An arbitrary string that is returned unmodified in the corresponding credential after a 3845successful authentication. This can be used to verify that the response was from the request 3846you made and avoid replay attacks. More information on this property is available in the 3847OAuth 2.0 protocol 3848 <a 3849 class="css-1na8e0o-A" 3850 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3851 rel="noopener noreferrer" 3852 target="_blank" 3853 > 3854 RFC6749 3855 </a> 3856 . 3857 </p> 3858 </td> 3859 </tr> 3860 </tbody> 3861 </table> 3862 </div> 3863 </div> 3864 <div 3865 class="css-1fultt1" 3866 > 3867 <h3 3868 class=" css-wbzzgj-TextComponent" 3869 data-heading="true" 3870 > 3871 <a 3872 class="css-1y48vg3" 3873 href="#appleauthenticationsignoutoptions" 3874 > 3875 <span 3876 class="css-s3qkfm" 3877 id="appleauthenticationsignoutoptions" 3878 /> 3879 <span 3880 class="css-6n7j50" 3881 > 3882 <code 3883 class="css-yd3r23-TextComponent" 3884 data-text="true" 3885 > 3886 AppleAuthenticationSignOutOptions 3887 </code> 3888 </span> 3889 <span 3890 class="css-13330di" 3891 > 3892 <svg 3893 aria-label="permalink" 3894 class="anchor-icon" 3895 fill="none" 3896 height="24" 3897 viewBox="0 0 24 24" 3898 width="24" 3899 xmlns="http://www.w3.org/2000/svg" 3900 > 3901 <path 3902 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3903 stroke="#9B9B9B" 3904 stroke-linecap="round" 3905 stroke-linejoin="round" 3906 stroke-width="2" 3907 /> 3908 <path 3909 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3910 stroke="#9B9B9B" 3911 stroke-linecap="round" 3912 stroke-linejoin="round" 3913 stroke-width="2" 3914 /> 3915 </svg> 3916 </span> 3917 </a> 3918 </h3> 3919 <p 3920 class="mb-4 css-1kfqm4n-TextComponent" 3921 data-text="true" 3922 > 3923 The options you can supply when making a call to 3924 <a 3925 class="css-1na8e0o-A" 3926 href="#appleauthenticationsignoutasyncoptions" 3927 > 3928 <code 3929 class="css-1a6y07t-TextComponent" 3930 data-text="true" 3931 > 3932 AppleAuthentication.signOutAsync() 3933 </code> 3934 </a> 3935 . 3936You must include the ID string of the user to sign out. 3937 </p> 3938 <blockquote 3939 class="css-zknray-Callout" 3940 data-testid="callout-container" 3941 > 3942 <div 3943 class="css-7jywx8-Callout" 3944 > 3945 <svg 3946 class="icon-sm text-icon-default" 3947 fill="currentColor" 3948 role="img" 3949 viewBox="0 0 24 24" 3950 xmlns="http://www.w3.org/2000/svg" 3951 > 3952 <g 3953 id="info-circle" 3954 > 3955 <path 3956 clip-rule="evenodd" 3957 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 3958 fill-rule="evenodd" 3959 id="Solid" 3960 /> 3961 </g> 3962 </svg> 3963 </div> 3964 <div 3965 class="css-1m74yfi-Callout" 3966 > 3967 <p 3968 class="mb-4 css-1kfqm4n-TextComponent" 3969 data-text="true" 3970 > 3971 <strong 3972 class="css-bvflvn-TextComponent" 3973 > 3974 See: 3975 </strong> 3976 3977 <a 3978 class="css-1na8e0o-A" 3979 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3980 rel="noopener noreferrer" 3981 target="_blank" 3982 > 3983 Apple 3984Documentation 3985 </a> 3986 3987for more details. 3988 </p> 3989 </div> 3990 </blockquote> 3991 <div 3992 class="css-1uyflf8-Table" 3993 > 3994 <table 3995 class="css-q84cm9-Table" 3996 > 3997 <thead 3998 class="bg-subtle border-b border-b-default border-solid" 3999 > 4000 <tr 4001 class="css-190f936-Row" 4002 > 4003 <th 4004 class="css-1uwgm7m-HeaderCell" 4005 > 4006 Name 4007 </th> 4008 <th 4009 class="css-1uwgm7m-HeaderCell" 4010 > 4011 Type 4012 </th> 4013 <th 4014 class="css-1uwgm7m-HeaderCell" 4015 > 4016 Description 4017 </th> 4018 </tr> 4019 </thead> 4020 <tbody> 4021 <tr 4022 class="css-190f936-Row" 4023 > 4024 <td 4025 class="css-18p3734-Cell" 4026 > 4027 <strong 4028 class="css-bvflvn-TextComponent" 4029 > 4030 state 4031 </strong> 4032 <br /> 4033 <span 4034 class="css-1g95u6x" 4035 > 4036 (optional) 4037 </span> 4038 </td> 4039 <td 4040 class="css-18p3734-Cell" 4041 > 4042 <code 4043 class="css-iwb7ur-TextComponent" 4044 data-text="true" 4045 > 4046 string 4047 </code> 4048 </td> 4049 <td 4050 class="css-18p3734-Cell" 4051 > 4052 <p 4053 class="mb-4 css-1kfqm4n-TextComponent" 4054 data-text="true" 4055 > 4056 An arbitrary string that is returned unmodified in the corresponding credential after a 4057successful authentication. This can be used to verify that the response was from the request 4058you made and avoid replay attacks. More information on this property is available in the 4059OAuth 2.0 protocol 4060 <a 4061 class="css-1na8e0o-A" 4062 href="https://tools.ietf.org/html/rfc6749#section-10.12" 4063 rel="noopener noreferrer" 4064 target="_blank" 4065 > 4066 RFC6749 4067 </a> 4068 . 4069 </p> 4070 </td> 4071 </tr> 4072 <tr 4073 class="css-190f936-Row" 4074 > 4075 <td 4076 class="css-18p3734-Cell" 4077 > 4078 <strong 4079 class="css-bvflvn-TextComponent" 4080 > 4081 user 4082 </strong> 4083 </td> 4084 <td 4085 class="css-18p3734-Cell" 4086 > 4087 <code 4088 class="css-iwb7ur-TextComponent" 4089 data-text="true" 4090 > 4091 string 4092 </code> 4093 </td> 4094 <td 4095 class="css-18p3734-Cell" 4096 > 4097 - 4098 </td> 4099 </tr> 4100 </tbody> 4101 </table> 4102 </div> 4103 </div> 4104 <div 4105 class="css-1fultt1" 4106 > 4107 <h3 4108 class=" css-wbzzgj-TextComponent" 4109 data-heading="true" 4110 > 4111 <a 4112 class="css-1y48vg3" 4113 href="#subscription" 4114 > 4115 <span 4116 class="css-s3qkfm" 4117 id="subscription" 4118 /> 4119 <span 4120 class="css-6n7j50" 4121 > 4122 <code 4123 class="css-yd3r23-TextComponent" 4124 data-text="true" 4125 > 4126 Subscription 4127 </code> 4128 </span> 4129 <span 4130 class="css-13330di" 4131 > 4132 <svg 4133 aria-label="permalink" 4134 class="anchor-icon" 4135 fill="none" 4136 height="24" 4137 viewBox="0 0 24 24" 4138 width="24" 4139 xmlns="http://www.w3.org/2000/svg" 4140 > 4141 <path 4142 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4143 stroke="#9B9B9B" 4144 stroke-linecap="round" 4145 stroke-linejoin="round" 4146 stroke-width="2" 4147 /> 4148 <path 4149 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4150 stroke="#9B9B9B" 4151 stroke-linecap="round" 4152 stroke-linejoin="round" 4153 stroke-width="2" 4154 /> 4155 </svg> 4156 </span> 4157 </a> 4158 </h3> 4159 <div 4160 class="css-1uyflf8-Table" 4161 > 4162 <table 4163 class="css-q84cm9-Table" 4164 > 4165 <thead 4166 class="bg-subtle border-b border-b-default border-solid" 4167 > 4168 <tr 4169 class="css-190f936-Row" 4170 > 4171 <th 4172 class="css-1uwgm7m-HeaderCell" 4173 > 4174 Name 4175 </th> 4176 <th 4177 class="css-1uwgm7m-HeaderCell" 4178 > 4179 Type 4180 </th> 4181 <th 4182 class="css-1uwgm7m-HeaderCell" 4183 > 4184 Description 4185 </th> 4186 </tr> 4187 </thead> 4188 <tbody> 4189 <tr 4190 class="css-190f936-Row" 4191 > 4192 <td 4193 class="css-18p3734-Cell" 4194 > 4195 <strong 4196 class="css-bvflvn-TextComponent" 4197 > 4198 remove 4199 </strong> 4200 </td> 4201 <td 4202 class="css-18p3734-Cell" 4203 > 4204 <code 4205 class="css-iwb7ur-TextComponent" 4206 data-text="true" 4207 > 4208 () => 4209 4210 void 4211 </code> 4212 </td> 4213 <td 4214 class="css-18p3734-Cell" 4215 > 4216 - 4217 </td> 4218 </tr> 4219 </tbody> 4220 </table> 4221 </div> 4222 </div> 4223 <h2 4224 class=" css-1qsxz84-TextComponent" 4225 data-heading="true" 4226 > 4227 <a 4228 class="css-1y48vg3" 4229 href="#enums" 4230 > 4231 <span 4232 class="css-s3qkfm" 4233 id="enums" 4234 /> 4235 <span 4236 class="css-6n7j50" 4237 > 4238 Enums 4239 </span> 4240 <span 4241 class="css-13330di" 4242 > 4243 <svg 4244 aria-label="permalink" 4245 class="anchor-icon" 4246 fill="none" 4247 height="24" 4248 viewBox="0 0 24 24" 4249 width="24" 4250 xmlns="http://www.w3.org/2000/svg" 4251 > 4252 <path 4253 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4254 stroke="#9B9B9B" 4255 stroke-linecap="round" 4256 stroke-linejoin="round" 4257 stroke-width="2" 4258 /> 4259 <path 4260 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4261 stroke="#9B9B9B" 4262 stroke-linecap="round" 4263 stroke-linejoin="round" 4264 stroke-width="2" 4265 /> 4266 </svg> 4267 </span> 4268 </a> 4269 </h2> 4270 <div 4271 class="css-1gsbrid" 4272 > 4273 <h3 4274 class=" css-wbzzgj-TextComponent" 4275 data-heading="true" 4276 > 4277 <a 4278 class="css-1y48vg3" 4279 href="#appleauthenticationbuttonstyle" 4280 > 4281 <span 4282 class="css-s3qkfm" 4283 id="appleauthenticationbuttonstyle" 4284 /> 4285 <span 4286 class="css-6n7j50" 4287 > 4288 <code 4289 class="css-yd3r23-TextComponent" 4290 data-text="true" 4291 > 4292 AppleAuthenticationButtonStyle 4293 </code> 4294 </span> 4295 <span 4296 class="css-13330di" 4297 > 4298 <svg 4299 aria-label="permalink" 4300 class="anchor-icon" 4301 fill="none" 4302 height="24" 4303 viewBox="0 0 24 24" 4304 width="24" 4305 xmlns="http://www.w3.org/2000/svg" 4306 > 4307 <path 4308 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4309 stroke="#9B9B9B" 4310 stroke-linecap="round" 4311 stroke-linejoin="round" 4312 stroke-width="2" 4313 /> 4314 <path 4315 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4316 stroke="#9B9B9B" 4317 stroke-linecap="round" 4318 stroke-linejoin="round" 4319 stroke-width="2" 4320 /> 4321 </svg> 4322 </span> 4323 </a> 4324 </h3> 4325 <p 4326 class="mb-4 css-1kfqm4n-TextComponent" 4327 data-text="true" 4328 > 4329 An enum whose values control which pre-defined color scheme to use when rendering an 4330 <a 4331 class="css-1na8e0o-A" 4332 href="#appleauthenticationappleauthenticationbutton" 4333 > 4334 <code 4335 class="css-1a6y07t-TextComponent" 4336 data-text="true" 4337 > 4338 AppleAuthenticationButton 4339 </code> 4340 </a> 4341 . 4342 </p> 4343 <div 4344 class="css-11xr3cd" 4345 > 4346 <h4 4347 class=" css-1y1xevk-TextComponent" 4348 data-heading="true" 4349 > 4350 <a 4351 class="css-1y48vg3" 4352 href="#white" 4353 > 4354 <span 4355 class="css-s3qkfm" 4356 id="white" 4357 /> 4358 <span 4359 class="css-6n7j50" 4360 > 4361 <code 4362 class="css-iwb7ur-TextComponent" 4363 data-text="true" 4364 > 4365 WHITE 4366 </code> 4367 </span> 4368 <span 4369 class="css-13330di" 4370 > 4371 <svg 4372 aria-label="permalink" 4373 class="anchor-icon" 4374 fill="none" 4375 height="24" 4376 viewBox="0 0 24 24" 4377 width="24" 4378 xmlns="http://www.w3.org/2000/svg" 4379 > 4380 <path 4381 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4382 stroke="#9B9B9B" 4383 stroke-linecap="round" 4384 stroke-linejoin="round" 4385 stroke-width="2" 4386 /> 4387 <path 4388 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4389 stroke="#9B9B9B" 4390 stroke-linecap="round" 4391 stroke-linejoin="round" 4392 stroke-width="2" 4393 /> 4394 </svg> 4395 </span> 4396 </a> 4397 </h4> 4398 <code 4399 class="mb-4 css-1h2013i-TextComponent" 4400 data-text="true" 4401 > 4402 AppleAuthenticationButtonStyle.WHITE = 0 4403 </code> 4404 <p 4405 class="mb-4 css-1kfqm4n-TextComponent" 4406 data-text="true" 4407 > 4408 White button with black text. 4409 </p> 4410 </div> 4411 <div 4412 class="css-11xr3cd" 4413 > 4414 <h4 4415 class=" css-1y1xevk-TextComponent" 4416 data-heading="true" 4417 > 4418 <a 4419 class="css-1y48vg3" 4420 href="#white_outline" 4421 > 4422 <span 4423 class="css-s3qkfm" 4424 id="white_outline" 4425 /> 4426 <span 4427 class="css-6n7j50" 4428 > 4429 <code 4430 class="css-iwb7ur-TextComponent" 4431 data-text="true" 4432 > 4433 WHITE_OUTLINE 4434 </code> 4435 </span> 4436 <span 4437 class="css-13330di" 4438 > 4439 <svg 4440 aria-label="permalink" 4441 class="anchor-icon" 4442 fill="none" 4443 height="24" 4444 viewBox="0 0 24 24" 4445 width="24" 4446 xmlns="http://www.w3.org/2000/svg" 4447 > 4448 <path 4449 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4450 stroke="#9B9B9B" 4451 stroke-linecap="round" 4452 stroke-linejoin="round" 4453 stroke-width="2" 4454 /> 4455 <path 4456 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4457 stroke="#9B9B9B" 4458 stroke-linecap="round" 4459 stroke-linejoin="round" 4460 stroke-width="2" 4461 /> 4462 </svg> 4463 </span> 4464 </a> 4465 </h4> 4466 <code 4467 class="mb-4 css-1h2013i-TextComponent" 4468 data-text="true" 4469 > 4470 AppleAuthenticationButtonStyle.WHITE_OUTLINE = 1 4471 </code> 4472 <p 4473 class="mb-4 css-1kfqm4n-TextComponent" 4474 data-text="true" 4475 > 4476 White button with a black outline and black text. 4477 </p> 4478 </div> 4479 <div 4480 class="css-11xr3cd" 4481 > 4482 <h4 4483 class=" css-1y1xevk-TextComponent" 4484 data-heading="true" 4485 > 4486 <a 4487 class="css-1y48vg3" 4488 href="#black" 4489 > 4490 <span 4491 class="css-s3qkfm" 4492 id="black" 4493 /> 4494 <span 4495 class="css-6n7j50" 4496 > 4497 <code 4498 class="css-iwb7ur-TextComponent" 4499 data-text="true" 4500 > 4501 BLACK 4502 </code> 4503 </span> 4504 <span 4505 class="css-13330di" 4506 > 4507 <svg 4508 aria-label="permalink" 4509 class="anchor-icon" 4510 fill="none" 4511 height="24" 4512 viewBox="0 0 24 24" 4513 width="24" 4514 xmlns="http://www.w3.org/2000/svg" 4515 > 4516 <path 4517 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4518 stroke="#9B9B9B" 4519 stroke-linecap="round" 4520 stroke-linejoin="round" 4521 stroke-width="2" 4522 /> 4523 <path 4524 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4525 stroke="#9B9B9B" 4526 stroke-linecap="round" 4527 stroke-linejoin="round" 4528 stroke-width="2" 4529 /> 4530 </svg> 4531 </span> 4532 </a> 4533 </h4> 4534 <code 4535 class="mb-4 css-1h2013i-TextComponent" 4536 data-text="true" 4537 > 4538 AppleAuthenticationButtonStyle.BLACK = 2 4539 </code> 4540 <p 4541 class="mb-4 css-1kfqm4n-TextComponent" 4542 data-text="true" 4543 > 4544 Black button with white text. 4545 </p> 4546 </div> 4547 </div> 4548 <div 4549 class="css-1gsbrid" 4550 > 4551 <h3 4552 class=" css-wbzzgj-TextComponent" 4553 data-heading="true" 4554 > 4555 <a 4556 class="css-1y48vg3" 4557 href="#appleauthenticationbuttontype" 4558 > 4559 <span 4560 class="css-s3qkfm" 4561 id="appleauthenticationbuttontype" 4562 /> 4563 <span 4564 class="css-6n7j50" 4565 > 4566 <code 4567 class="css-yd3r23-TextComponent" 4568 data-text="true" 4569 > 4570 AppleAuthenticationButtonType 4571 </code> 4572 </span> 4573 <span 4574 class="css-13330di" 4575 > 4576 <svg 4577 aria-label="permalink" 4578 class="anchor-icon" 4579 fill="none" 4580 height="24" 4581 viewBox="0 0 24 24" 4582 width="24" 4583 xmlns="http://www.w3.org/2000/svg" 4584 > 4585 <path 4586 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4587 stroke="#9B9B9B" 4588 stroke-linecap="round" 4589 stroke-linejoin="round" 4590 stroke-width="2" 4591 /> 4592 <path 4593 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4594 stroke="#9B9B9B" 4595 stroke-linecap="round" 4596 stroke-linejoin="round" 4597 stroke-width="2" 4598 /> 4599 </svg> 4600 </span> 4601 </a> 4602 </h3> 4603 <p 4604 class="mb-4 css-1kfqm4n-TextComponent" 4605 data-text="true" 4606 > 4607 An enum whose values control which pre-defined text to use when rendering an 4608 <a 4609 class="css-1na8e0o-A" 4610 href="#appleauthenticationappleauthenticationbutton" 4611 > 4612 <code 4613 class="css-1a6y07t-TextComponent" 4614 data-text="true" 4615 > 4616 AppleAuthenticationButton 4617 </code> 4618 </a> 4619 . 4620 </p> 4621 <div 4622 class="css-11xr3cd" 4623 > 4624 <h4 4625 class=" css-1y1xevk-TextComponent" 4626 data-heading="true" 4627 > 4628 <a 4629 class="css-1y48vg3" 4630 href="#sign_in" 4631 > 4632 <span 4633 class="css-s3qkfm" 4634 id="sign_in" 4635 /> 4636 <span 4637 class="css-6n7j50" 4638 > 4639 <code 4640 class="css-iwb7ur-TextComponent" 4641 data-text="true" 4642 > 4643 SIGN_IN 4644 </code> 4645 </span> 4646 <span 4647 class="css-13330di" 4648 > 4649 <svg 4650 aria-label="permalink" 4651 class="anchor-icon" 4652 fill="none" 4653 height="24" 4654 viewBox="0 0 24 24" 4655 width="24" 4656 xmlns="http://www.w3.org/2000/svg" 4657 > 4658 <path 4659 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4660 stroke="#9B9B9B" 4661 stroke-linecap="round" 4662 stroke-linejoin="round" 4663 stroke-width="2" 4664 /> 4665 <path 4666 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4667 stroke="#9B9B9B" 4668 stroke-linecap="round" 4669 stroke-linejoin="round" 4670 stroke-width="2" 4671 /> 4672 </svg> 4673 </span> 4674 </a> 4675 </h4> 4676 <code 4677 class="mb-4 css-1h2013i-TextComponent" 4678 data-text="true" 4679 > 4680 AppleAuthenticationButtonType.SIGN_IN = 0 4681 </code> 4682 <p 4683 class="mb-4 css-1kfqm4n-TextComponent" 4684 data-text="true" 4685 > 4686 "Sign in with Apple" 4687 </p> 4688 </div> 4689 <div 4690 class="css-11xr3cd" 4691 > 4692 <h4 4693 class=" css-1y1xevk-TextComponent" 4694 data-heading="true" 4695 > 4696 <a 4697 class="css-1y48vg3" 4698 href="#continue" 4699 > 4700 <span 4701 class="css-s3qkfm" 4702 id="continue" 4703 /> 4704 <span 4705 class="css-6n7j50" 4706 > 4707 <code 4708 class="css-iwb7ur-TextComponent" 4709 data-text="true" 4710 > 4711 CONTINUE 4712 </code> 4713 </span> 4714 <span 4715 class="css-13330di" 4716 > 4717 <svg 4718 aria-label="permalink" 4719 class="anchor-icon" 4720 fill="none" 4721 height="24" 4722 viewBox="0 0 24 24" 4723 width="24" 4724 xmlns="http://www.w3.org/2000/svg" 4725 > 4726 <path 4727 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4728 stroke="#9B9B9B" 4729 stroke-linecap="round" 4730 stroke-linejoin="round" 4731 stroke-width="2" 4732 /> 4733 <path 4734 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4735 stroke="#9B9B9B" 4736 stroke-linecap="round" 4737 stroke-linejoin="round" 4738 stroke-width="2" 4739 /> 4740 </svg> 4741 </span> 4742 </a> 4743 </h4> 4744 <code 4745 class="mb-4 css-1h2013i-TextComponent" 4746 data-text="true" 4747 > 4748 AppleAuthenticationButtonType.CONTINUE = 1 4749 </code> 4750 <p 4751 class="mb-4 css-1kfqm4n-TextComponent" 4752 data-text="true" 4753 > 4754 "Continue with Apple" 4755 </p> 4756 </div> 4757 <div 4758 class="css-11xr3cd" 4759 > 4760 <strong 4761 class="css-bvflvn-TextComponent" 4762 > 4763 Only for: 4764 4765 </strong> 4766 <div 4767 class="!bg-palette-blue4 !text-palette-blue12 !border-palette-blue5 css-r2zk2g-PlatformTag" 4768 > 4769 <svg 4770 class="icon-xs text-palette-blue12" 4771 fill="none" 4772 role="img" 4773 viewBox="0 0 24 24" 4774 xmlns="http://www.w3.org/2000/svg" 4775 > 4776 <g 4777 id="apple" 4778 > 4779 <path 4780 d="M20.4478 17.3538C20.1312 18.0852 19.7564 18.7585 19.3222 19.3775C18.7303 20.2214 18.2457 20.8055 17.8722 21.1299C17.2933 21.6623 16.673 21.935 16.0088 21.9505C15.5319 21.9505 14.9568 21.8148 14.2874 21.5395C13.6158 21.2656 12.9986 21.1299 12.4343 21.1299C11.8424 21.1299 11.2076 21.2656 10.5287 21.5395C9.84865 21.8148 9.30085 21.9582 8.88201 21.9724C8.24504 21.9996 7.61014 21.7192 6.9764 21.1299C6.57191 20.7771 6.06598 20.1723 5.45989 19.3155C4.80961 18.4005 4.27499 17.3396 3.85615 16.13C3.4076 14.8235 3.18274 13.5583 3.18274 12.3335C3.18274 10.9304 3.48591 9.72034 4.09316 8.70628C4.5704 7.89174 5.20531 7.24922 5.99994 6.77753C6.79457 6.30584 7.65317 6.06547 8.57781 6.0501C9.08374 6.0501 9.7472 6.20659 10.5717 6.51416C11.3938 6.82276 11.9217 6.97926 12.1532 6.97926C12.3262 6.97926 12.9127 6.79627 13.9068 6.43145C14.847 6.09313 15.6404 5.95304 16.2905 6.00823C18.0519 6.15038 19.3752 6.84473 20.2552 8.09567C18.6799 9.05016 17.9007 10.387 17.9162 12.102C17.9304 13.4379 18.415 14.5495 19.3674 15.4321C19.799 15.8418 20.2811 16.1584 20.8174 16.3833C20.7011 16.7206 20.5783 17.0436 20.4478 17.3538ZM16.4081 1.45728C16.4081 2.50431 16.0256 3.48192 15.2631 4.38678C14.343 5.46249 13.2301 6.08408 12.0232 5.986C12.0078 5.86039 11.9989 5.72819 11.9989 5.58926C11.9989 4.58412 12.4365 3.50841 13.2135 2.62888C13.6015 2.18355 14.0949 1.81327 14.6932 1.51789C15.2902 1.22692 15.855 1.066 16.3861 1.03845C16.4016 1.17842 16.4081 1.3184 16.4081 1.45727V1.45728Z" 4781 fill="currentColor" 4782 id="Vector" 4783 /> 4784 </g> 4785 </svg> 4786 <span 4787 class="css-6g4m4t-PlatformTag" 4788 > 4789 iOS 13.2+ 4790 </span> 4791 </div> 4792 <br /> 4793 <h4 4794 class=" css-1y1xevk-TextComponent" 4795 data-heading="true" 4796 > 4797 <a 4798 class="css-1y48vg3" 4799 href="#sign_up" 4800 > 4801 <span 4802 class="css-s3qkfm" 4803 id="sign_up" 4804 /> 4805 <span 4806 class="css-6n7j50" 4807 > 4808 <code 4809 class="css-iwb7ur-TextComponent" 4810 data-text="true" 4811 > 4812 SIGN_UP 4813 </code> 4814 </span> 4815 <span 4816 class="css-13330di" 4817 > 4818 <svg 4819 aria-label="permalink" 4820 class="anchor-icon" 4821 fill="none" 4822 height="24" 4823 viewBox="0 0 24 24" 4824 width="24" 4825 xmlns="http://www.w3.org/2000/svg" 4826 > 4827 <path 4828 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4829 stroke="#9B9B9B" 4830 stroke-linecap="round" 4831 stroke-linejoin="round" 4832 stroke-width="2" 4833 /> 4834 <path 4835 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4836 stroke="#9B9B9B" 4837 stroke-linecap="round" 4838 stroke-linejoin="round" 4839 stroke-width="2" 4840 /> 4841 </svg> 4842 </span> 4843 </a> 4844 </h4> 4845 <code 4846 class="mb-4 css-1h2013i-TextComponent" 4847 data-text="true" 4848 > 4849 AppleAuthenticationButtonType.SIGN_UP = 2 4850 </code> 4851 <p 4852 class="mb-4 css-1kfqm4n-TextComponent" 4853 data-text="true" 4854 > 4855 "Sign up with Apple" 4856 </p> 4857 </div> 4858 </div> 4859 <div 4860 class="css-1gsbrid" 4861 > 4862 <h3 4863 class=" css-wbzzgj-TextComponent" 4864 data-heading="true" 4865 > 4866 <a 4867 class="css-1y48vg3" 4868 href="#appleauthenticationcredentialstate" 4869 > 4870 <span 4871 class="css-s3qkfm" 4872 id="appleauthenticationcredentialstate" 4873 /> 4874 <span 4875 class="css-6n7j50" 4876 > 4877 <code 4878 class="css-yd3r23-TextComponent" 4879 data-text="true" 4880 > 4881 AppleAuthenticationCredentialState 4882 </code> 4883 </span> 4884 <span 4885 class="css-13330di" 4886 > 4887 <svg 4888 aria-label="permalink" 4889 class="anchor-icon" 4890 fill="none" 4891 height="24" 4892 viewBox="0 0 24 24" 4893 width="24" 4894 xmlns="http://www.w3.org/2000/svg" 4895 > 4896 <path 4897 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4898 stroke="#9B9B9B" 4899 stroke-linecap="round" 4900 stroke-linejoin="round" 4901 stroke-width="2" 4902 /> 4903 <path 4904 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4905 stroke="#9B9B9B" 4906 stroke-linecap="round" 4907 stroke-linejoin="round" 4908 stroke-width="2" 4909 /> 4910 </svg> 4911 </span> 4912 </a> 4913 </h3> 4914 <p 4915 class="mb-4 css-1kfqm4n-TextComponent" 4916 data-text="true" 4917 > 4918 An enum whose values specify state of the credential when checked with 4919 <a 4920 class="css-1na8e0o-A" 4921 href="#appleauthenticationgetcredentialstateasyncuser" 4922 > 4923 <code 4924 class="css-1a6y07t-TextComponent" 4925 data-text="true" 4926 > 4927 AppleAuthentication.getCredentialStateAsync() 4928 </code> 4929 </a> 4930 . 4931 </p> 4932 <blockquote 4933 class="css-zknray-Callout" 4934 data-testid="callout-container" 4935 > 4936 <div 4937 class="css-7jywx8-Callout" 4938 > 4939 <svg 4940 class="icon-sm text-icon-default" 4941 fill="currentColor" 4942 role="img" 4943 viewBox="0 0 24 24" 4944 xmlns="http://www.w3.org/2000/svg" 4945 > 4946 <g 4947 id="info-circle" 4948 > 4949 <path 4950 clip-rule="evenodd" 4951 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 4952 fill-rule="evenodd" 4953 id="Solid" 4954 /> 4955 </g> 4956 </svg> 4957 </div> 4958 <div 4959 class="css-1m74yfi-Callout" 4960 > 4961 <p 4962 class="mb-4 css-1kfqm4n-TextComponent" 4963 data-text="true" 4964 > 4965 <strong 4966 class="css-bvflvn-TextComponent" 4967 > 4968 See: 4969 </strong> 4970 4971 <a 4972 class="css-1na8e0o-A" 4973 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidprovidercredentialstate" 4974 rel="noopener noreferrer" 4975 target="_blank" 4976 > 4977 Apple 4978Documentation 4979 </a> 4980 4981for more details. 4982 </p> 4983 </div> 4984 </blockquote> 4985 <div 4986 class="css-11xr3cd" 4987 > 4988 <h4 4989 class=" css-1y1xevk-TextComponent" 4990 data-heading="true" 4991 > 4992 <a 4993 class="css-1y48vg3" 4994 href="#revoked" 4995 > 4996 <span 4997 class="css-s3qkfm" 4998 id="revoked" 4999 /> 5000 <span 5001 class="css-6n7j50" 5002 > 5003 <code 5004 class="css-iwb7ur-TextComponent" 5005 data-text="true" 5006 > 5007 REVOKED 5008 </code> 5009 </span> 5010 <span 5011 class="css-13330di" 5012 > 5013 <svg 5014 aria-label="permalink" 5015 class="anchor-icon" 5016 fill="none" 5017 height="24" 5018 viewBox="0 0 24 24" 5019 width="24" 5020 xmlns="http://www.w3.org/2000/svg" 5021 > 5022 <path 5023 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5024 stroke="#9B9B9B" 5025 stroke-linecap="round" 5026 stroke-linejoin="round" 5027 stroke-width="2" 5028 /> 5029 <path 5030 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5031 stroke="#9B9B9B" 5032 stroke-linecap="round" 5033 stroke-linejoin="round" 5034 stroke-width="2" 5035 /> 5036 </svg> 5037 </span> 5038 </a> 5039 </h4> 5040 <code 5041 class="mb-4 css-1h2013i-TextComponent" 5042 data-text="true" 5043 > 5044 AppleAuthenticationCredentialState.REVOKED = 0 5045 </code> 5046 </div> 5047 <div 5048 class="css-11xr3cd" 5049 > 5050 <h4 5051 class=" css-1y1xevk-TextComponent" 5052 data-heading="true" 5053 > 5054 <a 5055 class="css-1y48vg3" 5056 href="#authorized" 5057 > 5058 <span 5059 class="css-s3qkfm" 5060 id="authorized" 5061 /> 5062 <span 5063 class="css-6n7j50" 5064 > 5065 <code 5066 class="css-iwb7ur-TextComponent" 5067 data-text="true" 5068 > 5069 AUTHORIZED 5070 </code> 5071 </span> 5072 <span 5073 class="css-13330di" 5074 > 5075 <svg 5076 aria-label="permalink" 5077 class="anchor-icon" 5078 fill="none" 5079 height="24" 5080 viewBox="0 0 24 24" 5081 width="24" 5082 xmlns="http://www.w3.org/2000/svg" 5083 > 5084 <path 5085 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5086 stroke="#9B9B9B" 5087 stroke-linecap="round" 5088 stroke-linejoin="round" 5089 stroke-width="2" 5090 /> 5091 <path 5092 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5093 stroke="#9B9B9B" 5094 stroke-linecap="round" 5095 stroke-linejoin="round" 5096 stroke-width="2" 5097 /> 5098 </svg> 5099 </span> 5100 </a> 5101 </h4> 5102 <code 5103 class="mb-4 css-1h2013i-TextComponent" 5104 data-text="true" 5105 > 5106 AppleAuthenticationCredentialState.AUTHORIZED = 1 5107 </code> 5108 </div> 5109 <div 5110 class="css-11xr3cd" 5111 > 5112 <h4 5113 class=" css-1y1xevk-TextComponent" 5114 data-heading="true" 5115 > 5116 <a 5117 class="css-1y48vg3" 5118 href="#not_found" 5119 > 5120 <span 5121 class="css-s3qkfm" 5122 id="not_found" 5123 /> 5124 <span 5125 class="css-6n7j50" 5126 > 5127 <code 5128 class="css-iwb7ur-TextComponent" 5129 data-text="true" 5130 > 5131 NOT_FOUND 5132 </code> 5133 </span> 5134 <span 5135 class="css-13330di" 5136 > 5137 <svg 5138 aria-label="permalink" 5139 class="anchor-icon" 5140 fill="none" 5141 height="24" 5142 viewBox="0 0 24 24" 5143 width="24" 5144 xmlns="http://www.w3.org/2000/svg" 5145 > 5146 <path 5147 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5148 stroke="#9B9B9B" 5149 stroke-linecap="round" 5150 stroke-linejoin="round" 5151 stroke-width="2" 5152 /> 5153 <path 5154 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5155 stroke="#9B9B9B" 5156 stroke-linecap="round" 5157 stroke-linejoin="round" 5158 stroke-width="2" 5159 /> 5160 </svg> 5161 </span> 5162 </a> 5163 </h4> 5164 <code 5165 class="mb-4 css-1h2013i-TextComponent" 5166 data-text="true" 5167 > 5168 AppleAuthenticationCredentialState.NOT_FOUND = 2 5169 </code> 5170 </div> 5171 <div 5172 class="css-11xr3cd" 5173 > 5174 <h4 5175 class=" css-1y1xevk-TextComponent" 5176 data-heading="true" 5177 > 5178 <a 5179 class="css-1y48vg3" 5180 href="#transferred" 5181 > 5182 <span 5183 class="css-s3qkfm" 5184 id="transferred" 5185 /> 5186 <span 5187 class="css-6n7j50" 5188 > 5189 <code 5190 class="css-iwb7ur-TextComponent" 5191 data-text="true" 5192 > 5193 TRANSFERRED 5194 </code> 5195 </span> 5196 <span 5197 class="css-13330di" 5198 > 5199 <svg 5200 aria-label="permalink" 5201 class="anchor-icon" 5202 fill="none" 5203 height="24" 5204 viewBox="0 0 24 24" 5205 width="24" 5206 xmlns="http://www.w3.org/2000/svg" 5207 > 5208 <path 5209 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5210 stroke="#9B9B9B" 5211 stroke-linecap="round" 5212 stroke-linejoin="round" 5213 stroke-width="2" 5214 /> 5215 <path 5216 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5217 stroke="#9B9B9B" 5218 stroke-linecap="round" 5219 stroke-linejoin="round" 5220 stroke-width="2" 5221 /> 5222 </svg> 5223 </span> 5224 </a> 5225 </h4> 5226 <code 5227 class="mb-4 css-1h2013i-TextComponent" 5228 data-text="true" 5229 > 5230 AppleAuthenticationCredentialState.TRANSFERRED = 3 5231 </code> 5232 </div> 5233 </div> 5234 <div 5235 class="css-1gsbrid" 5236 > 5237 <h3 5238 class=" css-wbzzgj-TextComponent" 5239 data-heading="true" 5240 > 5241 <a 5242 class="css-1y48vg3" 5243 href="#appleauthenticationoperation" 5244 > 5245 <span 5246 class="css-s3qkfm" 5247 id="appleauthenticationoperation" 5248 /> 5249 <span 5250 class="css-6n7j50" 5251 > 5252 <code 5253 class="css-yd3r23-TextComponent" 5254 data-text="true" 5255 > 5256 AppleAuthenticationOperation 5257 </code> 5258 </span> 5259 <span 5260 class="css-13330di" 5261 > 5262 <svg 5263 aria-label="permalink" 5264 class="anchor-icon" 5265 fill="none" 5266 height="24" 5267 viewBox="0 0 24 24" 5268 width="24" 5269 xmlns="http://www.w3.org/2000/svg" 5270 > 5271 <path 5272 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5273 stroke="#9B9B9B" 5274 stroke-linecap="round" 5275 stroke-linejoin="round" 5276 stroke-width="2" 5277 /> 5278 <path 5279 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5280 stroke="#9B9B9B" 5281 stroke-linecap="round" 5282 stroke-linejoin="round" 5283 stroke-width="2" 5284 /> 5285 </svg> 5286 </span> 5287 </a> 5288 </h3> 5289 <div 5290 class="css-11xr3cd" 5291 > 5292 <h4 5293 class=" css-1y1xevk-TextComponent" 5294 data-heading="true" 5295 > 5296 <a 5297 class="css-1y48vg3" 5298 href="#implicit" 5299 > 5300 <span 5301 class="css-s3qkfm" 5302 id="implicit" 5303 /> 5304 <span 5305 class="css-6n7j50" 5306 > 5307 <code 5308 class="css-iwb7ur-TextComponent" 5309 data-text="true" 5310 > 5311 IMPLICIT 5312 </code> 5313 </span> 5314 <span 5315 class="css-13330di" 5316 > 5317 <svg 5318 aria-label="permalink" 5319 class="anchor-icon" 5320 fill="none" 5321 height="24" 5322 viewBox="0 0 24 24" 5323 width="24" 5324 xmlns="http://www.w3.org/2000/svg" 5325 > 5326 <path 5327 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5328 stroke="#9B9B9B" 5329 stroke-linecap="round" 5330 stroke-linejoin="round" 5331 stroke-width="2" 5332 /> 5333 <path 5334 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5335 stroke="#9B9B9B" 5336 stroke-linecap="round" 5337 stroke-linejoin="round" 5338 stroke-width="2" 5339 /> 5340 </svg> 5341 </span> 5342 </a> 5343 </h4> 5344 <code 5345 class="mb-4 css-1h2013i-TextComponent" 5346 data-text="true" 5347 > 5348 AppleAuthenticationOperation.IMPLICIT = 0 5349 </code> 5350 <p 5351 class="mb-4 css-1kfqm4n-TextComponent" 5352 data-text="true" 5353 > 5354 An operation that depends on the particular kind of credential provider. 5355 </p> 5356 </div> 5357 <div 5358 class="css-11xr3cd" 5359 > 5360 <h4 5361 class=" css-1y1xevk-TextComponent" 5362 data-heading="true" 5363 > 5364 <a 5365 class="css-1y48vg3" 5366 href="#login" 5367 > 5368 <span 5369 class="css-s3qkfm" 5370 id="login" 5371 /> 5372 <span 5373 class="css-6n7j50" 5374 > 5375 <code 5376 class="css-iwb7ur-TextComponent" 5377 data-text="true" 5378 > 5379 LOGIN 5380 </code> 5381 </span> 5382 <span 5383 class="css-13330di" 5384 > 5385 <svg 5386 aria-label="permalink" 5387 class="anchor-icon" 5388 fill="none" 5389 height="24" 5390 viewBox="0 0 24 24" 5391 width="24" 5392 xmlns="http://www.w3.org/2000/svg" 5393 > 5394 <path 5395 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5396 stroke="#9B9B9B" 5397 stroke-linecap="round" 5398 stroke-linejoin="round" 5399 stroke-width="2" 5400 /> 5401 <path 5402 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5403 stroke="#9B9B9B" 5404 stroke-linecap="round" 5405 stroke-linejoin="round" 5406 stroke-width="2" 5407 /> 5408 </svg> 5409 </span> 5410 </a> 5411 </h4> 5412 <code 5413 class="mb-4 css-1h2013i-TextComponent" 5414 data-text="true" 5415 > 5416 AppleAuthenticationOperation.LOGIN = 1 5417 </code> 5418 </div> 5419 <div 5420 class="css-11xr3cd" 5421 > 5422 <h4 5423 class=" css-1y1xevk-TextComponent" 5424 data-heading="true" 5425 > 5426 <a 5427 class="css-1y48vg3" 5428 href="#refresh" 5429 > 5430 <span 5431 class="css-s3qkfm" 5432 id="refresh" 5433 /> 5434 <span 5435 class="css-6n7j50" 5436 > 5437 <code 5438 class="css-iwb7ur-TextComponent" 5439 data-text="true" 5440 > 5441 REFRESH 5442 </code> 5443 </span> 5444 <span 5445 class="css-13330di" 5446 > 5447 <svg 5448 aria-label="permalink" 5449 class="anchor-icon" 5450 fill="none" 5451 height="24" 5452 viewBox="0 0 24 24" 5453 width="24" 5454 xmlns="http://www.w3.org/2000/svg" 5455 > 5456 <path 5457 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5458 stroke="#9B9B9B" 5459 stroke-linecap="round" 5460 stroke-linejoin="round" 5461 stroke-width="2" 5462 /> 5463 <path 5464 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5465 stroke="#9B9B9B" 5466 stroke-linecap="round" 5467 stroke-linejoin="round" 5468 stroke-width="2" 5469 /> 5470 </svg> 5471 </span> 5472 </a> 5473 </h4> 5474 <code 5475 class="mb-4 css-1h2013i-TextComponent" 5476 data-text="true" 5477 > 5478 AppleAuthenticationOperation.REFRESH = 2 5479 </code> 5480 </div> 5481 <div 5482 class="css-11xr3cd" 5483 > 5484 <h4 5485 class=" css-1y1xevk-TextComponent" 5486 data-heading="true" 5487 > 5488 <a 5489 class="css-1y48vg3" 5490 href="#logout" 5491 > 5492 <span 5493 class="css-s3qkfm" 5494 id="logout" 5495 /> 5496 <span 5497 class="css-6n7j50" 5498 > 5499 <code 5500 class="css-iwb7ur-TextComponent" 5501 data-text="true" 5502 > 5503 LOGOUT 5504 </code> 5505 </span> 5506 <span 5507 class="css-13330di" 5508 > 5509 <svg 5510 aria-label="permalink" 5511 class="anchor-icon" 5512 fill="none" 5513 height="24" 5514 viewBox="0 0 24 24" 5515 width="24" 5516 xmlns="http://www.w3.org/2000/svg" 5517 > 5518 <path 5519 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5520 stroke="#9B9B9B" 5521 stroke-linecap="round" 5522 stroke-linejoin="round" 5523 stroke-width="2" 5524 /> 5525 <path 5526 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5527 stroke="#9B9B9B" 5528 stroke-linecap="round" 5529 stroke-linejoin="round" 5530 stroke-width="2" 5531 /> 5532 </svg> 5533 </span> 5534 </a> 5535 </h4> 5536 <code 5537 class="mb-4 css-1h2013i-TextComponent" 5538 data-text="true" 5539 > 5540 AppleAuthenticationOperation.LOGOUT = 3 5541 </code> 5542 </div> 5543 </div> 5544 <div 5545 class="css-1gsbrid" 5546 > 5547 <h3 5548 class=" css-wbzzgj-TextComponent" 5549 data-heading="true" 5550 > 5551 <a 5552 class="css-1y48vg3" 5553 href="#appleauthenticationscope" 5554 > 5555 <span 5556 class="css-s3qkfm" 5557 id="appleauthenticationscope" 5558 /> 5559 <span 5560 class="css-6n7j50" 5561 > 5562 <code 5563 class="css-yd3r23-TextComponent" 5564 data-text="true" 5565 > 5566 AppleAuthenticationScope 5567 </code> 5568 </span> 5569 <span 5570 class="css-13330di" 5571 > 5572 <svg 5573 aria-label="permalink" 5574 class="anchor-icon" 5575 fill="none" 5576 height="24" 5577 viewBox="0 0 24 24" 5578 width="24" 5579 xmlns="http://www.w3.org/2000/svg" 5580 > 5581 <path 5582 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5583 stroke="#9B9B9B" 5584 stroke-linecap="round" 5585 stroke-linejoin="round" 5586 stroke-width="2" 5587 /> 5588 <path 5589 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5590 stroke="#9B9B9B" 5591 stroke-linecap="round" 5592 stroke-linejoin="round" 5593 stroke-width="2" 5594 /> 5595 </svg> 5596 </span> 5597 </a> 5598 </h3> 5599 <p 5600 class="mb-4 css-1kfqm4n-TextComponent" 5601 data-text="true" 5602 > 5603 An enum whose values specify scopes you can request when calling 5604 <a 5605 class="css-1na8e0o-A" 5606 href="#appleauthenticationsigninasyncoptions" 5607 > 5608 <code 5609 class="css-1a6y07t-TextComponent" 5610 data-text="true" 5611 > 5612 AppleAuthentication.signInAsync() 5613 </code> 5614 </a> 5615 . 5616 </p> 5617 5618 5619 <blockquote 5620 class="css-zknray-Callout" 5621 data-testid="callout-container" 5622 > 5623 <div 5624 class="css-7jywx8-Callout" 5625 > 5626 <svg 5627 class="icon-sm text-icon-default" 5628 fill="currentColor" 5629 role="img" 5630 viewBox="0 0 24 24" 5631 xmlns="http://www.w3.org/2000/svg" 5632 > 5633 <g 5634 id="info-circle" 5635 > 5636 <path 5637 clip-rule="evenodd" 5638 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 5639 fill-rule="evenodd" 5640 id="Solid" 5641 /> 5642 </g> 5643 </svg> 5644 </div> 5645 <div 5646 class="css-1m74yfi-Callout" 5647 > 5648 5649 5650 <p 5651 class="mb-4 css-1kfqm4n-TextComponent" 5652 data-text="true" 5653 > 5654 Note that it is possible that you will not be granted all of the scopes which you request. 5655You will still need to handle null values for any fields you request. 5656 </p> 5657 5658 5659 </div> 5660 </blockquote> 5661 <blockquote 5662 class="css-zknray-Callout" 5663 data-testid="callout-container" 5664 > 5665 <div 5666 class="css-7jywx8-Callout" 5667 > 5668 <svg 5669 class="icon-sm text-icon-default" 5670 fill="currentColor" 5671 role="img" 5672 viewBox="0 0 24 24" 5673 xmlns="http://www.w3.org/2000/svg" 5674 > 5675 <g 5676 id="info-circle" 5677 > 5678 <path 5679 clip-rule="evenodd" 5680 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 5681 fill-rule="evenodd" 5682 id="Solid" 5683 /> 5684 </g> 5685 </svg> 5686 </div> 5687 <div 5688 class="css-1m74yfi-Callout" 5689 > 5690 <p 5691 class="mb-4 css-1kfqm4n-TextComponent" 5692 data-text="true" 5693 > 5694 <strong 5695 class="css-bvflvn-TextComponent" 5696 > 5697 See: 5698 </strong> 5699 5700 <a 5701 class="css-1na8e0o-A" 5702 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationscope" 5703 rel="noopener noreferrer" 5704 target="_blank" 5705 > 5706 Apple 5707Documentation 5708 </a> 5709 5710for more details. 5711 </p> 5712 </div> 5713 </blockquote> 5714 <div 5715 class="css-11xr3cd" 5716 > 5717 <h4 5718 class=" css-1y1xevk-TextComponent" 5719 data-heading="true" 5720 > 5721 <a 5722 class="css-1y48vg3" 5723 href="#full_name" 5724 > 5725 <span 5726 class="css-s3qkfm" 5727 id="full_name" 5728 /> 5729 <span 5730 class="css-6n7j50" 5731 > 5732 <code 5733 class="css-iwb7ur-TextComponent" 5734 data-text="true" 5735 > 5736 FULL_NAME 5737 </code> 5738 </span> 5739 <span 5740 class="css-13330di" 5741 > 5742 <svg 5743 aria-label="permalink" 5744 class="anchor-icon" 5745 fill="none" 5746 height="24" 5747 viewBox="0 0 24 24" 5748 width="24" 5749 xmlns="http://www.w3.org/2000/svg" 5750 > 5751 <path 5752 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5753 stroke="#9B9B9B" 5754 stroke-linecap="round" 5755 stroke-linejoin="round" 5756 stroke-width="2" 5757 /> 5758 <path 5759 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5760 stroke="#9B9B9B" 5761 stroke-linecap="round" 5762 stroke-linejoin="round" 5763 stroke-width="2" 5764 /> 5765 </svg> 5766 </span> 5767 </a> 5768 </h4> 5769 <code 5770 class="mb-4 css-1h2013i-TextComponent" 5771 data-text="true" 5772 > 5773 AppleAuthenticationScope.FULL_NAME = 0 5774 </code> 5775 </div> 5776 <div 5777 class="css-11xr3cd" 5778 > 5779 <h4 5780 class=" css-1y1xevk-TextComponent" 5781 data-heading="true" 5782 > 5783 <a 5784 class="css-1y48vg3" 5785 href="#email" 5786 > 5787 <span 5788 class="css-s3qkfm" 5789 id="email" 5790 /> 5791 <span 5792 class="css-6n7j50" 5793 > 5794 <code 5795 class="css-iwb7ur-TextComponent" 5796 data-text="true" 5797 > 5798 EMAIL 5799 </code> 5800 </span> 5801 <span 5802 class="css-13330di" 5803 > 5804 <svg 5805 aria-label="permalink" 5806 class="anchor-icon" 5807 fill="none" 5808 height="24" 5809 viewBox="0 0 24 24" 5810 width="24" 5811 xmlns="http://www.w3.org/2000/svg" 5812 > 5813 <path 5814 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5815 stroke="#9B9B9B" 5816 stroke-linecap="round" 5817 stroke-linejoin="round" 5818 stroke-width="2" 5819 /> 5820 <path 5821 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5822 stroke="#9B9B9B" 5823 stroke-linecap="round" 5824 stroke-linejoin="round" 5825 stroke-width="2" 5826 /> 5827 </svg> 5828 </span> 5829 </a> 5830 </h4> 5831 <code 5832 class="mb-4 css-1h2013i-TextComponent" 5833 data-text="true" 5834 > 5835 AppleAuthenticationScope.EMAIL = 1 5836 </code> 5837 </div> 5838 </div> 5839 <div 5840 class="css-1gsbrid" 5841 > 5842 <h3 5843 class=" css-wbzzgj-TextComponent" 5844 data-heading="true" 5845 > 5846 <a 5847 class="css-1y48vg3" 5848 href="#appleauthenticationuserdetectionstatus" 5849 > 5850 <span 5851 class="css-s3qkfm" 5852 id="appleauthenticationuserdetectionstatus" 5853 /> 5854 <span 5855 class="css-6n7j50" 5856 > 5857 <code 5858 class="css-yd3r23-TextComponent" 5859 data-text="true" 5860 > 5861 AppleAuthenticationUserDetectionStatus 5862 </code> 5863 </span> 5864 <span 5865 class="css-13330di" 5866 > 5867 <svg 5868 aria-label="permalink" 5869 class="anchor-icon" 5870 fill="none" 5871 height="24" 5872 viewBox="0 0 24 24" 5873 width="24" 5874 xmlns="http://www.w3.org/2000/svg" 5875 > 5876 <path 5877 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5878 stroke="#9B9B9B" 5879 stroke-linecap="round" 5880 stroke-linejoin="round" 5881 stroke-width="2" 5882 /> 5883 <path 5884 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5885 stroke="#9B9B9B" 5886 stroke-linecap="round" 5887 stroke-linejoin="round" 5888 stroke-width="2" 5889 /> 5890 </svg> 5891 </span> 5892 </a> 5893 </h3> 5894 <p 5895 class="mb-4 css-1kfqm4n-TextComponent" 5896 data-text="true" 5897 > 5898 An enum whose values specify the system's best guess for how likely the current user is a real person. 5899 </p> 5900 <blockquote 5901 class="css-zknray-Callout" 5902 data-testid="callout-container" 5903 > 5904 <div 5905 class="css-7jywx8-Callout" 5906 > 5907 <svg 5908 class="icon-sm text-icon-default" 5909 fill="currentColor" 5910 role="img" 5911 viewBox="0 0 24 24" 5912 xmlns="http://www.w3.org/2000/svg" 5913 > 5914 <g 5915 id="info-circle" 5916 > 5917 <path 5918 clip-rule="evenodd" 5919 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 5920 fill-rule="evenodd" 5921 id="Solid" 5922 /> 5923 </g> 5924 </svg> 5925 </div> 5926 <div 5927 class="css-1m74yfi-Callout" 5928 > 5929 <p 5930 class="mb-4 css-1kfqm4n-TextComponent" 5931 data-text="true" 5932 > 5933 <strong 5934 class="css-bvflvn-TextComponent" 5935 > 5936 See: 5937 </strong> 5938 5939 <a 5940 class="css-1na8e0o-A" 5941 href="https://developer.apple.com/documentation/authenticationservices/asuserdetectionstatus" 5942 rel="noopener noreferrer" 5943 target="_blank" 5944 > 5945 Apple 5946Documentation 5947 </a> 5948 5949for more details. 5950 </p> 5951 </div> 5952 </blockquote> 5953 <div 5954 class="css-11xr3cd" 5955 > 5956 <h4 5957 class=" css-1y1xevk-TextComponent" 5958 data-heading="true" 5959 > 5960 <a 5961 class="css-1y48vg3" 5962 href="#unsupported" 5963 > 5964 <span 5965 class="css-s3qkfm" 5966 id="unsupported" 5967 /> 5968 <span 5969 class="css-6n7j50" 5970 > 5971 <code 5972 class="css-iwb7ur-TextComponent" 5973 data-text="true" 5974 > 5975 UNSUPPORTED 5976 </code> 5977 </span> 5978 <span 5979 class="css-13330di" 5980 > 5981 <svg 5982 aria-label="permalink" 5983 class="anchor-icon" 5984 fill="none" 5985 height="24" 5986 viewBox="0 0 24 24" 5987 width="24" 5988 xmlns="http://www.w3.org/2000/svg" 5989 > 5990 <path 5991 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5992 stroke="#9B9B9B" 5993 stroke-linecap="round" 5994 stroke-linejoin="round" 5995 stroke-width="2" 5996 /> 5997 <path 5998 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5999 stroke="#9B9B9B" 6000 stroke-linecap="round" 6001 stroke-linejoin="round" 6002 stroke-width="2" 6003 /> 6004 </svg> 6005 </span> 6006 </a> 6007 </h4> 6008 <code 6009 class="mb-4 css-1h2013i-TextComponent" 6010 data-text="true" 6011 > 6012 AppleAuthenticationUserDetectionStatus.UNSUPPORTED = 0 6013 </code> 6014 <p 6015 class="mb-4 css-1kfqm4n-TextComponent" 6016 data-text="true" 6017 > 6018 The system does not support this determination and there is no data. 6019 </p> 6020 </div> 6021 <div 6022 class="css-11xr3cd" 6023 > 6024 <h4 6025 class=" css-1y1xevk-TextComponent" 6026 data-heading="true" 6027 > 6028 <a 6029 class="css-1y48vg3" 6030 href="#unknown" 6031 > 6032 <span 6033 class="css-s3qkfm" 6034 id="unknown" 6035 /> 6036 <span 6037 class="css-6n7j50" 6038 > 6039 <code 6040 class="css-iwb7ur-TextComponent" 6041 data-text="true" 6042 > 6043 UNKNOWN 6044 </code> 6045 </span> 6046 <span 6047 class="css-13330di" 6048 > 6049 <svg 6050 aria-label="permalink" 6051 class="anchor-icon" 6052 fill="none" 6053 height="24" 6054 viewBox="0 0 24 24" 6055 width="24" 6056 xmlns="http://www.w3.org/2000/svg" 6057 > 6058 <path 6059 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6060 stroke="#9B9B9B" 6061 stroke-linecap="round" 6062 stroke-linejoin="round" 6063 stroke-width="2" 6064 /> 6065 <path 6066 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6067 stroke="#9B9B9B" 6068 stroke-linecap="round" 6069 stroke-linejoin="round" 6070 stroke-width="2" 6071 /> 6072 </svg> 6073 </span> 6074 </a> 6075 </h4> 6076 <code 6077 class="mb-4 css-1h2013i-TextComponent" 6078 data-text="true" 6079 > 6080 AppleAuthenticationUserDetectionStatus.UNKNOWN = 1 6081 </code> 6082 <p 6083 class="mb-4 css-1kfqm4n-TextComponent" 6084 data-text="true" 6085 > 6086 The system has not determined whether the user might be a real person. 6087 </p> 6088 </div> 6089 <div 6090 class="css-11xr3cd" 6091 > 6092 <h4 6093 class=" css-1y1xevk-TextComponent" 6094 data-heading="true" 6095 > 6096 <a 6097 class="css-1y48vg3" 6098 href="#likely_real" 6099 > 6100 <span 6101 class="css-s3qkfm" 6102 id="likely_real" 6103 /> 6104 <span 6105 class="css-6n7j50" 6106 > 6107 <code 6108 class="css-iwb7ur-TextComponent" 6109 data-text="true" 6110 > 6111 LIKELY_REAL 6112 </code> 6113 </span> 6114 <span 6115 class="css-13330di" 6116 > 6117 <svg 6118 aria-label="permalink" 6119 class="anchor-icon" 6120 fill="none" 6121 height="24" 6122 viewBox="0 0 24 24" 6123 width="24" 6124 xmlns="http://www.w3.org/2000/svg" 6125 > 6126 <path 6127 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6128 stroke="#9B9B9B" 6129 stroke-linecap="round" 6130 stroke-linejoin="round" 6131 stroke-width="2" 6132 /> 6133 <path 6134 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6135 stroke="#9B9B9B" 6136 stroke-linecap="round" 6137 stroke-linejoin="round" 6138 stroke-width="2" 6139 /> 6140 </svg> 6141 </span> 6142 </a> 6143 </h4> 6144 <code 6145 class="mb-4 css-1h2013i-TextComponent" 6146 data-text="true" 6147 > 6148 AppleAuthenticationUserDetectionStatus.LIKELY_REAL = 2 6149 </code> 6150 <p 6151 class="mb-4 css-1kfqm4n-TextComponent" 6152 data-text="true" 6153 > 6154 The user appears to be a real person. 6155 </p> 6156 </div> 6157 </div> 6158</div> 6159`; 6160 6161exports[`APISection expo-barcode-scanner 1`] = ` 6162<div> 6163 <h2 6164 class=" css-1qsxz84-TextComponent" 6165 data-heading="true" 6166 > 6167 <a 6168 class="css-1y48vg3" 6169 href="#component" 6170 > 6171 <span 6172 class="css-s3qkfm" 6173 id="component" 6174 /> 6175 <span 6176 class="css-6n7j50" 6177 > 6178 Component 6179 </span> 6180 <span 6181 class="css-13330di" 6182 > 6183 <svg 6184 aria-label="permalink" 6185 class="anchor-icon" 6186 fill="none" 6187 height="24" 6188 viewBox="0 0 24 24" 6189 width="24" 6190 xmlns="http://www.w3.org/2000/svg" 6191 > 6192 <path 6193 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6194 stroke="#9B9B9B" 6195 stroke-linecap="round" 6196 stroke-linejoin="round" 6197 stroke-width="2" 6198 /> 6199 <path 6200 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6201 stroke="#9B9B9B" 6202 stroke-linecap="round" 6203 stroke-linejoin="round" 6204 stroke-width="2" 6205 /> 6206 </svg> 6207 </span> 6208 </a> 6209 </h2> 6210 <div 6211 class="css-1fultt1" 6212 > 6213 <h3 6214 class=" css-wbzzgj-TextComponent" 6215 data-heading="true" 6216 > 6217 <a 6218 class="css-1y48vg3" 6219 href="#barcodescanner" 6220 > 6221 <span 6222 class="css-s3qkfm" 6223 id="barcodescanner" 6224 /> 6225 <span 6226 class="css-6n7j50" 6227 > 6228 <code 6229 class="css-yd3r23-TextComponent" 6230 data-text="true" 6231 > 6232 BarCodeScanner 6233 </code> 6234 </span> 6235 <span 6236 class="css-13330di" 6237 > 6238 <svg 6239 aria-label="permalink" 6240 class="anchor-icon" 6241 fill="none" 6242 height="24" 6243 viewBox="0 0 24 24" 6244 width="24" 6245 xmlns="http://www.w3.org/2000/svg" 6246 > 6247 <path 6248 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6249 stroke="#9B9B9B" 6250 stroke-linecap="round" 6251 stroke-linejoin="round" 6252 stroke-width="2" 6253 /> 6254 <path 6255 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6256 stroke="#9B9B9B" 6257 stroke-linecap="round" 6258 stroke-linejoin="round" 6259 stroke-width="2" 6260 /> 6261 </svg> 6262 </span> 6263 </a> 6264 </h3> 6265 <p 6266 class="mb-4 css-1kfqm4n-TextComponent" 6267 data-text="true" 6268 > 6269 <strong 6270 class="css-bvflvn-TextComponent" 6271 > 6272 Type: 6273 </strong> 6274 6275 <code 6276 class="css-iwb7ur-TextComponent" 6277 data-text="true" 6278 > 6279 React. 6280 Component 6281 < 6282 <span> 6283 <a 6284 class="css-1na8e0o-A" 6285 href="#barcodescannerprops" 6286 > 6287 BarCodeScannerProps 6288 </a> 6289 </span> 6290 > 6291 </code> 6292 </p> 6293 <h2 6294 class=" css-1qsxz84-TextComponent" 6295 data-heading="true" 6296 > 6297 <a 6298 class="css-1y48vg3" 6299 href="#props" 6300 > 6301 <span 6302 class="css-s3qkfm" 6303 id="props" 6304 /> 6305 <span 6306 class="css-6n7j50" 6307 > 6308 Props 6309 </span> 6310 <span 6311 class="css-13330di" 6312 > 6313 <svg 6314 aria-label="permalink" 6315 class="anchor-icon" 6316 fill="none" 6317 height="24" 6318 viewBox="0 0 24 24" 6319 width="24" 6320 xmlns="http://www.w3.org/2000/svg" 6321 > 6322 <path 6323 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6324 stroke="#9B9B9B" 6325 stroke-linecap="round" 6326 stroke-linejoin="round" 6327 stroke-width="2" 6328 /> 6329 <path 6330 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6331 stroke="#9B9B9B" 6332 stroke-linecap="round" 6333 stroke-linejoin="round" 6334 stroke-width="2" 6335 /> 6336 </svg> 6337 </span> 6338 </a> 6339 </h2> 6340 <div> 6341 <div 6342 class="css-11xr3cd" 6343 > 6344 <h3 6345 class=" css-wbzzgj-TextComponent" 6346 data-heading="true" 6347 > 6348 <a 6349 class="css-1y48vg3" 6350 href="#barcodetypes" 6351 > 6352 <span 6353 class="css-s3qkfm" 6354 id="barcodetypes" 6355 /> 6356 <span 6357 class="css-6n7j50" 6358 > 6359 <code 6360 class="css-s0csg4-TextComponent" 6361 data-text="true" 6362 > 6363 barCodeTypes 6364 </code> 6365 </span> 6366 <span 6367 class="css-13330di" 6368 > 6369 <svg 6370 aria-label="permalink" 6371 class="anchor-icon" 6372 fill="none" 6373 height="24" 6374 viewBox="0 0 24 24" 6375 width="24" 6376 xmlns="http://www.w3.org/2000/svg" 6377 > 6378 <path 6379 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6380 stroke="#9B9B9B" 6381 stroke-linecap="round" 6382 stroke-linejoin="round" 6383 stroke-width="2" 6384 /> 6385 <path 6386 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6387 stroke="#9B9B9B" 6388 stroke-linecap="round" 6389 stroke-linejoin="round" 6390 stroke-width="2" 6391 /> 6392 </svg> 6393 </span> 6394 </a> 6395 </h3> 6396 <p 6397 class="mb-4 css-1kfqm4n-TextComponent" 6398 data-text="true" 6399 > 6400 <span 6401 class="css-1lk0cux" 6402 > 6403 Optional • 6404 </span> 6405 <span 6406 class="css-1lk0cux" 6407 > 6408 Type: 6409 </span> 6410 6411 <code 6412 class="css-iwb7ur-TextComponent" 6413 data-text="true" 6414 > 6415 string[] 6416 </code> 6417 </p> 6418 <p 6419 class="mb-4 css-1kfqm4n-TextComponent" 6420 data-text="true" 6421 > 6422 An array of bar code types. Usage: 6423 <code 6424 class="css-1a6y07t-TextComponent" 6425 data-text="true" 6426 > 6427 BarCodeScanner.Constants.BarCodeType.<codeType> 6428 </code> 6429 where 6430 6431 <code 6432 class="css-1a6y07t-TextComponent" 6433 data-text="true" 6434 > 6435 codeType 6436 </code> 6437 is one of these 6438 <a 6439 class="css-1na8e0o-A" 6440 href="#supported-formats" 6441 > 6442 listed above 6443 </a> 6444 . Defaults to all supported bar 6445code types. It is recommended to provide only the bar code formats you expect to scan to 6446minimize battery usage. 6447 </p> 6448 6449 6450 <p 6451 class="mb-4 css-1kfqm4n-TextComponent" 6452 data-text="true" 6453 > 6454 For example: 6455 <code 6456 class="css-1a6y07t-TextComponent" 6457 data-text="true" 6458 > 6459 barCodeTypes={[BarCodeScanner.Constants.BarCodeType.qr]} 6460 </code> 6461 . 6462 </p> 6463 </div> 6464 <div 6465 class="css-11xr3cd" 6466 > 6467 <h3 6468 class=" css-wbzzgj-TextComponent" 6469 data-heading="true" 6470 > 6471 <a 6472 class="css-1y48vg3" 6473 href="#onbarcodescanned" 6474 > 6475 <span 6476 class="css-s3qkfm" 6477 id="onbarcodescanned" 6478 /> 6479 <span 6480 class="css-6n7j50" 6481 > 6482 <code 6483 class="css-s0csg4-TextComponent" 6484 data-text="true" 6485 > 6486 onBarCodeScanned 6487 </code> 6488 </span> 6489 <span 6490 class="css-13330di" 6491 > 6492 <svg 6493 aria-label="permalink" 6494 class="anchor-icon" 6495 fill="none" 6496 height="24" 6497 viewBox="0 0 24 24" 6498 width="24" 6499 xmlns="http://www.w3.org/2000/svg" 6500 > 6501 <path 6502 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6503 stroke="#9B9B9B" 6504 stroke-linecap="round" 6505 stroke-linejoin="round" 6506 stroke-width="2" 6507 /> 6508 <path 6509 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6510 stroke="#9B9B9B" 6511 stroke-linecap="round" 6512 stroke-linejoin="round" 6513 stroke-width="2" 6514 /> 6515 </svg> 6516 </span> 6517 </a> 6518 </h3> 6519 <p 6520 class="mb-4 css-1kfqm4n-TextComponent" 6521 data-text="true" 6522 > 6523 <span 6524 class="css-1lk0cux" 6525 > 6526 Optional • 6527 </span> 6528 <span 6529 class="css-1lk0cux" 6530 > 6531 Type: 6532 </span> 6533 6534 <code 6535 class="css-iwb7ur-TextComponent" 6536 data-text="true" 6537 > 6538 <a 6539 class="css-1na8e0o-A" 6540 href="#barcodescannedcallback" 6541 > 6542 BarCodeScannedCallback 6543 </a> 6544 </code> 6545 </p> 6546 <p 6547 class="mb-4 css-1kfqm4n-TextComponent" 6548 data-text="true" 6549 > 6550 A callback that is invoked when a bar code has been successfully scanned. The callback is 6551provided with an 6552 <a 6553 class="css-1na8e0o-A" 6554 href="#barcodescannerresult" 6555 > 6556 BarCodeScannerResult 6557 </a> 6558 . 6559 </p> 6560 6561 6562 <blockquote 6563 class="css-zknray-Callout" 6564 data-testid="callout-container" 6565 > 6566 <div 6567 class="css-7jywx8-Callout" 6568 > 6569 <svg 6570 class="icon-sm text-icon-default" 6571 fill="currentColor" 6572 role="img" 6573 viewBox="0 0 24 24" 6574 xmlns="http://www.w3.org/2000/svg" 6575 > 6576 <g 6577 id="info-circle" 6578 > 6579 <path 6580 clip-rule="evenodd" 6581 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 6582 fill-rule="evenodd" 6583 id="Solid" 6584 /> 6585 </g> 6586 </svg> 6587 </div> 6588 <div 6589 class="css-1m74yfi-Callout" 6590 > 6591 6592 6593 <p 6594 class="mb-4 css-1kfqm4n-TextComponent" 6595 data-text="true" 6596 > 6597 <strong 6598 class="css-bvflvn-TextComponent" 6599 > 6600 Note: 6601 </strong> 6602 Passing 6603 <code 6604 class="css-1a6y07t-TextComponent" 6605 data-text="true" 6606 > 6607 undefined 6608 </code> 6609 to the 6610 <code 6611 class="css-1a6y07t-TextComponent" 6612 data-text="true" 6613 > 6614 onBarCodeScanned 6615 </code> 6616 prop will result in no scanning. This 6617can be used to effectively "pause" the scanner so that it doesn't continually scan even after 6618data has been retrieved. 6619 </p> 6620 6621 6622 </div> 6623 </blockquote> 6624 </div> 6625 <div 6626 class="css-11xr3cd" 6627 > 6628 <h3 6629 class=" css-wbzzgj-TextComponent" 6630 data-heading="true" 6631 > 6632 <a 6633 class="css-1y48vg3" 6634 href="#type" 6635 > 6636 <span 6637 class="css-s3qkfm" 6638 id="type" 6639 /> 6640 <span 6641 class="css-6n7j50" 6642 > 6643 <code 6644 class="css-s0csg4-TextComponent" 6645 data-text="true" 6646 > 6647 type 6648 </code> 6649 </span> 6650 <span 6651 class="css-13330di" 6652 > 6653 <svg 6654 aria-label="permalink" 6655 class="anchor-icon" 6656 fill="none" 6657 height="24" 6658 viewBox="0 0 24 24" 6659 width="24" 6660 xmlns="http://www.w3.org/2000/svg" 6661 > 6662 <path 6663 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6664 stroke="#9B9B9B" 6665 stroke-linecap="round" 6666 stroke-linejoin="round" 6667 stroke-width="2" 6668 /> 6669 <path 6670 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6671 stroke="#9B9B9B" 6672 stroke-linecap="round" 6673 stroke-linejoin="round" 6674 stroke-width="2" 6675 /> 6676 </svg> 6677 </span> 6678 </a> 6679 </h3> 6680 <p 6681 class="mb-4 css-1kfqm4n-TextComponent" 6682 data-text="true" 6683 > 6684 <span 6685 class="css-1lk0cux" 6686 > 6687 Optional • 6688 </span> 6689 <span 6690 class="css-1lk0cux" 6691 > 6692 Type: 6693 </span> 6694 6695 <code 6696 class="css-iwb7ur-TextComponent" 6697 data-text="true" 6698 > 6699 <span> 6700 'front' 6701 | 6702 </span> 6703 <span> 6704 'back' 6705 | 6706 </span> 6707 <span> 6708 number 6709 </span> 6710 </code> 6711 <span> 6712 <span 6713 class="css-1lk0cux" 6714 > 6715 • Default: 6716 </span> 6717 6718 <code 6719 class="css-iwb7ur-TextComponent" 6720 data-text="true" 6721 > 6722 Type.back 6723 </code> 6724 </span> 6725 </p> 6726 <p 6727 class="mb-4 css-1kfqm4n-TextComponent" 6728 data-text="true" 6729 > 6730 Camera facing. Use one of 6731 <code 6732 class="css-1a6y07t-TextComponent" 6733 data-text="true" 6734 > 6735 BarCodeScanner.Constants.Type 6736 </code> 6737 . Use either 6738 <code 6739 class="css-1a6y07t-TextComponent" 6740 data-text="true" 6741 > 6742 Type.front 6743 </code> 6744 or 6745 <code 6746 class="css-1a6y07t-TextComponent" 6747 data-text="true" 6748 > 6749 Type.back 6750 </code> 6751 . 6752Same as 6753 <code 6754 class="css-1a6y07t-TextComponent" 6755 data-text="true" 6756 > 6757 Camera.Constants.Type 6758 </code> 6759 . 6760 </p> 6761 </div> 6762 <h3 6763 class=" css-wbzzgj-TextComponent" 6764 data-heading="true" 6765 > 6766 <a 6767 class="css-1y48vg3" 6768 href="#inherited-props" 6769 > 6770 <span 6771 class="css-s3qkfm" 6772 id="inherited-props" 6773 /> 6774 <span 6775 class="css-6n7j50" 6776 > 6777 Inherited Props 6778 </span> 6779 <span 6780 class="css-13330di" 6781 > 6782 <svg 6783 aria-label="permalink" 6784 class="anchor-icon" 6785 fill="none" 6786 height="24" 6787 viewBox="0 0 24 24" 6788 width="24" 6789 xmlns="http://www.w3.org/2000/svg" 6790 > 6791 <path 6792 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6793 stroke="#9B9B9B" 6794 stroke-linecap="round" 6795 stroke-linejoin="round" 6796 stroke-width="2" 6797 /> 6798 <path 6799 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6800 stroke="#9B9B9B" 6801 stroke-linecap="round" 6802 stroke-linejoin="round" 6803 stroke-width="2" 6804 /> 6805 </svg> 6806 </span> 6807 </a> 6808 </h3> 6809 <ul 6810 class="css-118jp6n-TextComponent" 6811 > 6812 <li 6813 class="css-1hxzfrf-TextComponent" 6814 data-text="true" 6815 > 6816 <code 6817 class="css-iwb7ur-TextComponent" 6818 data-text="true" 6819 > 6820 <a 6821 class="css-1na8e0o-A" 6822 href="https://reactnative.dev/docs/view#props" 6823 rel="noopener noreferrer" 6824 target="_blank" 6825 > 6826 ViewProps 6827 </a> 6828 </code> 6829 </li> 6830 </ul> 6831 </div> 6832 </div> 6833 <h2 6834 class=" css-1qsxz84-TextComponent" 6835 data-heading="true" 6836 > 6837 <a 6838 class="css-1y48vg3" 6839 href="#hooks" 6840 > 6841 <span 6842 class="css-s3qkfm" 6843 id="hooks" 6844 /> 6845 <span 6846 class="css-6n7j50" 6847 > 6848 Hooks 6849 </span> 6850 <span 6851 class="css-13330di" 6852 > 6853 <svg 6854 aria-label="permalink" 6855 class="anchor-icon" 6856 fill="none" 6857 height="24" 6858 viewBox="0 0 24 24" 6859 width="24" 6860 xmlns="http://www.w3.org/2000/svg" 6861 > 6862 <path 6863 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6864 stroke="#9B9B9B" 6865 stroke-linecap="round" 6866 stroke-linejoin="round" 6867 stroke-width="2" 6868 /> 6869 <path 6870 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6871 stroke="#9B9B9B" 6872 stroke-linecap="round" 6873 stroke-linejoin="round" 6874 stroke-width="2" 6875 /> 6876 </svg> 6877 </span> 6878 </a> 6879 </h2> 6880 <div 6881 class="css-11xr3cd" 6882 > 6883 <h3 6884 class=" css-wbzzgj-TextComponent" 6885 data-heading="true" 6886 > 6887 <a 6888 class="css-1y48vg3" 6889 href="#usepermissionsoptions" 6890 > 6891 <span 6892 class="css-s3qkfm" 6893 id="usepermissionsoptions" 6894 /> 6895 <span 6896 class="css-6n7j50" 6897 > 6898 <code 6899 class="css-s0csg4-TextComponent" 6900 data-text="true" 6901 > 6902 usePermissions(options) 6903 </code> 6904 </span> 6905 <span 6906 class="css-13330di" 6907 > 6908 <svg 6909 aria-label="permalink" 6910 class="anchor-icon" 6911 fill="none" 6912 height="24" 6913 viewBox="0 0 24 24" 6914 width="24" 6915 xmlns="http://www.w3.org/2000/svg" 6916 > 6917 <path 6918 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6919 stroke="#9B9B9B" 6920 stroke-linecap="round" 6921 stroke-linejoin="round" 6922 stroke-width="2" 6923 /> 6924 <path 6925 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6926 stroke="#9B9B9B" 6927 stroke-linecap="round" 6928 stroke-linejoin="round" 6929 stroke-width="2" 6930 /> 6931 </svg> 6932 </span> 6933 </a> 6934 </h3> 6935 <div 6936 class="css-1uyflf8-Table" 6937 > 6938 <table 6939 class="css-q84cm9-Table" 6940 > 6941 <thead 6942 class="bg-subtle border-b border-b-default border-solid" 6943 > 6944 <tr 6945 class="css-190f936-Row" 6946 > 6947 <th 6948 class="css-1uwgm7m-HeaderCell" 6949 > 6950 Name 6951 </th> 6952 <th 6953 class="css-1uwgm7m-HeaderCell" 6954 > 6955 Type 6956 </th> 6957 <th 6958 class="css-1uwgm7m-HeaderCell" 6959 > 6960 Description 6961 </th> 6962 </tr> 6963 </thead> 6964 <tbody> 6965 <tr 6966 class="css-190f936-Row" 6967 > 6968 <td 6969 class="css-zstkv9-Cell" 6970 > 6971 <strong 6972 class="css-bvflvn-TextComponent" 6973 > 6974 options 6975 </strong> 6976 <br /> 6977 <span 6978 class="css-1g95u6x" 6979 > 6980 (optional) 6981 </span> 6982 </td> 6983 <td 6984 class="css-zstkv9-Cell" 6985 > 6986 <code 6987 class="css-iwb7ur-TextComponent" 6988 data-text="true" 6989 > 6990 <a 6991 class="css-1na8e0o-A" 6992 href="#permissionhookoptions" 6993 > 6994 PermissionHookOptions 6995 </a> 6996 < 6997 <span> 6998 object 6999 </span> 7000 > 7001 </code> 7002 </td> 7003 <td 7004 class="css-zstkv9-Cell" 7005 > 7006 - 7007 </td> 7008 </tr> 7009 </tbody> 7010 </table> 7011 </div> 7012 <br /> 7013 <p 7014 class="mb-4 css-1kfqm4n-TextComponent" 7015 data-text="true" 7016 > 7017 Check or request permissions for the barcode scanner. 7018This uses both 7019 <code 7020 class="css-1a6y07t-TextComponent" 7021 data-text="true" 7022 > 7023 requestPermissionAsync 7024 </code> 7025 and 7026 <code 7027 class="css-1a6y07t-TextComponent" 7028 data-text="true" 7029 > 7030 getPermissionsAsync 7031 </code> 7032 to interact with the permissions. 7033 </p> 7034 <p 7035 class="css-1eksndl-BoxSectionHeader" 7036 data-text="true" 7037 > 7038 Example 7039 </p> 7040 <pre> 7041 <pre 7042 class="css-1tmj8fm" 7043 data-text="true" 7044 > 7045 <code 7046 class="css-1r5zesl" 7047 > 7048 <span 7049 class="token keyword" 7050 > 7051 const 7052 </span> 7053 7054 <span 7055 class="token punctuation" 7056 > 7057 [ 7058 </span> 7059 permissionResponse 7060 <span 7061 class="token punctuation" 7062 > 7063 , 7064 </span> 7065 requestPermission 7066 <span 7067 class="token punctuation" 7068 > 7069 ] 7070 </span> 7071 7072 <span 7073 class="token operator" 7074 > 7075 = 7076 </span> 7077 7078 <span 7079 class="token maybe-class-name" 7080 > 7081 BarCodeScanner 7082 </span> 7083 <span 7084 class="token punctuation" 7085 > 7086 . 7087 </span> 7088 <span 7089 class="token method function property-access" 7090 > 7091 usePermissions 7092 </span> 7093 <span 7094 class="token punctuation" 7095 > 7096 ( 7097 </span> 7098 <span 7099 class="token punctuation" 7100 > 7101 ) 7102 </span> 7103 <span 7104 class="token punctuation" 7105 > 7106 ; 7107 </span> 7108 7109 7110 </code> 7111 </pre> 7112 </pre> 7113 <p 7114 class="css-1eksndl-BoxSectionHeader" 7115 data-text="true" 7116 > 7117 Returns 7118 </p> 7119 <ul 7120 class="!list-none !ml-0 css-118jp6n-TextComponent" 7121 > 7122 <li 7123 class="css-1hxzfrf-TextComponent" 7124 data-text="true" 7125 > 7126 <svg 7127 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 7128 fill="none" 7129 role="img" 7130 stroke="currentColor" 7131 viewBox="0 0 24 24" 7132 xmlns="http://www.w3.org/2000/svg" 7133 > 7134 <g 7135 id="corner-down-right" 7136 > 7137 <path 7138 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 7139 id="Icon" 7140 stroke-linecap="round" 7141 stroke-linejoin="round" 7142 stroke-width="2" 7143 /> 7144 </g> 7145 </svg> 7146 <code 7147 class="css-iwb7ur-TextComponent" 7148 data-text="true" 7149 > 7150 [ 7151 <span> 7152 <span> 7153 null 7154 | 7155 </span> 7156 <span> 7157 <a 7158 class="css-1na8e0o-A" 7159 href="#permissionresponse" 7160 > 7161 PermissionResponse 7162 </a> 7163 </span> 7164 , 7165 </span> 7166 <span> 7167 RequestPermissionMethod 7168 < 7169 <span> 7170 <a 7171 class="css-1na8e0o-A" 7172 href="#permissionresponse" 7173 > 7174 PermissionResponse 7175 </a> 7176 </span> 7177 > 7178 , 7179 </span> 7180 <span> 7181 GetPermissionMethod 7182 < 7183 <span> 7184 <a 7185 class="css-1na8e0o-A" 7186 href="#permissionresponse" 7187 > 7188 PermissionResponse 7189 </a> 7190 </span> 7191 > 7192 </span> 7193 ] 7194 </code> 7195 </li> 7196 </ul> 7197 <br /> 7198 </div> 7199 <h2 7200 class=" css-1qsxz84-TextComponent" 7201 data-heading="true" 7202 > 7203 <a 7204 class="css-1y48vg3" 7205 href="#methods" 7206 > 7207 <span 7208 class="css-s3qkfm" 7209 id="methods" 7210 /> 7211 <span 7212 class="css-6n7j50" 7213 > 7214 Methods 7215 </span> 7216 <span 7217 class="css-13330di" 7218 > 7219 <svg 7220 aria-label="permalink" 7221 class="anchor-icon" 7222 fill="none" 7223 height="24" 7224 viewBox="0 0 24 24" 7225 width="24" 7226 xmlns="http://www.w3.org/2000/svg" 7227 > 7228 <path 7229 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7230 stroke="#9B9B9B" 7231 stroke-linecap="round" 7232 stroke-linejoin="round" 7233 stroke-width="2" 7234 /> 7235 <path 7236 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7237 stroke="#9B9B9B" 7238 stroke-linecap="round" 7239 stroke-linejoin="round" 7240 stroke-width="2" 7241 /> 7242 </svg> 7243 </span> 7244 </a> 7245 </h2> 7246 <div 7247 class="css-11xr3cd" 7248 > 7249 <h3 7250 class=" css-wbzzgj-TextComponent" 7251 data-heading="true" 7252 > 7253 <a 7254 class="css-1y48vg3" 7255 href="#barcodescannergetpermissionsasync" 7256 > 7257 <span 7258 class="css-s3qkfm" 7259 id="barcodescannergetpermissionsasync" 7260 /> 7261 <span 7262 class="css-6n7j50" 7263 > 7264 <code 7265 class="css-s0csg4-TextComponent" 7266 data-text="true" 7267 > 7268 BarCodeScanner.getPermissionsAsync() 7269 </code> 7270 </span> 7271 <span 7272 class="css-13330di" 7273 > 7274 <svg 7275 aria-label="permalink" 7276 class="anchor-icon" 7277 fill="none" 7278 height="24" 7279 viewBox="0 0 24 24" 7280 width="24" 7281 xmlns="http://www.w3.org/2000/svg" 7282 > 7283 <path 7284 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7285 stroke="#9B9B9B" 7286 stroke-linecap="round" 7287 stroke-linejoin="round" 7288 stroke-width="2" 7289 /> 7290 <path 7291 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7292 stroke="#9B9B9B" 7293 stroke-linecap="round" 7294 stroke-linejoin="round" 7295 stroke-width="2" 7296 /> 7297 </svg> 7298 </span> 7299 </a> 7300 </h3> 7301 <p 7302 class="mb-4 css-1kfqm4n-TextComponent" 7303 data-text="true" 7304 > 7305 Checks user's permissions for accessing the camera. 7306 </p> 7307 <p 7308 class="css-1eksndl-BoxSectionHeader" 7309 data-text="true" 7310 > 7311 Returns 7312 </p> 7313 <ul 7314 class="!list-none !ml-0 css-118jp6n-TextComponent" 7315 > 7316 <li 7317 class="css-1hxzfrf-TextComponent" 7318 data-text="true" 7319 > 7320 <svg 7321 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 7322 fill="none" 7323 role="img" 7324 stroke="currentColor" 7325 viewBox="0 0 24 24" 7326 xmlns="http://www.w3.org/2000/svg" 7327 > 7328 <g 7329 id="corner-down-right" 7330 > 7331 <path 7332 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 7333 id="Icon" 7334 stroke-linecap="round" 7335 stroke-linejoin="round" 7336 stroke-width="2" 7337 /> 7338 </g> 7339 </svg> 7340 <code 7341 class="css-iwb7ur-TextComponent" 7342 data-text="true" 7343 > 7344 <a 7345 class="css-1na8e0o-A" 7346 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 7347 rel="noopener noreferrer" 7348 target="_blank" 7349 > 7350 Promise 7351 </a> 7352 < 7353 <span> 7354 <a 7355 class="css-1na8e0o-A" 7356 href="#permissionresponse" 7357 > 7358 PermissionResponse 7359 </a> 7360 </span> 7361 > 7362 </code> 7363 </li> 7364 </ul> 7365 <br /> 7366 <p 7367 class="mb-4 css-1kfqm4n-TextComponent" 7368 data-text="true" 7369 > 7370 Return a promise that fulfills to an object of type 7371 <a 7372 class="css-1na8e0o-A" 7373 href="#permissionresponse" 7374 > 7375 <code 7376 class="css-1a6y07t-TextComponent" 7377 data-text="true" 7378 > 7379 PermissionResponse 7380 </code> 7381 </a> 7382 . 7383 </p> 7384 </div> 7385 <div 7386 class="css-11xr3cd" 7387 > 7388 <h3 7389 class=" css-wbzzgj-TextComponent" 7390 data-heading="true" 7391 > 7392 <a 7393 class="css-1y48vg3" 7394 href="#barcodescannerrequestpermissionsasync" 7395 > 7396 <span 7397 class="css-s3qkfm" 7398 id="barcodescannerrequestpermissionsasync" 7399 /> 7400 <span 7401 class="css-6n7j50" 7402 > 7403 <code 7404 class="css-s0csg4-TextComponent" 7405 data-text="true" 7406 > 7407 BarCodeScanner.requestPermissionsAsync() 7408 </code> 7409 </span> 7410 <span 7411 class="css-13330di" 7412 > 7413 <svg 7414 aria-label="permalink" 7415 class="anchor-icon" 7416 fill="none" 7417 height="24" 7418 viewBox="0 0 24 24" 7419 width="24" 7420 xmlns="http://www.w3.org/2000/svg" 7421 > 7422 <path 7423 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7424 stroke="#9B9B9B" 7425 stroke-linecap="round" 7426 stroke-linejoin="round" 7427 stroke-width="2" 7428 /> 7429 <path 7430 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7431 stroke="#9B9B9B" 7432 stroke-linecap="round" 7433 stroke-linejoin="round" 7434 stroke-width="2" 7435 /> 7436 </svg> 7437 </span> 7438 </a> 7439 </h3> 7440 <p 7441 class="mb-4 css-1kfqm4n-TextComponent" 7442 data-text="true" 7443 > 7444 Asks the user to grant permissions for accessing the camera. 7445 </p> 7446 7447 7448 <p 7449 class="mb-4 css-1kfqm4n-TextComponent" 7450 data-text="true" 7451 > 7452 On iOS this will require apps to specify the 7453 <code 7454 class="css-1a6y07t-TextComponent" 7455 data-text="true" 7456 > 7457 NSCameraUsageDescription 7458 </code> 7459 entry in the 7460 <code 7461 class="css-1a6y07t-TextComponent" 7462 data-text="true" 7463 > 7464 Info.plist 7465 </code> 7466 . 7467 </p> 7468 <p 7469 class="css-1eksndl-BoxSectionHeader" 7470 data-text="true" 7471 > 7472 Returns 7473 </p> 7474 <ul 7475 class="!list-none !ml-0 css-118jp6n-TextComponent" 7476 > 7477 <li 7478 class="css-1hxzfrf-TextComponent" 7479 data-text="true" 7480 > 7481 <svg 7482 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 7483 fill="none" 7484 role="img" 7485 stroke="currentColor" 7486 viewBox="0 0 24 24" 7487 xmlns="http://www.w3.org/2000/svg" 7488 > 7489 <g 7490 id="corner-down-right" 7491 > 7492 <path 7493 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 7494 id="Icon" 7495 stroke-linecap="round" 7496 stroke-linejoin="round" 7497 stroke-width="2" 7498 /> 7499 </g> 7500 </svg> 7501 <code 7502 class="css-iwb7ur-TextComponent" 7503 data-text="true" 7504 > 7505 <a 7506 class="css-1na8e0o-A" 7507 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 7508 rel="noopener noreferrer" 7509 target="_blank" 7510 > 7511 Promise 7512 </a> 7513 < 7514 <span> 7515 <a 7516 class="css-1na8e0o-A" 7517 href="#permissionresponse" 7518 > 7519 PermissionResponse 7520 </a> 7521 </span> 7522 > 7523 </code> 7524 </li> 7525 </ul> 7526 <br /> 7527 <p 7528 class="mb-4 css-1kfqm4n-TextComponent" 7529 data-text="true" 7530 > 7531 Return a promise that fulfills to an object of type 7532 <a 7533 class="css-1na8e0o-A" 7534 href="#permissionresponse" 7535 > 7536 <code 7537 class="css-1a6y07t-TextComponent" 7538 data-text="true" 7539 > 7540 PermissionResponse 7541 </code> 7542 </a> 7543 . 7544 </p> 7545 </div> 7546 <div 7547 class="css-11xr3cd" 7548 > 7549 <h3 7550 class=" css-wbzzgj-TextComponent" 7551 data-heading="true" 7552 > 7553 <a 7554 class="css-1y48vg3" 7555 href="#barcodescannerscanfromurlasyncurl-barcodetypes" 7556 > 7557 <span 7558 class="css-s3qkfm" 7559 id="barcodescannerscanfromurlasyncurl-barcodetypes" 7560 /> 7561 <span 7562 class="css-6n7j50" 7563 > 7564 <code 7565 class="css-s0csg4-TextComponent" 7566 data-text="true" 7567 > 7568 BarCodeScanner.scanFromURLAsync(url, barCodeTypes) 7569 </code> 7570 </span> 7571 <span 7572 class="css-13330di" 7573 > 7574 <svg 7575 aria-label="permalink" 7576 class="anchor-icon" 7577 fill="none" 7578 height="24" 7579 viewBox="0 0 24 24" 7580 width="24" 7581 xmlns="http://www.w3.org/2000/svg" 7582 > 7583 <path 7584 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7585 stroke="#9B9B9B" 7586 stroke-linecap="round" 7587 stroke-linejoin="round" 7588 stroke-width="2" 7589 /> 7590 <path 7591 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7592 stroke="#9B9B9B" 7593 stroke-linecap="round" 7594 stroke-linejoin="round" 7595 stroke-width="2" 7596 /> 7597 </svg> 7598 </span> 7599 </a> 7600 </h3> 7601 <div 7602 class="css-1uyflf8-Table" 7603 > 7604 <table 7605 class="css-q84cm9-Table" 7606 > 7607 <thead 7608 class="bg-subtle border-b border-b-default border-solid" 7609 > 7610 <tr 7611 class="css-190f936-Row" 7612 > 7613 <th 7614 class="css-1uwgm7m-HeaderCell" 7615 > 7616 Name 7617 </th> 7618 <th 7619 class="css-1uwgm7m-HeaderCell" 7620 > 7621 Type 7622 </th> 7623 <th 7624 class="css-1uwgm7m-HeaderCell" 7625 > 7626 Description 7627 </th> 7628 </tr> 7629 </thead> 7630 <tbody> 7631 <tr 7632 class="css-190f936-Row" 7633 > 7634 <td 7635 class="css-zstkv9-Cell" 7636 > 7637 <strong 7638 class="css-bvflvn-TextComponent" 7639 > 7640 url 7641 </strong> 7642 </td> 7643 <td 7644 class="css-zstkv9-Cell" 7645 > 7646 <code 7647 class="css-iwb7ur-TextComponent" 7648 data-text="true" 7649 > 7650 string 7651 </code> 7652 </td> 7653 <td 7654 class="css-zstkv9-Cell" 7655 > 7656 <p 7657 class="mb-4 css-1kfqm4n-TextComponent" 7658 data-text="true" 7659 > 7660 URL to get the image from. 7661 </p> 7662 </td> 7663 </tr> 7664 <tr 7665 class="css-190f936-Row" 7666 > 7667 <td 7668 class="css-zstkv9-Cell" 7669 > 7670 <strong 7671 class="css-bvflvn-TextComponent" 7672 > 7673 barCodeTypes 7674 </strong> 7675 <br /> 7676 <span 7677 class="css-1g95u6x" 7678 > 7679 (optional) 7680 </span> 7681 </td> 7682 <td 7683 class="css-zstkv9-Cell" 7684 > 7685 <code 7686 class="css-iwb7ur-TextComponent" 7687 data-text="true" 7688 > 7689 string[] 7690 </code> 7691 </td> 7692 <td 7693 class="css-zstkv9-Cell" 7694 > 7695 <p 7696 class="mb-4 css-1kfqm4n-TextComponent" 7697 data-text="true" 7698 > 7699 An array of bar code types. Defaults to all supported bar code types on 7700the platform. 7701 </p> 7702 7703 7704 <blockquote 7705 class="css-zknray-Callout" 7706 data-testid="callout-container" 7707 > 7708 <div 7709 class="css-7jywx8-Callout" 7710 > 7711 <svg 7712 class="icon-sm text-icon-default" 7713 fill="currentColor" 7714 role="img" 7715 viewBox="0 0 24 24" 7716 xmlns="http://www.w3.org/2000/svg" 7717 > 7718 <g 7719 id="info-circle" 7720 > 7721 <path 7722 clip-rule="evenodd" 7723 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 7724 fill-rule="evenodd" 7725 id="Solid" 7726 /> 7727 </g> 7728 </svg> 7729 </div> 7730 <div 7731 class="css-1m74yfi-Callout" 7732 > 7733 7734 7735 <p 7736 class="mb-4 css-1kfqm4n-TextComponent" 7737 data-text="true" 7738 > 7739 <strong 7740 class="css-bvflvn-TextComponent" 7741 > 7742 Note: 7743 </strong> 7744 Only QR codes are supported on iOS. 7745 </p> 7746 7747 7748 </div> 7749 </blockquote> 7750 </td> 7751 </tr> 7752 </tbody> 7753 </table> 7754 </div> 7755 <br /> 7756 <p 7757 class="mb-4 css-1kfqm4n-TextComponent" 7758 data-text="true" 7759 > 7760 Scan bar codes from the image given by the URL. 7761 </p> 7762 <p 7763 class="css-1eksndl-BoxSectionHeader" 7764 data-text="true" 7765 > 7766 Returns 7767 </p> 7768 <ul 7769 class="!list-none !ml-0 css-118jp6n-TextComponent" 7770 > 7771 <li 7772 class="css-1hxzfrf-TextComponent" 7773 data-text="true" 7774 > 7775 <svg 7776 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 7777 fill="none" 7778 role="img" 7779 stroke="currentColor" 7780 viewBox="0 0 24 24" 7781 xmlns="http://www.w3.org/2000/svg" 7782 > 7783 <g 7784 id="corner-down-right" 7785 > 7786 <path 7787 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 7788 id="Icon" 7789 stroke-linecap="round" 7790 stroke-linejoin="round" 7791 stroke-width="2" 7792 /> 7793 </g> 7794 </svg> 7795 <code 7796 class="css-iwb7ur-TextComponent" 7797 data-text="true" 7798 > 7799 <a 7800 class="css-1na8e0o-A" 7801 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 7802 rel="noopener noreferrer" 7803 target="_blank" 7804 > 7805 Promise 7806 </a> 7807 < 7808 <span> 7809 <a 7810 class="css-1na8e0o-A" 7811 href="#barcodescannerresult" 7812 > 7813 BarCodeScannerResult 7814 [] 7815 </a> 7816 </span> 7817 > 7818 </code> 7819 </li> 7820 </ul> 7821 <br /> 7822 <p 7823 class="mb-4 css-1kfqm4n-TextComponent" 7824 data-text="true" 7825 > 7826 A possibly empty array of objects of the 7827 <code 7828 class="css-1a6y07t-TextComponent" 7829 data-text="true" 7830 > 7831 BarCodeScannerResult 7832 </code> 7833 shape, where the type 7834refers to the bar code type that was scanned and the data is the information encoded in the bar 7835code. 7836 </p> 7837 </div> 7838 <h2 7839 class=" css-1qsxz84-TextComponent" 7840 data-heading="true" 7841 > 7842 <a 7843 class="css-1y48vg3" 7844 href="#interfaces" 7845 > 7846 <span 7847 class="css-s3qkfm" 7848 id="interfaces" 7849 /> 7850 <span 7851 class="css-6n7j50" 7852 > 7853 Interfaces 7854 </span> 7855 <span 7856 class="css-13330di" 7857 > 7858 <svg 7859 aria-label="permalink" 7860 class="anchor-icon" 7861 fill="none" 7862 height="24" 7863 viewBox="0 0 24 24" 7864 width="24" 7865 xmlns="http://www.w3.org/2000/svg" 7866 > 7867 <path 7868 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7869 stroke="#9B9B9B" 7870 stroke-linecap="round" 7871 stroke-linejoin="round" 7872 stroke-width="2" 7873 /> 7874 <path 7875 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7876 stroke="#9B9B9B" 7877 stroke-linecap="round" 7878 stroke-linejoin="round" 7879 stroke-width="2" 7880 /> 7881 </svg> 7882 </span> 7883 </a> 7884 </h2> 7885 <div 7886 class="css-11xr3cd" 7887 > 7888 <h3 7889 class=" css-wbzzgj-TextComponent" 7890 data-heading="true" 7891 > 7892 <a 7893 class="css-1y48vg3" 7894 href="#permissionresponse" 7895 > 7896 <span 7897 class="css-s3qkfm" 7898 id="permissionresponse" 7899 /> 7900 <span 7901 class="css-6n7j50" 7902 > 7903 <code 7904 class="css-yd3r23-TextComponent" 7905 data-text="true" 7906 > 7907 PermissionResponse 7908 </code> 7909 </span> 7910 <span 7911 class="css-13330di" 7912 > 7913 <svg 7914 aria-label="permalink" 7915 class="anchor-icon" 7916 fill="none" 7917 height="24" 7918 viewBox="0 0 24 24" 7919 width="24" 7920 xmlns="http://www.w3.org/2000/svg" 7921 > 7922 <path 7923 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7924 stroke="#9B9B9B" 7925 stroke-linecap="round" 7926 stroke-linejoin="round" 7927 stroke-width="2" 7928 /> 7929 <path 7930 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7931 stroke="#9B9B9B" 7932 stroke-linecap="round" 7933 stroke-linejoin="round" 7934 stroke-width="2" 7935 /> 7936 </svg> 7937 </span> 7938 </a> 7939 </h3> 7940 <p 7941 class="mb-4 css-1kfqm4n-TextComponent" 7942 data-text="true" 7943 > 7944 An object obtained by permissions get and request functions. 7945 </p> 7946 <p 7947 class="css-1eksndl-BoxSectionHeader" 7948 data-text="true" 7949 > 7950 PermissionResponse Properties 7951 </p> 7952 <div 7953 class="css-1uyflf8-Table" 7954 > 7955 <table 7956 class="css-q84cm9-Table" 7957 > 7958 <thead 7959 class="bg-subtle border-b border-b-default border-solid" 7960 > 7961 <tr 7962 class="css-190f936-Row" 7963 > 7964 <th 7965 class="css-1uwgm7m-HeaderCell" 7966 > 7967 Name 7968 </th> 7969 <th 7970 class="css-1uwgm7m-HeaderCell" 7971 > 7972 Type 7973 </th> 7974 <th 7975 class="css-1uwgm7m-HeaderCell" 7976 > 7977 Description 7978 </th> 7979 </tr> 7980 </thead> 7981 <tbody> 7982 <tr 7983 class="css-190f936-Row" 7984 > 7985 <td 7986 class="css-18p3734-Cell" 7987 > 7988 <strong 7989 class="css-bvflvn-TextComponent" 7990 > 7991 canAskAgain 7992 </strong> 7993 </td> 7994 <td 7995 class="css-18p3734-Cell" 7996 > 7997 <code 7998 class="css-iwb7ur-TextComponent" 7999 data-text="true" 8000 > 8001 boolean 8002 </code> 8003 </td> 8004 <td 8005 class="css-18p3734-Cell" 8006 > 8007 <p 8008 class="mb-4 css-1kfqm4n-TextComponent" 8009 data-text="true" 8010 > 8011 Indicates if user can be asked again for specific permission. 8012If not, one should be directed to the Settings app 8013in order to enable/disable the permission. 8014 </p> 8015 </td> 8016 </tr> 8017 <tr 8018 class="css-190f936-Row" 8019 > 8020 <td 8021 class="css-18p3734-Cell" 8022 > 8023 <strong 8024 class="css-bvflvn-TextComponent" 8025 > 8026 expires 8027 </strong> 8028 </td> 8029 <td 8030 class="css-18p3734-Cell" 8031 > 8032 <code 8033 class="css-iwb7ur-TextComponent" 8034 data-text="true" 8035 > 8036 <a 8037 class="css-1na8e0o-A" 8038 href="#permissionexpiration" 8039 > 8040 PermissionExpiration 8041 </a> 8042 </code> 8043 </td> 8044 <td 8045 class="css-18p3734-Cell" 8046 > 8047 <p 8048 class="mb-4 css-1kfqm4n-TextComponent" 8049 data-text="true" 8050 > 8051 Determines time when the permission expires. 8052 </p> 8053 </td> 8054 </tr> 8055 <tr 8056 class="css-190f936-Row" 8057 > 8058 <td 8059 class="css-18p3734-Cell" 8060 > 8061 <strong 8062 class="css-bvflvn-TextComponent" 8063 > 8064 granted 8065 </strong> 8066 </td> 8067 <td 8068 class="css-18p3734-Cell" 8069 > 8070 <code 8071 class="css-iwb7ur-TextComponent" 8072 data-text="true" 8073 > 8074 boolean 8075 </code> 8076 </td> 8077 <td 8078 class="css-18p3734-Cell" 8079 > 8080 <p 8081 class="mb-4 css-1kfqm4n-TextComponent" 8082 data-text="true" 8083 > 8084 A convenience boolean that indicates if the permission is granted. 8085 </p> 8086 </td> 8087 </tr> 8088 <tr 8089 class="css-190f936-Row" 8090 > 8091 <td 8092 class="css-18p3734-Cell" 8093 > 8094 <strong 8095 class="css-bvflvn-TextComponent" 8096 > 8097 status 8098 </strong> 8099 </td> 8100 <td 8101 class="css-18p3734-Cell" 8102 > 8103 <code 8104 class="css-iwb7ur-TextComponent" 8105 data-text="true" 8106 > 8107 <a 8108 class="css-1na8e0o-A" 8109 href="#permissionstatus" 8110 > 8111 PermissionStatus 8112 </a> 8113 </code> 8114 </td> 8115 <td 8116 class="css-18p3734-Cell" 8117 > 8118 <p 8119 class="mb-4 css-1kfqm4n-TextComponent" 8120 data-text="true" 8121 > 8122 Determines the status of the permission. 8123 </p> 8124 </td> 8125 </tr> 8126 </tbody> 8127 </table> 8128 </div> 8129 <br /> 8130 </div> 8131 <h2 8132 class=" css-1qsxz84-TextComponent" 8133 data-heading="true" 8134 > 8135 <a 8136 class="css-1y48vg3" 8137 href="#types" 8138 > 8139 <span 8140 class="css-s3qkfm" 8141 id="types" 8142 /> 8143 <span 8144 class="css-6n7j50" 8145 > 8146 Types 8147 </span> 8148 <span 8149 class="css-13330di" 8150 > 8151 <svg 8152 aria-label="permalink" 8153 class="anchor-icon" 8154 fill="none" 8155 height="24" 8156 viewBox="0 0 24 24" 8157 width="24" 8158 xmlns="http://www.w3.org/2000/svg" 8159 > 8160 <path 8161 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8162 stroke="#9B9B9B" 8163 stroke-linecap="round" 8164 stroke-linejoin="round" 8165 stroke-width="2" 8166 /> 8167 <path 8168 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8169 stroke="#9B9B9B" 8170 stroke-linecap="round" 8171 stroke-linejoin="round" 8172 stroke-width="2" 8173 /> 8174 </svg> 8175 </span> 8176 </a> 8177 </h2> 8178 <div 8179 class="css-1fultt1" 8180 > 8181 <h3 8182 class=" css-wbzzgj-TextComponent" 8183 data-heading="true" 8184 > 8185 <a 8186 class="css-1y48vg3" 8187 href="#barcodebounds" 8188 > 8189 <span 8190 class="css-s3qkfm" 8191 id="barcodebounds" 8192 /> 8193 <span 8194 class="css-6n7j50" 8195 > 8196 <code 8197 class="css-yd3r23-TextComponent" 8198 data-text="true" 8199 > 8200 BarCodeBounds 8201 </code> 8202 </span> 8203 <span 8204 class="css-13330di" 8205 > 8206 <svg 8207 aria-label="permalink" 8208 class="anchor-icon" 8209 fill="none" 8210 height="24" 8211 viewBox="0 0 24 24" 8212 width="24" 8213 xmlns="http://www.w3.org/2000/svg" 8214 > 8215 <path 8216 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8217 stroke="#9B9B9B" 8218 stroke-linecap="round" 8219 stroke-linejoin="round" 8220 stroke-width="2" 8221 /> 8222 <path 8223 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8224 stroke="#9B9B9B" 8225 stroke-linecap="round" 8226 stroke-linejoin="round" 8227 stroke-width="2" 8228 /> 8229 </svg> 8230 </span> 8231 </a> 8232 </h3> 8233 <div 8234 class="css-1uyflf8-Table" 8235 > 8236 <table 8237 class="css-q84cm9-Table" 8238 > 8239 <thead 8240 class="bg-subtle border-b border-b-default border-solid" 8241 > 8242 <tr 8243 class="css-190f936-Row" 8244 > 8245 <th 8246 class="css-1uwgm7m-HeaderCell" 8247 > 8248 Name 8249 </th> 8250 <th 8251 class="css-1uwgm7m-HeaderCell" 8252 > 8253 Type 8254 </th> 8255 <th 8256 class="css-1uwgm7m-HeaderCell" 8257 > 8258 Description 8259 </th> 8260 </tr> 8261 </thead> 8262 <tbody> 8263 <tr 8264 class="css-190f936-Row" 8265 > 8266 <td 8267 class="css-18p3734-Cell" 8268 > 8269 <strong 8270 class="css-bvflvn-TextComponent" 8271 > 8272 origin 8273 </strong> 8274 </td> 8275 <td 8276 class="css-18p3734-Cell" 8277 > 8278 <code 8279 class="css-iwb7ur-TextComponent" 8280 data-text="true" 8281 > 8282 <a 8283 class="css-1na8e0o-A" 8284 href="#barcodepoint" 8285 > 8286 BarCodePoint 8287 </a> 8288 </code> 8289 </td> 8290 <td 8291 class="css-18p3734-Cell" 8292 > 8293 <p 8294 class="mb-4 css-1kfqm4n-TextComponent" 8295 data-text="true" 8296 > 8297 The origin point of the bounding box. 8298 </p> 8299 </td> 8300 </tr> 8301 <tr 8302 class="css-190f936-Row" 8303 > 8304 <td 8305 class="css-18p3734-Cell" 8306 > 8307 <strong 8308 class="css-bvflvn-TextComponent" 8309 > 8310 size 8311 </strong> 8312 </td> 8313 <td 8314 class="css-18p3734-Cell" 8315 > 8316 <code 8317 class="css-iwb7ur-TextComponent" 8318 data-text="true" 8319 > 8320 <a 8321 class="css-1na8e0o-A" 8322 href="#barcodesize" 8323 > 8324 BarCodeSize 8325 </a> 8326 </code> 8327 </td> 8328 <td 8329 class="css-18p3734-Cell" 8330 > 8331 <p 8332 class="mb-4 css-1kfqm4n-TextComponent" 8333 data-text="true" 8334 > 8335 The size of the bounding box. 8336 </p> 8337 </td> 8338 </tr> 8339 </tbody> 8340 </table> 8341 </div> 8342 </div> 8343 <div 8344 class="css-1fultt1" 8345 > 8346 <h3 8347 class=" css-wbzzgj-TextComponent" 8348 data-heading="true" 8349 > 8350 <a 8351 class="css-1y48vg3" 8352 href="#barcodeevent" 8353 > 8354 <span 8355 class="css-s3qkfm" 8356 id="barcodeevent" 8357 /> 8358 <span 8359 class="css-6n7j50" 8360 > 8361 <code 8362 class="css-yd3r23-TextComponent" 8363 data-text="true" 8364 > 8365 BarCodeEvent 8366 </code> 8367 </span> 8368 <span 8369 class="css-13330di" 8370 > 8371 <svg 8372 aria-label="permalink" 8373 class="anchor-icon" 8374 fill="none" 8375 height="24" 8376 viewBox="0 0 24 24" 8377 width="24" 8378 xmlns="http://www.w3.org/2000/svg" 8379 > 8380 <path 8381 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8382 stroke="#9B9B9B" 8383 stroke-linecap="round" 8384 stroke-linejoin="round" 8385 stroke-width="2" 8386 /> 8387 <path 8388 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8389 stroke="#9B9B9B" 8390 stroke-linecap="round" 8391 stroke-linejoin="round" 8392 stroke-width="2" 8393 /> 8394 </svg> 8395 </span> 8396 </a> 8397 </h3> 8398 <p 8399 class="css-1kfqm4n-TextComponent" 8400 data-text="true" 8401 > 8402 <code 8403 class="css-iwb7ur-TextComponent" 8404 data-text="true" 8405 > 8406 <a 8407 class="css-1na8e0o-A" 8408 href="#barcodescannerresult" 8409 > 8410 BarCodeScannerResult 8411 </a> 8412 </code> 8413 8414 extended by: 8415 </p> 8416 <br /> 8417 <div 8418 class="css-1uyflf8-Table" 8419 > 8420 <table 8421 class="css-q84cm9-Table" 8422 > 8423 <thead 8424 class="bg-subtle border-b border-b-default border-solid" 8425 > 8426 <tr 8427 class="css-190f936-Row" 8428 > 8429 <th 8430 class="css-1uwgm7m-HeaderCell" 8431 > 8432 Name 8433 </th> 8434 <th 8435 class="css-1uwgm7m-HeaderCell" 8436 > 8437 Type 8438 </th> 8439 <th 8440 class="css-1uwgm7m-HeaderCell" 8441 > 8442 Description 8443 </th> 8444 </tr> 8445 </thead> 8446 <tbody> 8447 <tr 8448 class="css-190f936-Row" 8449 > 8450 <td 8451 class="css-18p3734-Cell" 8452 > 8453 <strong 8454 class="css-bvflvn-TextComponent" 8455 > 8456 target 8457 </strong> 8458 <br /> 8459 <span 8460 class="css-1g95u6x" 8461 > 8462 (optional) 8463 </span> 8464 </td> 8465 <td 8466 class="css-18p3734-Cell" 8467 > 8468 <code 8469 class="css-iwb7ur-TextComponent" 8470 data-text="true" 8471 > 8472 number 8473 </code> 8474 </td> 8475 <td 8476 class="css-18p3734-Cell" 8477 > 8478 - 8479 </td> 8480 </tr> 8481 </tbody> 8482 </table> 8483 </div> 8484 </div> 8485 <div 8486 class="css-1fultt1" 8487 > 8488 <h3 8489 class=" css-wbzzgj-TextComponent" 8490 data-heading="true" 8491 > 8492 <a 8493 class="css-1y48vg3" 8494 href="#barcodeeventcallbackarguments" 8495 > 8496 <span 8497 class="css-s3qkfm" 8498 id="barcodeeventcallbackarguments" 8499 /> 8500 <span 8501 class="css-6n7j50" 8502 > 8503 <code 8504 class="css-yd3r23-TextComponent" 8505 data-text="true" 8506 > 8507 BarCodeEventCallbackArguments 8508 </code> 8509 </span> 8510 <span 8511 class="css-13330di" 8512 > 8513 <svg 8514 aria-label="permalink" 8515 class="anchor-icon" 8516 fill="none" 8517 height="24" 8518 viewBox="0 0 24 24" 8519 width="24" 8520 xmlns="http://www.w3.org/2000/svg" 8521 > 8522 <path 8523 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8524 stroke="#9B9B9B" 8525 stroke-linecap="round" 8526 stroke-linejoin="round" 8527 stroke-width="2" 8528 /> 8529 <path 8530 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8531 stroke="#9B9B9B" 8532 stroke-linecap="round" 8533 stroke-linejoin="round" 8534 stroke-width="2" 8535 /> 8536 </svg> 8537 </span> 8538 </a> 8539 </h3> 8540 <div 8541 class="css-1uyflf8-Table" 8542 > 8543 <table 8544 class="css-q84cm9-Table" 8545 > 8546 <thead 8547 class="bg-subtle border-b border-b-default border-solid" 8548 > 8549 <tr 8550 class="css-190f936-Row" 8551 > 8552 <th 8553 class="css-1uwgm7m-HeaderCell" 8554 > 8555 Name 8556 </th> 8557 <th 8558 class="css-1uwgm7m-HeaderCell" 8559 > 8560 Type 8561 </th> 8562 <th 8563 class="css-1uwgm7m-HeaderCell" 8564 > 8565 Description 8566 </th> 8567 </tr> 8568 </thead> 8569 <tbody> 8570 <tr 8571 class="css-190f936-Row" 8572 > 8573 <td 8574 class="css-18p3734-Cell" 8575 > 8576 <strong 8577 class="css-bvflvn-TextComponent" 8578 > 8579 nativeEvent 8580 </strong> 8581 </td> 8582 <td 8583 class="css-18p3734-Cell" 8584 > 8585 <code 8586 class="css-iwb7ur-TextComponent" 8587 data-text="true" 8588 > 8589 <a 8590 class="css-1na8e0o-A" 8591 href="#barcodeevent" 8592 > 8593 BarCodeEvent 8594 </a> 8595 </code> 8596 </td> 8597 <td 8598 class="css-18p3734-Cell" 8599 > 8600 - 8601 </td> 8602 </tr> 8603 </tbody> 8604 </table> 8605 </div> 8606 </div> 8607 <div 8608 class="css-1fultt1" 8609 > 8610 <h3 8611 class=" css-wbzzgj-TextComponent" 8612 data-heading="true" 8613 > 8614 <a 8615 class="css-1y48vg3" 8616 href="#barcodepoint" 8617 > 8618 <span 8619 class="css-s3qkfm" 8620 id="barcodepoint" 8621 /> 8622 <span 8623 class="css-6n7j50" 8624 > 8625 <code 8626 class="css-yd3r23-TextComponent" 8627 data-text="true" 8628 > 8629 BarCodePoint 8630 </code> 8631 </span> 8632 <span 8633 class="css-13330di" 8634 > 8635 <svg 8636 aria-label="permalink" 8637 class="anchor-icon" 8638 fill="none" 8639 height="24" 8640 viewBox="0 0 24 24" 8641 width="24" 8642 xmlns="http://www.w3.org/2000/svg" 8643 > 8644 <path 8645 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8646 stroke="#9B9B9B" 8647 stroke-linecap="round" 8648 stroke-linejoin="round" 8649 stroke-width="2" 8650 /> 8651 <path 8652 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8653 stroke="#9B9B9B" 8654 stroke-linecap="round" 8655 stroke-linejoin="round" 8656 stroke-width="2" 8657 /> 8658 </svg> 8659 </span> 8660 </a> 8661 </h3> 8662 <p 8663 class="mb-4 css-1kfqm4n-TextComponent" 8664 data-text="true" 8665 > 8666 Those coordinates are represented in the coordinate space of the barcode source (e.g. when you 8667are using the barcode scanner view, these values are adjusted to the dimensions of the view). 8668 </p> 8669 <div 8670 class="css-1uyflf8-Table" 8671 > 8672 <table 8673 class="css-q84cm9-Table" 8674 > 8675 <thead 8676 class="bg-subtle border-b border-b-default border-solid" 8677 > 8678 <tr 8679 class="css-190f936-Row" 8680 > 8681 <th 8682 class="css-1uwgm7m-HeaderCell" 8683 > 8684 Name 8685 </th> 8686 <th 8687 class="css-1uwgm7m-HeaderCell" 8688 > 8689 Type 8690 </th> 8691 <th 8692 class="css-1uwgm7m-HeaderCell" 8693 > 8694 Description 8695 </th> 8696 </tr> 8697 </thead> 8698 <tbody> 8699 <tr 8700 class="css-190f936-Row" 8701 > 8702 <td 8703 class="css-18p3734-Cell" 8704 > 8705 <strong 8706 class="css-bvflvn-TextComponent" 8707 > 8708 x 8709 </strong> 8710 </td> 8711 <td 8712 class="css-18p3734-Cell" 8713 > 8714 <code 8715 class="css-iwb7ur-TextComponent" 8716 data-text="true" 8717 > 8718 number 8719 </code> 8720 </td> 8721 <td 8722 class="css-18p3734-Cell" 8723 > 8724 <p 8725 class="mb-4 css-1kfqm4n-TextComponent" 8726 data-text="true" 8727 > 8728 The 8729 <code 8730 class="css-1a6y07t-TextComponent" 8731 data-text="true" 8732 > 8733 x 8734 </code> 8735 coordinate value. 8736 </p> 8737 </td> 8738 </tr> 8739 <tr 8740 class="css-190f936-Row" 8741 > 8742 <td 8743 class="css-18p3734-Cell" 8744 > 8745 <strong 8746 class="css-bvflvn-TextComponent" 8747 > 8748 y 8749 </strong> 8750 </td> 8751 <td 8752 class="css-18p3734-Cell" 8753 > 8754 <code 8755 class="css-iwb7ur-TextComponent" 8756 data-text="true" 8757 > 8758 number 8759 </code> 8760 </td> 8761 <td 8762 class="css-18p3734-Cell" 8763 > 8764 <p 8765 class="mb-4 css-1kfqm4n-TextComponent" 8766 data-text="true" 8767 > 8768 The 8769 <code 8770 class="css-1a6y07t-TextComponent" 8771 data-text="true" 8772 > 8773 y 8774 </code> 8775 coordinate value. 8776 </p> 8777 </td> 8778 </tr> 8779 </tbody> 8780 </table> 8781 </div> 8782 </div> 8783 <div 8784 class="css-1fultt1" 8785 > 8786 <h3 8787 class=" css-wbzzgj-TextComponent" 8788 data-heading="true" 8789 > 8790 <a 8791 class="css-1y48vg3" 8792 href="#barcodescannedcallback" 8793 > 8794 <span 8795 class="css-s3qkfm" 8796 id="barcodescannedcallback" 8797 /> 8798 <span 8799 class="css-6n7j50" 8800 > 8801 <code 8802 class="css-yd3r23-TextComponent" 8803 data-text="true" 8804 > 8805 BarCodeScannedCallback 8806 () 8807 </code> 8808 </span> 8809 <span 8810 class="css-13330di" 8811 > 8812 <svg 8813 aria-label="permalink" 8814 class="anchor-icon" 8815 fill="none" 8816 height="24" 8817 viewBox="0 0 24 24" 8818 width="24" 8819 xmlns="http://www.w3.org/2000/svg" 8820 > 8821 <path 8822 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8823 stroke="#9B9B9B" 8824 stroke-linecap="round" 8825 stroke-linejoin="round" 8826 stroke-width="2" 8827 /> 8828 <path 8829 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8830 stroke="#9B9B9B" 8831 stroke-linecap="round" 8832 stroke-linejoin="round" 8833 stroke-width="2" 8834 /> 8835 </svg> 8836 </span> 8837 </a> 8838 </h3> 8839 <div> 8840 <div 8841 class="css-1uyflf8-Table" 8842 > 8843 <table 8844 class="css-q84cm9-Table" 8845 > 8846 <thead 8847 class="bg-subtle border-b border-b-default border-solid" 8848 > 8849 <tr 8850 class="css-190f936-Row" 8851 > 8852 <th 8853 class="css-1uwgm7m-HeaderCell" 8854 > 8855 Name 8856 </th> 8857 <th 8858 class="css-1uwgm7m-HeaderCell" 8859 > 8860 Type 8861 </th> 8862 <th 8863 class="css-1uwgm7m-HeaderCell" 8864 > 8865 Description 8866 </th> 8867 </tr> 8868 </thead> 8869 <tbody> 8870 <tr 8871 class="css-190f936-Row" 8872 > 8873 <td 8874 class="css-zstkv9-Cell" 8875 > 8876 <strong 8877 class="css-bvflvn-TextComponent" 8878 > 8879 params 8880 </strong> 8881 </td> 8882 <td 8883 class="css-zstkv9-Cell" 8884 > 8885 <code 8886 class="css-iwb7ur-TextComponent" 8887 data-text="true" 8888 > 8889 <a 8890 class="css-1na8e0o-A" 8891 href="#barcodeevent" 8892 > 8893 BarCodeEvent 8894 </a> 8895 </code> 8896 </td> 8897 <td 8898 class="css-zstkv9-Cell" 8899 > 8900 - 8901 </td> 8902 </tr> 8903 </tbody> 8904 </table> 8905 </div> 8906 </div> 8907 </div> 8908 <div 8909 class="css-1fultt1" 8910 > 8911 <h3 8912 class=" css-wbzzgj-TextComponent" 8913 data-heading="true" 8914 > 8915 <a 8916 class="css-1y48vg3" 8917 href="#barcodescannerresult" 8918 > 8919 <span 8920 class="css-s3qkfm" 8921 id="barcodescannerresult" 8922 /> 8923 <span 8924 class="css-6n7j50" 8925 > 8926 <code 8927 class="css-yd3r23-TextComponent" 8928 data-text="true" 8929 > 8930 BarCodeScannerResult 8931 </code> 8932 </span> 8933 <span 8934 class="css-13330di" 8935 > 8936 <svg 8937 aria-label="permalink" 8938 class="anchor-icon" 8939 fill="none" 8940 height="24" 8941 viewBox="0 0 24 24" 8942 width="24" 8943 xmlns="http://www.w3.org/2000/svg" 8944 > 8945 <path 8946 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8947 stroke="#9B9B9B" 8948 stroke-linecap="round" 8949 stroke-linejoin="round" 8950 stroke-width="2" 8951 /> 8952 <path 8953 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8954 stroke="#9B9B9B" 8955 stroke-linecap="round" 8956 stroke-linejoin="round" 8957 stroke-width="2" 8958 /> 8959 </svg> 8960 </span> 8961 </a> 8962 </h3> 8963 <div 8964 class="css-1uyflf8-Table" 8965 > 8966 <table 8967 class="css-q84cm9-Table" 8968 > 8969 <thead 8970 class="bg-subtle border-b border-b-default border-solid" 8971 > 8972 <tr 8973 class="css-190f936-Row" 8974 > 8975 <th 8976 class="css-1uwgm7m-HeaderCell" 8977 > 8978 Name 8979 </th> 8980 <th 8981 class="css-1uwgm7m-HeaderCell" 8982 > 8983 Type 8984 </th> 8985 <th 8986 class="css-1uwgm7m-HeaderCell" 8987 > 8988 Description 8989 </th> 8990 </tr> 8991 </thead> 8992 <tbody> 8993 <tr 8994 class="css-190f936-Row" 8995 > 8996 <td 8997 class="css-18p3734-Cell" 8998 > 8999 <strong 9000 class="css-bvflvn-TextComponent" 9001 > 9002 bounds 9003 </strong> 9004 </td> 9005 <td 9006 class="css-18p3734-Cell" 9007 > 9008 <code 9009 class="css-iwb7ur-TextComponent" 9010 data-text="true" 9011 > 9012 <a 9013 class="css-1na8e0o-A" 9014 href="#barcodebounds" 9015 > 9016 BarCodeBounds 9017 </a> 9018 </code> 9019 </td> 9020 <td 9021 class="css-18p3734-Cell" 9022 > 9023 <p 9024 class="mb-4 css-1kfqm4n-TextComponent" 9025 data-text="true" 9026 > 9027 The 9028 <a 9029 class="css-1na8e0o-A" 9030 href="#barcodebounds" 9031 > 9032 BarCodeBounds 9033 </a> 9034 object. 9035 9036 <code 9037 class="css-1a6y07t-TextComponent" 9038 data-text="true" 9039 > 9040 bounds 9041 </code> 9042 in some case will be representing an empty rectangle. 9043Moreover, 9044 <code 9045 class="css-1a6y07t-TextComponent" 9046 data-text="true" 9047 > 9048 bounds 9049 </code> 9050 doesn't have to bound the whole barcode. 9051For some types, they will represent the area used by the scanner. 9052 </p> 9053 </td> 9054 </tr> 9055 <tr 9056 class="css-190f936-Row" 9057 > 9058 <td 9059 class="css-18p3734-Cell" 9060 > 9061 <strong 9062 class="css-bvflvn-TextComponent" 9063 > 9064 cornerPoints 9065 </strong> 9066 </td> 9067 <td 9068 class="css-18p3734-Cell" 9069 > 9070 <code 9071 class="css-iwb7ur-TextComponent" 9072 data-text="true" 9073 > 9074 <a 9075 class="css-1na8e0o-A" 9076 href="#barcodepoint" 9077 > 9078 BarCodePoint 9079 [] 9080 </a> 9081 </code> 9082 </td> 9083 <td 9084 class="css-18p3734-Cell" 9085 > 9086 <p 9087 class="mb-4 css-1kfqm4n-TextComponent" 9088 data-text="true" 9089 > 9090 Corner points of the bounding box. 9091 9092 <code 9093 class="css-1a6y07t-TextComponent" 9094 data-text="true" 9095 > 9096 cornerPoints 9097 </code> 9098 is not always available and may be empty. On iOS, for 9099 <code 9100 class="css-1a6y07t-TextComponent" 9101 data-text="true" 9102 > 9103 code39 9104 </code> 9105 and 9106 <code 9107 class="css-1a6y07t-TextComponent" 9108 data-text="true" 9109 > 9110 pdf417 9111 </code> 9112 9113you don't get this value. 9114 </p> 9115 </td> 9116 </tr> 9117 <tr 9118 class="css-190f936-Row" 9119 > 9120 <td 9121 class="css-18p3734-Cell" 9122 > 9123 <strong 9124 class="css-bvflvn-TextComponent" 9125 > 9126 data 9127 </strong> 9128 </td> 9129 <td 9130 class="css-18p3734-Cell" 9131 > 9132 <code 9133 class="css-iwb7ur-TextComponent" 9134 data-text="true" 9135 > 9136 string 9137 </code> 9138 </td> 9139 <td 9140 class="css-18p3734-Cell" 9141 > 9142 <p 9143 class="mb-4 css-1kfqm4n-TextComponent" 9144 data-text="true" 9145 > 9146 The information encoded in the bar code. 9147 </p> 9148 </td> 9149 </tr> 9150 <tr 9151 class="css-190f936-Row" 9152 > 9153 <td 9154 class="css-18p3734-Cell" 9155 > 9156 <strong 9157 class="css-bvflvn-TextComponent" 9158 > 9159 type 9160 </strong> 9161 </td> 9162 <td 9163 class="css-18p3734-Cell" 9164 > 9165 <code 9166 class="css-iwb7ur-TextComponent" 9167 data-text="true" 9168 > 9169 string 9170 </code> 9171 </td> 9172 <td 9173 class="css-18p3734-Cell" 9174 > 9175 <p 9176 class="mb-4 css-1kfqm4n-TextComponent" 9177 data-text="true" 9178 > 9179 The barcode type. 9180 </p> 9181 </td> 9182 </tr> 9183 </tbody> 9184 </table> 9185 </div> 9186 </div> 9187 <div 9188 class="css-1fultt1" 9189 > 9190 <h3 9191 class=" css-wbzzgj-TextComponent" 9192 data-heading="true" 9193 > 9194 <a 9195 class="css-1y48vg3" 9196 href="#barcodesize" 9197 > 9198 <span 9199 class="css-s3qkfm" 9200 id="barcodesize" 9201 /> 9202 <span 9203 class="css-6n7j50" 9204 > 9205 <code 9206 class="css-yd3r23-TextComponent" 9207 data-text="true" 9208 > 9209 BarCodeSize 9210 </code> 9211 </span> 9212 <span 9213 class="css-13330di" 9214 > 9215 <svg 9216 aria-label="permalink" 9217 class="anchor-icon" 9218 fill="none" 9219 height="24" 9220 viewBox="0 0 24 24" 9221 width="24" 9222 xmlns="http://www.w3.org/2000/svg" 9223 > 9224 <path 9225 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9226 stroke="#9B9B9B" 9227 stroke-linecap="round" 9228 stroke-linejoin="round" 9229 stroke-width="2" 9230 /> 9231 <path 9232 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9233 stroke="#9B9B9B" 9234 stroke-linecap="round" 9235 stroke-linejoin="round" 9236 stroke-width="2" 9237 /> 9238 </svg> 9239 </span> 9240 </a> 9241 </h3> 9242 <div 9243 class="css-1uyflf8-Table" 9244 > 9245 <table 9246 class="css-q84cm9-Table" 9247 > 9248 <thead 9249 class="bg-subtle border-b border-b-default border-solid" 9250 > 9251 <tr 9252 class="css-190f936-Row" 9253 > 9254 <th 9255 class="css-1uwgm7m-HeaderCell" 9256 > 9257 Name 9258 </th> 9259 <th 9260 class="css-1uwgm7m-HeaderCell" 9261 > 9262 Type 9263 </th> 9264 <th 9265 class="css-1uwgm7m-HeaderCell" 9266 > 9267 Description 9268 </th> 9269 </tr> 9270 </thead> 9271 <tbody> 9272 <tr 9273 class="css-190f936-Row" 9274 > 9275 <td 9276 class="css-18p3734-Cell" 9277 > 9278 <strong 9279 class="css-bvflvn-TextComponent" 9280 > 9281 height 9282 </strong> 9283 </td> 9284 <td 9285 class="css-18p3734-Cell" 9286 > 9287 <code 9288 class="css-iwb7ur-TextComponent" 9289 data-text="true" 9290 > 9291 number 9292 </code> 9293 </td> 9294 <td 9295 class="css-18p3734-Cell" 9296 > 9297 <p 9298 class="mb-4 css-1kfqm4n-TextComponent" 9299 data-text="true" 9300 > 9301 The height value. 9302 </p> 9303 </td> 9304 </tr> 9305 <tr 9306 class="css-190f936-Row" 9307 > 9308 <td 9309 class="css-18p3734-Cell" 9310 > 9311 <strong 9312 class="css-bvflvn-TextComponent" 9313 > 9314 width 9315 </strong> 9316 </td> 9317 <td 9318 class="css-18p3734-Cell" 9319 > 9320 <code 9321 class="css-iwb7ur-TextComponent" 9322 data-text="true" 9323 > 9324 number 9325 </code> 9326 </td> 9327 <td 9328 class="css-18p3734-Cell" 9329 > 9330 <p 9331 class="mb-4 css-1kfqm4n-TextComponent" 9332 data-text="true" 9333 > 9334 The width value. 9335 </p> 9336 </td> 9337 </tr> 9338 </tbody> 9339 </table> 9340 </div> 9341 </div> 9342 <div 9343 class="css-1fultt1" 9344 > 9345 <h3 9346 class=" css-wbzzgj-TextComponent" 9347 data-heading="true" 9348 > 9349 <a 9350 class="css-1y48vg3" 9351 href="#permissionhookoptions" 9352 > 9353 <span 9354 class="css-s3qkfm" 9355 id="permissionhookoptions" 9356 /> 9357 <span 9358 class="css-6n7j50" 9359 > 9360 <code 9361 class="css-yd3r23-TextComponent" 9362 data-text="true" 9363 > 9364 PermissionHookOptions 9365 </code> 9366 </span> 9367 <span 9368 class="css-13330di" 9369 > 9370 <svg 9371 aria-label="permalink" 9372 class="anchor-icon" 9373 fill="none" 9374 height="24" 9375 viewBox="0 0 24 24" 9376 width="24" 9377 xmlns="http://www.w3.org/2000/svg" 9378 > 9379 <path 9380 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9381 stroke="#9B9B9B" 9382 stroke-linecap="round" 9383 stroke-linejoin="round" 9384 stroke-width="2" 9385 /> 9386 <path 9387 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9388 stroke="#9B9B9B" 9389 stroke-linecap="round" 9390 stroke-linejoin="round" 9391 stroke-width="2" 9392 /> 9393 </svg> 9394 </span> 9395 </a> 9396 </h3> 9397 <p 9398 class="css-1kfqm4n-TextComponent" 9399 data-text="true" 9400 > 9401 Acceptable values are: 9402 9403 <span> 9404 <code 9405 class="css-iwb7ur-TextComponent" 9406 data-text="true" 9407 > 9408 PermissionHookBehavior 9409 </code> 9410 , 9411 </span> 9412 <span> 9413 <code 9414 class="css-iwb7ur-TextComponent" 9415 data-text="true" 9416 > 9417 Options 9418 </code> 9419 . 9420 </span> 9421 </p> 9422 </div> 9423 <h2 9424 class=" css-1qsxz84-TextComponent" 9425 data-heading="true" 9426 > 9427 <a 9428 class="css-1y48vg3" 9429 href="#enums" 9430 > 9431 <span 9432 class="css-s3qkfm" 9433 id="enums" 9434 /> 9435 <span 9436 class="css-6n7j50" 9437 > 9438 Enums 9439 </span> 9440 <span 9441 class="css-13330di" 9442 > 9443 <svg 9444 aria-label="permalink" 9445 class="anchor-icon" 9446 fill="none" 9447 height="24" 9448 viewBox="0 0 24 24" 9449 width="24" 9450 xmlns="http://www.w3.org/2000/svg" 9451 > 9452 <path 9453 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9454 stroke="#9B9B9B" 9455 stroke-linecap="round" 9456 stroke-linejoin="round" 9457 stroke-width="2" 9458 /> 9459 <path 9460 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9461 stroke="#9B9B9B" 9462 stroke-linecap="round" 9463 stroke-linejoin="round" 9464 stroke-width="2" 9465 /> 9466 </svg> 9467 </span> 9468 </a> 9469 </h2> 9470 <div 9471 class="css-1gsbrid" 9472 > 9473 <h3 9474 class=" css-wbzzgj-TextComponent" 9475 data-heading="true" 9476 > 9477 <a 9478 class="css-1y48vg3" 9479 href="#permissionstatus" 9480 > 9481 <span 9482 class="css-s3qkfm" 9483 id="permissionstatus" 9484 /> 9485 <span 9486 class="css-6n7j50" 9487 > 9488 <code 9489 class="css-yd3r23-TextComponent" 9490 data-text="true" 9491 > 9492 PermissionStatus 9493 </code> 9494 </span> 9495 <span 9496 class="css-13330di" 9497 > 9498 <svg 9499 aria-label="permalink" 9500 class="anchor-icon" 9501 fill="none" 9502 height="24" 9503 viewBox="0 0 24 24" 9504 width="24" 9505 xmlns="http://www.w3.org/2000/svg" 9506 > 9507 <path 9508 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9509 stroke="#9B9B9B" 9510 stroke-linecap="round" 9511 stroke-linejoin="round" 9512 stroke-width="2" 9513 /> 9514 <path 9515 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9516 stroke="#9B9B9B" 9517 stroke-linecap="round" 9518 stroke-linejoin="round" 9519 stroke-width="2" 9520 /> 9521 </svg> 9522 </span> 9523 </a> 9524 </h3> 9525 <div 9526 class="css-11xr3cd" 9527 > 9528 <h4 9529 class=" css-1y1xevk-TextComponent" 9530 data-heading="true" 9531 > 9532 <a 9533 class="css-1y48vg3" 9534 href="#denied" 9535 > 9536 <span 9537 class="css-s3qkfm" 9538 id="denied" 9539 /> 9540 <span 9541 class="css-6n7j50" 9542 > 9543 <code 9544 class="css-iwb7ur-TextComponent" 9545 data-text="true" 9546 > 9547 DENIED 9548 </code> 9549 </span> 9550 <span 9551 class="css-13330di" 9552 > 9553 <svg 9554 aria-label="permalink" 9555 class="anchor-icon" 9556 fill="none" 9557 height="24" 9558 viewBox="0 0 24 24" 9559 width="24" 9560 xmlns="http://www.w3.org/2000/svg" 9561 > 9562 <path 9563 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9564 stroke="#9B9B9B" 9565 stroke-linecap="round" 9566 stroke-linejoin="round" 9567 stroke-width="2" 9568 /> 9569 <path 9570 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9571 stroke="#9B9B9B" 9572 stroke-linecap="round" 9573 stroke-linejoin="round" 9574 stroke-width="2" 9575 /> 9576 </svg> 9577 </span> 9578 </a> 9579 </h4> 9580 <code 9581 class="mb-4 css-1h2013i-TextComponent" 9582 data-text="true" 9583 > 9584 PermissionStatus.DENIED = "denied" 9585 </code> 9586 <p 9587 class="mb-4 css-1kfqm4n-TextComponent" 9588 data-text="true" 9589 > 9590 User has denied the permission. 9591 </p> 9592 </div> 9593 <div 9594 class="css-11xr3cd" 9595 > 9596 <h4 9597 class=" css-1y1xevk-TextComponent" 9598 data-heading="true" 9599 > 9600 <a 9601 class="css-1y48vg3" 9602 href="#granted" 9603 > 9604 <span 9605 class="css-s3qkfm" 9606 id="granted" 9607 /> 9608 <span 9609 class="css-6n7j50" 9610 > 9611 <code 9612 class="css-iwb7ur-TextComponent" 9613 data-text="true" 9614 > 9615 GRANTED 9616 </code> 9617 </span> 9618 <span 9619 class="css-13330di" 9620 > 9621 <svg 9622 aria-label="permalink" 9623 class="anchor-icon" 9624 fill="none" 9625 height="24" 9626 viewBox="0 0 24 24" 9627 width="24" 9628 xmlns="http://www.w3.org/2000/svg" 9629 > 9630 <path 9631 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9632 stroke="#9B9B9B" 9633 stroke-linecap="round" 9634 stroke-linejoin="round" 9635 stroke-width="2" 9636 /> 9637 <path 9638 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9639 stroke="#9B9B9B" 9640 stroke-linecap="round" 9641 stroke-linejoin="round" 9642 stroke-width="2" 9643 /> 9644 </svg> 9645 </span> 9646 </a> 9647 </h4> 9648 <code 9649 class="mb-4 css-1h2013i-TextComponent" 9650 data-text="true" 9651 > 9652 PermissionStatus.GRANTED = "granted" 9653 </code> 9654 <p 9655 class="mb-4 css-1kfqm4n-TextComponent" 9656 data-text="true" 9657 > 9658 User has granted the permission. 9659 </p> 9660 </div> 9661 <div 9662 class="css-11xr3cd" 9663 > 9664 <h4 9665 class=" css-1y1xevk-TextComponent" 9666 data-heading="true" 9667 > 9668 <a 9669 class="css-1y48vg3" 9670 href="#undetermined" 9671 > 9672 <span 9673 class="css-s3qkfm" 9674 id="undetermined" 9675 /> 9676 <span 9677 class="css-6n7j50" 9678 > 9679 <code 9680 class="css-iwb7ur-TextComponent" 9681 data-text="true" 9682 > 9683 UNDETERMINED 9684 </code> 9685 </span> 9686 <span 9687 class="css-13330di" 9688 > 9689 <svg 9690 aria-label="permalink" 9691 class="anchor-icon" 9692 fill="none" 9693 height="24" 9694 viewBox="0 0 24 24" 9695 width="24" 9696 xmlns="http://www.w3.org/2000/svg" 9697 > 9698 <path 9699 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9700 stroke="#9B9B9B" 9701 stroke-linecap="round" 9702 stroke-linejoin="round" 9703 stroke-width="2" 9704 /> 9705 <path 9706 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9707 stroke="#9B9B9B" 9708 stroke-linecap="round" 9709 stroke-linejoin="round" 9710 stroke-width="2" 9711 /> 9712 </svg> 9713 </span> 9714 </a> 9715 </h4> 9716 <code 9717 class="mb-4 css-1h2013i-TextComponent" 9718 data-text="true" 9719 > 9720 PermissionStatus.UNDETERMINED = "undetermined" 9721 </code> 9722 <p 9723 class="mb-4 css-1kfqm4n-TextComponent" 9724 data-text="true" 9725 > 9726 User hasn't granted or denied the permission yet. 9727 </p> 9728 </div> 9729 </div> 9730</div> 9731`; 9732 9733exports[`APISection expo-pedometer 1`] = ` 9734<div> 9735 <h2 9736 class=" css-1qsxz84-TextComponent" 9737 data-heading="true" 9738 > 9739 <a 9740 class="css-1y48vg3" 9741 href="#methods" 9742 > 9743 <span 9744 class="css-s3qkfm" 9745 id="methods" 9746 /> 9747 <span 9748 class="css-6n7j50" 9749 > 9750 Methods 9751 </span> 9752 <span 9753 class="css-13330di" 9754 > 9755 <svg 9756 aria-label="permalink" 9757 class="anchor-icon" 9758 fill="none" 9759 height="24" 9760 viewBox="0 0 24 24" 9761 width="24" 9762 xmlns="http://www.w3.org/2000/svg" 9763 > 9764 <path 9765 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9766 stroke="#9B9B9B" 9767 stroke-linecap="round" 9768 stroke-linejoin="round" 9769 stroke-width="2" 9770 /> 9771 <path 9772 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9773 stroke="#9B9B9B" 9774 stroke-linecap="round" 9775 stroke-linejoin="round" 9776 stroke-width="2" 9777 /> 9778 </svg> 9779 </span> 9780 </a> 9781 </h2> 9782 <div 9783 class="css-11xr3cd" 9784 > 9785 <h3 9786 class=" css-wbzzgj-TextComponent" 9787 data-heading="true" 9788 > 9789 <a 9790 class="css-1y48vg3" 9791 href="#getpermissionsasync" 9792 > 9793 <span 9794 class="css-s3qkfm" 9795 id="getpermissionsasync" 9796 /> 9797 <span 9798 class="css-6n7j50" 9799 > 9800 <code 9801 class="css-s0csg4-TextComponent" 9802 data-text="true" 9803 > 9804 getPermissionsAsync() 9805 </code> 9806 </span> 9807 <span 9808 class="css-13330di" 9809 > 9810 <svg 9811 aria-label="permalink" 9812 class="anchor-icon" 9813 fill="none" 9814 height="24" 9815 viewBox="0 0 24 24" 9816 width="24" 9817 xmlns="http://www.w3.org/2000/svg" 9818 > 9819 <path 9820 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9821 stroke="#9B9B9B" 9822 stroke-linecap="round" 9823 stroke-linejoin="round" 9824 stroke-width="2" 9825 /> 9826 <path 9827 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9828 stroke="#9B9B9B" 9829 stroke-linecap="round" 9830 stroke-linejoin="round" 9831 stroke-width="2" 9832 /> 9833 </svg> 9834 </span> 9835 </a> 9836 </h3> 9837 <p 9838 class="mb-4 css-1kfqm4n-TextComponent" 9839 data-text="true" 9840 > 9841 Checks user's permissions for accessing pedometer. 9842 </p> 9843 <p 9844 class="css-1eksndl-BoxSectionHeader" 9845 data-text="true" 9846 > 9847 Returns 9848 </p> 9849 <ul 9850 class="!list-none !ml-0 css-118jp6n-TextComponent" 9851 > 9852 <li 9853 class="css-1hxzfrf-TextComponent" 9854 data-text="true" 9855 > 9856 <svg 9857 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 9858 fill="none" 9859 role="img" 9860 stroke="currentColor" 9861 viewBox="0 0 24 24" 9862 xmlns="http://www.w3.org/2000/svg" 9863 > 9864 <g 9865 id="corner-down-right" 9866 > 9867 <path 9868 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 9869 id="Icon" 9870 stroke-linecap="round" 9871 stroke-linejoin="round" 9872 stroke-width="2" 9873 /> 9874 </g> 9875 </svg> 9876 <code 9877 class="css-iwb7ur-TextComponent" 9878 data-text="true" 9879 > 9880 <a 9881 class="css-1na8e0o-A" 9882 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 9883 rel="noopener noreferrer" 9884 target="_blank" 9885 > 9886 Promise 9887 </a> 9888 < 9889 <span> 9890 <a 9891 class="css-1na8e0o-A" 9892 href="#permissionresponse" 9893 > 9894 PermissionResponse 9895 </a> 9896 </span> 9897 > 9898 </code> 9899 </li> 9900 </ul> 9901 <br /> 9902 </div> 9903 <div 9904 class="css-11xr3cd" 9905 > 9906 <strong 9907 class="css-bvflvn-TextComponent" 9908 > 9909 Only for: 9910 9911 </strong> 9912 <div 9913 class="!bg-palette-blue4 !text-palette-blue12 !border-palette-blue5 css-r2zk2g-PlatformTag" 9914 > 9915 <svg 9916 class="icon-xs text-palette-blue12" 9917 fill="none" 9918 role="img" 9919 viewBox="0 0 24 24" 9920 xmlns="http://www.w3.org/2000/svg" 9921 > 9922 <g 9923 id="apple" 9924 > 9925 <path 9926 d="M20.4478 17.3538C20.1312 18.0852 19.7564 18.7585 19.3222 19.3775C18.7303 20.2214 18.2457 20.8055 17.8722 21.1299C17.2933 21.6623 16.673 21.935 16.0088 21.9505C15.5319 21.9505 14.9568 21.8148 14.2874 21.5395C13.6158 21.2656 12.9986 21.1299 12.4343 21.1299C11.8424 21.1299 11.2076 21.2656 10.5287 21.5395C9.84865 21.8148 9.30085 21.9582 8.88201 21.9724C8.24504 21.9996 7.61014 21.7192 6.9764 21.1299C6.57191 20.7771 6.06598 20.1723 5.45989 19.3155C4.80961 18.4005 4.27499 17.3396 3.85615 16.13C3.4076 14.8235 3.18274 13.5583 3.18274 12.3335C3.18274 10.9304 3.48591 9.72034 4.09316 8.70628C4.5704 7.89174 5.20531 7.24922 5.99994 6.77753C6.79457 6.30584 7.65317 6.06547 8.57781 6.0501C9.08374 6.0501 9.7472 6.20659 10.5717 6.51416C11.3938 6.82276 11.9217 6.97926 12.1532 6.97926C12.3262 6.97926 12.9127 6.79627 13.9068 6.43145C14.847 6.09313 15.6404 5.95304 16.2905 6.00823C18.0519 6.15038 19.3752 6.84473 20.2552 8.09567C18.6799 9.05016 17.9007 10.387 17.9162 12.102C17.9304 13.4379 18.415 14.5495 19.3674 15.4321C19.799 15.8418 20.2811 16.1584 20.8174 16.3833C20.7011 16.7206 20.5783 17.0436 20.4478 17.3538ZM16.4081 1.45728C16.4081 2.50431 16.0256 3.48192 15.2631 4.38678C14.343 5.46249 13.2301 6.08408 12.0232 5.986C12.0078 5.86039 11.9989 5.72819 11.9989 5.58926C11.9989 4.58412 12.4365 3.50841 13.2135 2.62888C13.6015 2.18355 14.0949 1.81327 14.6932 1.51789C15.2902 1.22692 15.855 1.066 16.3861 1.03845C16.4016 1.17842 16.4081 1.3184 16.4081 1.45727V1.45728Z" 9927 fill="currentColor" 9928 id="Vector" 9929 /> 9930 </g> 9931 </svg> 9932 <span 9933 class="css-6g4m4t-PlatformTag" 9934 > 9935 iOS 9936 </span> 9937 </div> 9938 <br /> 9939 <h3 9940 class=" css-wbzzgj-TextComponent" 9941 data-heading="true" 9942 > 9943 <a 9944 class="css-1y48vg3" 9945 href="#getstepcountasyncstart-end" 9946 > 9947 <span 9948 class="css-s3qkfm" 9949 id="getstepcountasyncstart-end" 9950 /> 9951 <span 9952 class="css-6n7j50" 9953 > 9954 <code 9955 class="css-s0csg4-TextComponent" 9956 data-text="true" 9957 > 9958 getStepCountAsync(start, end) 9959 </code> 9960 </span> 9961 <span 9962 class="css-13330di" 9963 > 9964 <svg 9965 aria-label="permalink" 9966 class="anchor-icon" 9967 fill="none" 9968 height="24" 9969 viewBox="0 0 24 24" 9970 width="24" 9971 xmlns="http://www.w3.org/2000/svg" 9972 > 9973 <path 9974 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9975 stroke="#9B9B9B" 9976 stroke-linecap="round" 9977 stroke-linejoin="round" 9978 stroke-width="2" 9979 /> 9980 <path 9981 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9982 stroke="#9B9B9B" 9983 stroke-linecap="round" 9984 stroke-linejoin="round" 9985 stroke-width="2" 9986 /> 9987 </svg> 9988 </span> 9989 </a> 9990 </h3> 9991 <div 9992 class="css-1uyflf8-Table" 9993 > 9994 <table 9995 class="css-q84cm9-Table" 9996 > 9997 <thead 9998 class="bg-subtle border-b border-b-default border-solid" 9999 > 10000 <tr 10001 class="css-190f936-Row" 10002 > 10003 <th 10004 class="css-1uwgm7m-HeaderCell" 10005 > 10006 Name 10007 </th> 10008 <th 10009 class="css-1uwgm7m-HeaderCell" 10010 > 10011 Type 10012 </th> 10013 <th 10014 class="css-1uwgm7m-HeaderCell" 10015 > 10016 Description 10017 </th> 10018 </tr> 10019 </thead> 10020 <tbody> 10021 <tr 10022 class="css-190f936-Row" 10023 > 10024 <td 10025 class="css-zstkv9-Cell" 10026 > 10027 <strong 10028 class="css-bvflvn-TextComponent" 10029 > 10030 start 10031 </strong> 10032 </td> 10033 <td 10034 class="css-zstkv9-Cell" 10035 > 10036 <code 10037 class="css-iwb7ur-TextComponent" 10038 data-text="true" 10039 > 10040 <a 10041 class="css-1na8e0o-A" 10042 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 10043 rel="noopener noreferrer" 10044 target="_blank" 10045 > 10046 Date 10047 </a> 10048 </code> 10049 </td> 10050 <td 10051 class="css-zstkv9-Cell" 10052 > 10053 <p 10054 class="mb-4 css-1kfqm4n-TextComponent" 10055 data-text="true" 10056 > 10057 A date indicating the start of the range over which to measure steps. 10058 </p> 10059 </td> 10060 </tr> 10061 <tr 10062 class="css-190f936-Row" 10063 > 10064 <td 10065 class="css-zstkv9-Cell" 10066 > 10067 <strong 10068 class="css-bvflvn-TextComponent" 10069 > 10070 end 10071 </strong> 10072 </td> 10073 <td 10074 class="css-zstkv9-Cell" 10075 > 10076 <code 10077 class="css-iwb7ur-TextComponent" 10078 data-text="true" 10079 > 10080 <a 10081 class="css-1na8e0o-A" 10082 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 10083 rel="noopener noreferrer" 10084 target="_blank" 10085 > 10086 Date 10087 </a> 10088 </code> 10089 </td> 10090 <td 10091 class="css-zstkv9-Cell" 10092 > 10093 <p 10094 class="mb-4 css-1kfqm4n-TextComponent" 10095 data-text="true" 10096 > 10097 A date indicating the end of the range over which to measure steps. 10098 </p> 10099 </td> 10100 </tr> 10101 </tbody> 10102 </table> 10103 </div> 10104 <br /> 10105 <p 10106 class="mb-4 css-1kfqm4n-TextComponent" 10107 data-text="true" 10108 > 10109 Get the step count between two dates. 10110 </p> 10111 <p 10112 class="css-1eksndl-BoxSectionHeader" 10113 data-text="true" 10114 > 10115 Returns 10116 </p> 10117 <ul 10118 class="!list-none !ml-0 css-118jp6n-TextComponent" 10119 > 10120 <li 10121 class="css-1hxzfrf-TextComponent" 10122 data-text="true" 10123 > 10124 <svg 10125 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 10126 fill="none" 10127 role="img" 10128 stroke="currentColor" 10129 viewBox="0 0 24 24" 10130 xmlns="http://www.w3.org/2000/svg" 10131 > 10132 <g 10133 id="corner-down-right" 10134 > 10135 <path 10136 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 10137 id="Icon" 10138 stroke-linecap="round" 10139 stroke-linejoin="round" 10140 stroke-width="2" 10141 /> 10142 </g> 10143 </svg> 10144 <code 10145 class="css-iwb7ur-TextComponent" 10146 data-text="true" 10147 > 10148 <a 10149 class="css-1na8e0o-A" 10150 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 10151 rel="noopener noreferrer" 10152 target="_blank" 10153 > 10154 Promise 10155 </a> 10156 < 10157 <span> 10158 <a 10159 class="css-1na8e0o-A" 10160 href="#pedometerresult" 10161 > 10162 PedometerResult 10163 </a> 10164 </span> 10165 > 10166 </code> 10167 </li> 10168 </ul> 10169 <br /> 10170 <p 10171 class="mb-4 css-1kfqm4n-TextComponent" 10172 data-text="true" 10173 > 10174 Returns a promise that fulfills with a 10175 <a 10176 class="css-1na8e0o-A" 10177 href="#pedometerresult" 10178 > 10179 <code 10180 class="css-1a6y07t-TextComponent" 10181 data-text="true" 10182 > 10183 PedometerResult 10184 </code> 10185 </a> 10186 . 10187 </p> 10188 10189 10190 <p 10191 class="mb-4 css-1kfqm4n-TextComponent" 10192 data-text="true" 10193 > 10194 As 10195 <a 10196 class="css-1na8e0o-A" 10197 href="https://developer.apple.com/documentation/coremotion/cmpedometer/1613946-querypedometerdatafromdate?language=objc" 10198 rel="noopener noreferrer" 10199 target="_blank" 10200 > 10201 Apple documentation states 10202 </a> 10203 : 10204 </p> 10205 10206 10207 <blockquote 10208 class="css-zknray-Callout" 10209 data-testid="callout-container" 10210 > 10211 <div 10212 class="css-7jywx8-Callout" 10213 > 10214 <svg 10215 class="icon-sm text-icon-default" 10216 fill="currentColor" 10217 role="img" 10218 viewBox="0 0 24 24" 10219 xmlns="http://www.w3.org/2000/svg" 10220 > 10221 <g 10222 id="info-circle" 10223 > 10224 <path 10225 clip-rule="evenodd" 10226 d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9H12.01C12.5623 9 13.01 8.55228 13.01 8C13.01 7.44772 12.5623 7 12.01 7H12ZM13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z" 10227 fill-rule="evenodd" 10228 id="Solid" 10229 /> 10230 </g> 10231 </svg> 10232 </div> 10233 <div 10234 class="css-1m74yfi-Callout" 10235 > 10236 10237 10238 <p 10239 class="mb-4 css-1kfqm4n-TextComponent" 10240 data-text="true" 10241 > 10242 Only the past seven days worth of data is stored and available for you to retrieve. Specifying 10243a start date that is more than seven days in the past returns only the available data. 10244 </p> 10245 10246 10247 </div> 10248 </blockquote> 10249 </div> 10250 <div 10251 class="css-11xr3cd" 10252 > 10253 <h3 10254 class=" css-wbzzgj-TextComponent" 10255 data-heading="true" 10256 > 10257 <a 10258 class="css-1y48vg3" 10259 href="#isavailableasync" 10260 > 10261 <span 10262 class="css-s3qkfm" 10263 id="isavailableasync" 10264 /> 10265 <span 10266 class="css-6n7j50" 10267 > 10268 <code 10269 class="css-s0csg4-TextComponent" 10270 data-text="true" 10271 > 10272 isAvailableAsync() 10273 </code> 10274 </span> 10275 <span 10276 class="css-13330di" 10277 > 10278 <svg 10279 aria-label="permalink" 10280 class="anchor-icon" 10281 fill="none" 10282 height="24" 10283 viewBox="0 0 24 24" 10284 width="24" 10285 xmlns="http://www.w3.org/2000/svg" 10286 > 10287 <path 10288 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10289 stroke="#9B9B9B" 10290 stroke-linecap="round" 10291 stroke-linejoin="round" 10292 stroke-width="2" 10293 /> 10294 <path 10295 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10296 stroke="#9B9B9B" 10297 stroke-linecap="round" 10298 stroke-linejoin="round" 10299 stroke-width="2" 10300 /> 10301 </svg> 10302 </span> 10303 </a> 10304 </h3> 10305 <p 10306 class="mb-4 css-1kfqm4n-TextComponent" 10307 data-text="true" 10308 > 10309 Returns whether the pedometer is enabled on the device. 10310 </p> 10311 <p 10312 class="css-1eksndl-BoxSectionHeader" 10313 data-text="true" 10314 > 10315 Returns 10316 </p> 10317 <ul 10318 class="!list-none !ml-0 css-118jp6n-TextComponent" 10319 > 10320 <li 10321 class="css-1hxzfrf-TextComponent" 10322 data-text="true" 10323 > 10324 <svg 10325 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 10326 fill="none" 10327 role="img" 10328 stroke="currentColor" 10329 viewBox="0 0 24 24" 10330 xmlns="http://www.w3.org/2000/svg" 10331 > 10332 <g 10333 id="corner-down-right" 10334 > 10335 <path 10336 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 10337 id="Icon" 10338 stroke-linecap="round" 10339 stroke-linejoin="round" 10340 stroke-width="2" 10341 /> 10342 </g> 10343 </svg> 10344 <code 10345 class="css-iwb7ur-TextComponent" 10346 data-text="true" 10347 > 10348 <a 10349 class="css-1na8e0o-A" 10350 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 10351 rel="noopener noreferrer" 10352 target="_blank" 10353 > 10354 Promise 10355 </a> 10356 < 10357 <span> 10358 boolean 10359 </span> 10360 > 10361 </code> 10362 </li> 10363 </ul> 10364 <br /> 10365 <p 10366 class="mb-4 css-1kfqm4n-TextComponent" 10367 data-text="true" 10368 > 10369 Returns a promise that fulfills with a 10370 <code 10371 class="css-1a6y07t-TextComponent" 10372 data-text="true" 10373 > 10374 boolean 10375 </code> 10376 , indicating whether the pedometer is 10377available on this device. 10378 </p> 10379 </div> 10380 <div 10381 class="css-11xr3cd" 10382 > 10383 <h3 10384 class=" css-wbzzgj-TextComponent" 10385 data-heading="true" 10386 > 10387 <a 10388 class="css-1y48vg3" 10389 href="#requestpermissionsasync" 10390 > 10391 <span 10392 class="css-s3qkfm" 10393 id="requestpermissionsasync" 10394 /> 10395 <span 10396 class="css-6n7j50" 10397 > 10398 <code 10399 class="css-s0csg4-TextComponent" 10400 data-text="true" 10401 > 10402 requestPermissionsAsync() 10403 </code> 10404 </span> 10405 <span 10406 class="css-13330di" 10407 > 10408 <svg 10409 aria-label="permalink" 10410 class="anchor-icon" 10411 fill="none" 10412 height="24" 10413 viewBox="0 0 24 24" 10414 width="24" 10415 xmlns="http://www.w3.org/2000/svg" 10416 > 10417 <path 10418 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10419 stroke="#9B9B9B" 10420 stroke-linecap="round" 10421 stroke-linejoin="round" 10422 stroke-width="2" 10423 /> 10424 <path 10425 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10426 stroke="#9B9B9B" 10427 stroke-linecap="round" 10428 stroke-linejoin="round" 10429 stroke-width="2" 10430 /> 10431 </svg> 10432 </span> 10433 </a> 10434 </h3> 10435 <p 10436 class="mb-4 css-1kfqm4n-TextComponent" 10437 data-text="true" 10438 > 10439 Asks the user to grant permissions for accessing pedometer. 10440 </p> 10441 <p 10442 class="css-1eksndl-BoxSectionHeader" 10443 data-text="true" 10444 > 10445 Returns 10446 </p> 10447 <ul 10448 class="!list-none !ml-0 css-118jp6n-TextComponent" 10449 > 10450 <li 10451 class="css-1hxzfrf-TextComponent" 10452 data-text="true" 10453 > 10454 <svg 10455 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 10456 fill="none" 10457 role="img" 10458 stroke="currentColor" 10459 viewBox="0 0 24 24" 10460 xmlns="http://www.w3.org/2000/svg" 10461 > 10462 <g 10463 id="corner-down-right" 10464 > 10465 <path 10466 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 10467 id="Icon" 10468 stroke-linecap="round" 10469 stroke-linejoin="round" 10470 stroke-width="2" 10471 /> 10472 </g> 10473 </svg> 10474 <code 10475 class="css-iwb7ur-TextComponent" 10476 data-text="true" 10477 > 10478 <a 10479 class="css-1na8e0o-A" 10480 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 10481 rel="noopener noreferrer" 10482 target="_blank" 10483 > 10484 Promise 10485 </a> 10486 < 10487 <span> 10488 <a 10489 class="css-1na8e0o-A" 10490 href="#permissionresponse" 10491 > 10492 PermissionResponse 10493 </a> 10494 </span> 10495 > 10496 </code> 10497 </li> 10498 </ul> 10499 <br /> 10500 </div> 10501 <div 10502 class="css-11xr3cd" 10503 > 10504 <h3 10505 class=" css-wbzzgj-TextComponent" 10506 data-heading="true" 10507 > 10508 <a 10509 class="css-1y48vg3" 10510 href="#watchstepcountcallback" 10511 > 10512 <span 10513 class="css-s3qkfm" 10514 id="watchstepcountcallback" 10515 /> 10516 <span 10517 class="css-6n7j50" 10518 > 10519 <code 10520 class="css-s0csg4-TextComponent" 10521 data-text="true" 10522 > 10523 watchStepCount(callback) 10524 </code> 10525 </span> 10526 <span 10527 class="css-13330di" 10528 > 10529 <svg 10530 aria-label="permalink" 10531 class="anchor-icon" 10532 fill="none" 10533 height="24" 10534 viewBox="0 0 24 24" 10535 width="24" 10536 xmlns="http://www.w3.org/2000/svg" 10537 > 10538 <path 10539 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10540 stroke="#9B9B9B" 10541 stroke-linecap="round" 10542 stroke-linejoin="round" 10543 stroke-width="2" 10544 /> 10545 <path 10546 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10547 stroke="#9B9B9B" 10548 stroke-linecap="round" 10549 stroke-linejoin="round" 10550 stroke-width="2" 10551 /> 10552 </svg> 10553 </span> 10554 </a> 10555 </h3> 10556 <div 10557 class="css-1uyflf8-Table" 10558 > 10559 <table 10560 class="css-q84cm9-Table" 10561 > 10562 <thead 10563 class="bg-subtle border-b border-b-default border-solid" 10564 > 10565 <tr 10566 class="css-190f936-Row" 10567 > 10568 <th 10569 class="css-1uwgm7m-HeaderCell" 10570 > 10571 Name 10572 </th> 10573 <th 10574 class="css-1uwgm7m-HeaderCell" 10575 > 10576 Type 10577 </th> 10578 <th 10579 class="css-1uwgm7m-HeaderCell" 10580 > 10581 Description 10582 </th> 10583 </tr> 10584 </thead> 10585 <tbody> 10586 <tr 10587 class="css-190f936-Row" 10588 > 10589 <td 10590 class="css-zstkv9-Cell" 10591 > 10592 <strong 10593 class="css-bvflvn-TextComponent" 10594 > 10595 callback 10596 </strong> 10597 </td> 10598 <td 10599 class="css-zstkv9-Cell" 10600 > 10601 <code 10602 class="css-iwb7ur-TextComponent" 10603 data-text="true" 10604 > 10605 <a 10606 class="css-1na8e0o-A" 10607 href="#pedometerupdatecallback" 10608 > 10609 PedometerUpdateCallback 10610 </a> 10611 </code> 10612 </td> 10613 <td 10614 class="css-zstkv9-Cell" 10615 > 10616 <p 10617 class="mb-4 css-1kfqm4n-TextComponent" 10618 data-text="true" 10619 > 10620 A callback that is invoked when new step count data is available. The callback is 10621provided with a single argument that is 10622 <a 10623 class="css-1na8e0o-A" 10624 href="#pedometerresult" 10625 > 10626 <code 10627 class="css-1a6y07t-TextComponent" 10628 data-text="true" 10629 > 10630 PedometerResult 10631 </code> 10632 </a> 10633 . 10634 </p> 10635 </td> 10636 </tr> 10637 </tbody> 10638 </table> 10639 </div> 10640 <br /> 10641 <p 10642 class="mb-4 css-1kfqm4n-TextComponent" 10643 data-text="true" 10644 > 10645 Subscribe to pedometer updates. 10646 </p> 10647 <p 10648 class="css-1eksndl-BoxSectionHeader" 10649 data-text="true" 10650 > 10651 Returns 10652 </p> 10653 <ul 10654 class="!list-none !ml-0 css-118jp6n-TextComponent" 10655 > 10656 <li 10657 class="css-1hxzfrf-TextComponent" 10658 data-text="true" 10659 > 10660 <svg 10661 class="inline-block icon-sm text-icon-secondary align-middle mr-2" 10662 fill="none" 10663 role="img" 10664 stroke="currentColor" 10665 viewBox="0 0 24 24" 10666 xmlns="http://www.w3.org/2000/svg" 10667 > 10668 <g 10669 id="corner-down-right" 10670 > 10671 <path 10672 d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" 10673 id="Icon" 10674 stroke-linecap="round" 10675 stroke-linejoin="round" 10676 stroke-width="2" 10677 /> 10678 </g> 10679 </svg> 10680 <code 10681 class="css-iwb7ur-TextComponent" 10682 data-text="true" 10683 > 10684 <a 10685 class="css-1na8e0o-A" 10686 href="#subscription" 10687 > 10688 Subscription 10689 </a> 10690 </code> 10691 </li> 10692 </ul> 10693 <br /> 10694 <p 10695 class="mb-4 css-1kfqm4n-TextComponent" 10696 data-text="true" 10697 > 10698 Returns a 10699 <a 10700 class="css-1na8e0o-A" 10701 href="#subscription" 10702 > 10703 <code 10704 class="css-1a6y07t-TextComponent" 10705 data-text="true" 10706 > 10707 Subscription 10708 </code> 10709 </a> 10710 that enables you to call 10711 10712 <code 10713 class="css-1a6y07t-TextComponent" 10714 data-text="true" 10715 > 10716 remove() 10717 </code> 10718 when you would like to unsubscribe the listener. 10719 </p> 10720 </div> 10721 <h2 10722 class=" css-1qsxz84-TextComponent" 10723 data-heading="true" 10724 > 10725 <a 10726 class="css-1y48vg3" 10727 href="#interfaces" 10728 > 10729 <span 10730 class="css-s3qkfm" 10731 id="interfaces" 10732 /> 10733 <span 10734 class="css-6n7j50" 10735 > 10736 Interfaces 10737 </span> 10738 <span 10739 class="css-13330di" 10740 > 10741 <svg 10742 aria-label="permalink" 10743 class="anchor-icon" 10744 fill="none" 10745 height="24" 10746 viewBox="0 0 24 24" 10747 width="24" 10748 xmlns="http://www.w3.org/2000/svg" 10749 > 10750 <path 10751 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10752 stroke="#9B9B9B" 10753 stroke-linecap="round" 10754 stroke-linejoin="round" 10755 stroke-width="2" 10756 /> 10757 <path 10758 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10759 stroke="#9B9B9B" 10760 stroke-linecap="round" 10761 stroke-linejoin="round" 10762 stroke-width="2" 10763 /> 10764 </svg> 10765 </span> 10766 </a> 10767 </h2> 10768 <div 10769 class="css-11xr3cd" 10770 > 10771 <h3 10772 class=" css-wbzzgj-TextComponent" 10773 data-heading="true" 10774 > 10775 <a 10776 class="css-1y48vg3" 10777 href="#permissionresponse" 10778 > 10779 <span 10780 class="css-s3qkfm" 10781 id="permissionresponse" 10782 /> 10783 <span 10784 class="css-6n7j50" 10785 > 10786 <code 10787 class="css-yd3r23-TextComponent" 10788 data-text="true" 10789 > 10790 PermissionResponse 10791 </code> 10792 </span> 10793 <span 10794 class="css-13330di" 10795 > 10796 <svg 10797 aria-label="permalink" 10798 class="anchor-icon" 10799 fill="none" 10800 height="24" 10801 viewBox="0 0 24 24" 10802 width="24" 10803 xmlns="http://www.w3.org/2000/svg" 10804 > 10805 <path 10806 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 10807 stroke="#9B9B9B" 10808 stroke-linecap="round" 10809 stroke-linejoin="round" 10810 stroke-width="2" 10811 /> 10812 <path 10813 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 10814 stroke="#9B9B9B" 10815 stroke-linecap="round" 10816 stroke-linejoin="round" 10817 stroke-width="2" 10818 /> 10819 </svg> 10820 </span> 10821 </a> 10822 </h3> 10823 <p 10824 class="mb-4 css-1kfqm4n-TextComponent" 10825 data-text="true" 10826 > 10827 An object obtained by permissions get and request functions. 10828 </p> 10829 <p 10830 class="css-1eksndl-BoxSectionHeader" 10831 data-text="true" 10832 > 10833 PermissionResponse Properties 10834 </p> 10835 <div 10836 class="css-1uyflf8-Table" 10837 > 10838 <table 10839 class="css-q84cm9-Table" 10840 > 10841 <thead 10842 class="bg-subtle border-b border-b-default border-solid" 10843 > 10844 <tr 10845 class="css-190f936-Row" 10846 > 10847 <th 10848 class="css-1uwgm7m-HeaderCell" 10849 > 10850 Name 10851 </th> 10852 <th 10853 class="css-1uwgm7m-HeaderCell" 10854 > 10855 Type 10856 </th> 10857 <th 10858 class="css-1uwgm7m-HeaderCell" 10859 > 10860 Description 10861 </th> 10862 </tr> 10863 </thead> 10864 <tbody> 10865 <tr 10866 class="css-190f936-Row" 10867 > 10868 <td 10869 class="css-18p3734-Cell" 10870 > 10871 <strong 10872 class="css-bvflvn-TextComponent" 10873 > 10874 canAskAgain 10875 </strong> 10876 </td> 10877 <td 10878 class="css-18p3734-Cell" 10879 > 10880 <code 10881 class="css-iwb7ur-TextComponent" 10882 data-text="true" 10883 > 10884 boolean 10885 </code> 10886 </td> 10887 <td 10888 class="css-18p3734-Cell" 10889 > 10890 <p 10891 class="mb-4 css-1kfqm4n-TextComponent" 10892 data-text="true" 10893 > 10894 Indicates if user can be asked again for specific permission. 10895If not, one should be directed to the Settings app 10896in order to enable/disable the permission. 10897 </p> 10898 </td> 10899 </tr> 10900 <tr 10901 class="css-190f936-Row" 10902 > 10903 <td 10904 class="css-18p3734-Cell" 10905 > 10906 <strong 10907 class="css-bvflvn-TextComponent" 10908 > 10909 expires 10910 </strong> 10911 </td> 10912 <td 10913 class="css-18p3734-Cell" 10914 > 10915 <code 10916 class="css-iwb7ur-TextComponent" 10917 data-text="true" 10918 > 10919 <a 10920 class="css-1na8e0o-A" 10921 href="#permissionexpiration" 10922 > 10923 PermissionExpiration 10924 </a> 10925 </code> 10926 </td> 10927 <td 10928 class="css-18p3734-Cell" 10929 > 10930 <p 10931 class="mb-4 css-1kfqm4n-TextComponent" 10932 data-text="true" 10933 > 10934 Determines time when the permission expires. 10935 </p> 10936 </td> 10937 </tr> 10938 <tr 10939 class="css-190f936-Row" 10940 > 10941 <td 10942 class="css-18p3734-Cell" 10943 > 10944 <strong 10945 class="css-bvflvn-TextComponent" 10946 > 10947 granted 10948 </strong> 10949 </td> 10950 <td 10951 class="css-18p3734-Cell" 10952 > 10953 <code 10954 class="css-iwb7ur-TextComponent" 10955 data-text="true" 10956 > 10957 boolean 10958 </code> 10959 </td> 10960 <td 10961 class="css-18p3734-Cell" 10962 > 10963 <p 10964 class="mb-4 css-1kfqm4n-TextComponent" 10965 data-text="true" 10966 > 10967 A convenience boolean that indicates if the permission is granted. 10968 </p> 10969 </td> 10970 </tr> 10971 <tr 10972 class="css-190f936-Row" 10973 > 10974 <td 10975 class="css-18p3734-Cell" 10976 > 10977 <strong 10978 class="css-bvflvn-TextComponent" 10979 > 10980 status 10981 </strong> 10982 </td> 10983 <td 10984 class="css-18p3734-Cell" 10985 > 10986 <code 10987 class="css-iwb7ur-TextComponent" 10988 data-text="true" 10989 > 10990 <a 10991 class="css-1na8e0o-A" 10992 href="#permissionstatus" 10993 > 10994 PermissionStatus 10995 </a> 10996 </code> 10997 </td> 10998 <td 10999 class="css-18p3734-Cell" 11000 > 11001 <p 11002 class="mb-4 css-1kfqm4n-TextComponent" 11003 data-text="true" 11004 > 11005 Determines the status of the permission. 11006 </p> 11007 </td> 11008 </tr> 11009 </tbody> 11010 </table> 11011 </div> 11012 <br /> 11013 </div> 11014 <h2 11015 class=" css-1qsxz84-TextComponent" 11016 data-heading="true" 11017 > 11018 <a 11019 class="css-1y48vg3" 11020 href="#types" 11021 > 11022 <span 11023 class="css-s3qkfm" 11024 id="types" 11025 /> 11026 <span 11027 class="css-6n7j50" 11028 > 11029 Types 11030 </span> 11031 <span 11032 class="css-13330di" 11033 > 11034 <svg 11035 aria-label="permalink" 11036 class="anchor-icon" 11037 fill="none" 11038 height="24" 11039 viewBox="0 0 24 24" 11040 width="24" 11041 xmlns="http://www.w3.org/2000/svg" 11042 > 11043 <path 11044 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11045 stroke="#9B9B9B" 11046 stroke-linecap="round" 11047 stroke-linejoin="round" 11048 stroke-width="2" 11049 /> 11050 <path 11051 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11052 stroke="#9B9B9B" 11053 stroke-linecap="round" 11054 stroke-linejoin="round" 11055 stroke-width="2" 11056 /> 11057 </svg> 11058 </span> 11059 </a> 11060 </h2> 11061 <div 11062 class="css-1fultt1" 11063 > 11064 <h3 11065 class=" css-wbzzgj-TextComponent" 11066 data-heading="true" 11067 > 11068 <a 11069 class="css-1y48vg3" 11070 href="#pedometerresult" 11071 > 11072 <span 11073 class="css-s3qkfm" 11074 id="pedometerresult" 11075 /> 11076 <span 11077 class="css-6n7j50" 11078 > 11079 <code 11080 class="css-yd3r23-TextComponent" 11081 data-text="true" 11082 > 11083 PedometerResult 11084 </code> 11085 </span> 11086 <span 11087 class="css-13330di" 11088 > 11089 <svg 11090 aria-label="permalink" 11091 class="anchor-icon" 11092 fill="none" 11093 height="24" 11094 viewBox="0 0 24 24" 11095 width="24" 11096 xmlns="http://www.w3.org/2000/svg" 11097 > 11098 <path 11099 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11100 stroke="#9B9B9B" 11101 stroke-linecap="round" 11102 stroke-linejoin="round" 11103 stroke-width="2" 11104 /> 11105 <path 11106 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11107 stroke="#9B9B9B" 11108 stroke-linecap="round" 11109 stroke-linejoin="round" 11110 stroke-width="2" 11111 /> 11112 </svg> 11113 </span> 11114 </a> 11115 </h3> 11116 <div 11117 class="css-1uyflf8-Table" 11118 > 11119 <table 11120 class="css-q84cm9-Table" 11121 > 11122 <thead 11123 class="bg-subtle border-b border-b-default border-solid" 11124 > 11125 <tr 11126 class="css-190f936-Row" 11127 > 11128 <th 11129 class="css-1uwgm7m-HeaderCell" 11130 > 11131 Name 11132 </th> 11133 <th 11134 class="css-1uwgm7m-HeaderCell" 11135 > 11136 Type 11137 </th> 11138 <th 11139 class="css-1uwgm7m-HeaderCell" 11140 > 11141 Description 11142 </th> 11143 </tr> 11144 </thead> 11145 <tbody> 11146 <tr 11147 class="css-190f936-Row" 11148 > 11149 <td 11150 class="css-18p3734-Cell" 11151 > 11152 <strong 11153 class="css-bvflvn-TextComponent" 11154 > 11155 steps 11156 </strong> 11157 </td> 11158 <td 11159 class="css-18p3734-Cell" 11160 > 11161 <code 11162 class="css-iwb7ur-TextComponent" 11163 data-text="true" 11164 > 11165 number 11166 </code> 11167 </td> 11168 <td 11169 class="css-18p3734-Cell" 11170 > 11171 <p 11172 class="mb-4 css-1kfqm4n-TextComponent" 11173 data-text="true" 11174 > 11175 Number of steps taken between the given dates. 11176 </p> 11177 </td> 11178 </tr> 11179 </tbody> 11180 </table> 11181 </div> 11182 </div> 11183 <div 11184 class="css-1fultt1" 11185 > 11186 <h3 11187 class=" css-wbzzgj-TextComponent" 11188 data-heading="true" 11189 > 11190 <a 11191 class="css-1y48vg3" 11192 href="#pedometerupdatecallback" 11193 > 11194 <span 11195 class="css-s3qkfm" 11196 id="pedometerupdatecallback" 11197 /> 11198 <span 11199 class="css-6n7j50" 11200 > 11201 <code 11202 class="css-yd3r23-TextComponent" 11203 data-text="true" 11204 > 11205 PedometerUpdateCallback 11206 () 11207 </code> 11208 </span> 11209 <span 11210 class="css-13330di" 11211 > 11212 <svg 11213 aria-label="permalink" 11214 class="anchor-icon" 11215 fill="none" 11216 height="24" 11217 viewBox="0 0 24 24" 11218 width="24" 11219 xmlns="http://www.w3.org/2000/svg" 11220 > 11221 <path 11222 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11223 stroke="#9B9B9B" 11224 stroke-linecap="round" 11225 stroke-linejoin="round" 11226 stroke-width="2" 11227 /> 11228 <path 11229 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11230 stroke="#9B9B9B" 11231 stroke-linecap="round" 11232 stroke-linejoin="round" 11233 stroke-width="2" 11234 /> 11235 </svg> 11236 </span> 11237 </a> 11238 </h3> 11239 <div> 11240 <p 11241 class="mb-4 css-1kfqm4n-TextComponent" 11242 data-text="true" 11243 > 11244 Callback function providing event result as an argument. 11245 </p> 11246 <div 11247 class="css-1uyflf8-Table" 11248 > 11249 <table 11250 class="css-q84cm9-Table" 11251 > 11252 <thead 11253 class="bg-subtle border-b border-b-default border-solid" 11254 > 11255 <tr 11256 class="css-190f936-Row" 11257 > 11258 <th 11259 class="css-1uwgm7m-HeaderCell" 11260 > 11261 Name 11262 </th> 11263 <th 11264 class="css-1uwgm7m-HeaderCell" 11265 > 11266 Type 11267 </th> 11268 <th 11269 class="css-1uwgm7m-HeaderCell" 11270 > 11271 Description 11272 </th> 11273 </tr> 11274 </thead> 11275 <tbody> 11276 <tr 11277 class="css-190f936-Row" 11278 > 11279 <td 11280 class="css-zstkv9-Cell" 11281 > 11282 <strong 11283 class="css-bvflvn-TextComponent" 11284 > 11285 result 11286 </strong> 11287 </td> 11288 <td 11289 class="css-zstkv9-Cell" 11290 > 11291 <code 11292 class="css-iwb7ur-TextComponent" 11293 data-text="true" 11294 > 11295 <a 11296 class="css-1na8e0o-A" 11297 href="#pedometerresult" 11298 > 11299 PedometerResult 11300 </a> 11301 </code> 11302 </td> 11303 <td 11304 class="css-zstkv9-Cell" 11305 > 11306 - 11307 </td> 11308 </tr> 11309 </tbody> 11310 </table> 11311 </div> 11312 </div> 11313 </div> 11314 <div 11315 class="css-1fultt1" 11316 > 11317 <h3 11318 class=" css-wbzzgj-TextComponent" 11319 data-heading="true" 11320 > 11321 <a 11322 class="css-1y48vg3" 11323 href="#permissionexpiration" 11324 > 11325 <span 11326 class="css-s3qkfm" 11327 id="permissionexpiration" 11328 /> 11329 <span 11330 class="css-6n7j50" 11331 > 11332 <code 11333 class="css-yd3r23-TextComponent" 11334 data-text="true" 11335 > 11336 PermissionExpiration 11337 </code> 11338 </span> 11339 <span 11340 class="css-13330di" 11341 > 11342 <svg 11343 aria-label="permalink" 11344 class="anchor-icon" 11345 fill="none" 11346 height="24" 11347 viewBox="0 0 24 24" 11348 width="24" 11349 xmlns="http://www.w3.org/2000/svg" 11350 > 11351 <path 11352 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11353 stroke="#9B9B9B" 11354 stroke-linecap="round" 11355 stroke-linejoin="round" 11356 stroke-width="2" 11357 /> 11358 <path 11359 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11360 stroke="#9B9B9B" 11361 stroke-linecap="round" 11362 stroke-linejoin="round" 11363 stroke-width="2" 11364 /> 11365 </svg> 11366 </span> 11367 </a> 11368 </h3> 11369 <p 11370 class="mb-4 css-1kfqm4n-TextComponent" 11371 data-text="true" 11372 > 11373 Permission expiration time. Currently, all permissions are granted permanently. 11374 </p> 11375 <p 11376 class="css-1kfqm4n-TextComponent" 11377 data-text="true" 11378 > 11379 Acceptable values are: 11380 11381 <span> 11382 <code 11383 class="css-iwb7ur-TextComponent" 11384 data-text="true" 11385 > 11386 'never' 11387 </code> 11388 , 11389 </span> 11390 <span> 11391 <code 11392 class="css-iwb7ur-TextComponent" 11393 data-text="true" 11394 > 11395 number 11396 </code> 11397 . 11398 </span> 11399 </p> 11400 </div> 11401 <div 11402 class="css-1fultt1" 11403 > 11404 <h3 11405 class=" css-wbzzgj-TextComponent" 11406 data-heading="true" 11407 > 11408 <a 11409 class="css-1y48vg3" 11410 href="#subscription" 11411 > 11412 <span 11413 class="css-s3qkfm" 11414 id="subscription" 11415 /> 11416 <span 11417 class="css-6n7j50" 11418 > 11419 <code 11420 class="css-yd3r23-TextComponent" 11421 data-text="true" 11422 > 11423 Subscription 11424 </code> 11425 </span> 11426 <span 11427 class="css-13330di" 11428 > 11429 <svg 11430 aria-label="permalink" 11431 class="anchor-icon" 11432 fill="none" 11433 height="24" 11434 viewBox="0 0 24 24" 11435 width="24" 11436 xmlns="http://www.w3.org/2000/svg" 11437 > 11438 <path 11439 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11440 stroke="#9B9B9B" 11441 stroke-linecap="round" 11442 stroke-linejoin="round" 11443 stroke-width="2" 11444 /> 11445 <path 11446 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11447 stroke="#9B9B9B" 11448 stroke-linecap="round" 11449 stroke-linejoin="round" 11450 stroke-width="2" 11451 /> 11452 </svg> 11453 </span> 11454 </a> 11455 </h3> 11456 <div 11457 class="css-1uyflf8-Table" 11458 > 11459 <table 11460 class="css-q84cm9-Table" 11461 > 11462 <thead 11463 class="bg-subtle border-b border-b-default border-solid" 11464 > 11465 <tr 11466 class="css-190f936-Row" 11467 > 11468 <th 11469 class="css-1uwgm7m-HeaderCell" 11470 > 11471 Name 11472 </th> 11473 <th 11474 class="css-1uwgm7m-HeaderCell" 11475 > 11476 Type 11477 </th> 11478 <th 11479 class="css-1uwgm7m-HeaderCell" 11480 > 11481 Description 11482 </th> 11483 </tr> 11484 </thead> 11485 <tbody> 11486 <tr 11487 class="css-190f936-Row" 11488 > 11489 <td 11490 class="css-18p3734-Cell" 11491 > 11492 <strong 11493 class="css-bvflvn-TextComponent" 11494 > 11495 remove 11496 </strong> 11497 </td> 11498 <td 11499 class="css-18p3734-Cell" 11500 > 11501 <code 11502 class="css-iwb7ur-TextComponent" 11503 data-text="true" 11504 > 11505 () => 11506 11507 void 11508 </code> 11509 </td> 11510 <td 11511 class="css-18p3734-Cell" 11512 > 11513 - 11514 </td> 11515 </tr> 11516 </tbody> 11517 </table> 11518 </div> 11519 </div> 11520 <h2 11521 class=" css-1qsxz84-TextComponent" 11522 data-heading="true" 11523 > 11524 <a 11525 class="css-1y48vg3" 11526 href="#enums" 11527 > 11528 <span 11529 class="css-s3qkfm" 11530 id="enums" 11531 /> 11532 <span 11533 class="css-6n7j50" 11534 > 11535 Enums 11536 </span> 11537 <span 11538 class="css-13330di" 11539 > 11540 <svg 11541 aria-label="permalink" 11542 class="anchor-icon" 11543 fill="none" 11544 height="24" 11545 viewBox="0 0 24 24" 11546 width="24" 11547 xmlns="http://www.w3.org/2000/svg" 11548 > 11549 <path 11550 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11551 stroke="#9B9B9B" 11552 stroke-linecap="round" 11553 stroke-linejoin="round" 11554 stroke-width="2" 11555 /> 11556 <path 11557 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11558 stroke="#9B9B9B" 11559 stroke-linecap="round" 11560 stroke-linejoin="round" 11561 stroke-width="2" 11562 /> 11563 </svg> 11564 </span> 11565 </a> 11566 </h2> 11567 <div 11568 class="css-1gsbrid" 11569 > 11570 <h3 11571 class=" css-wbzzgj-TextComponent" 11572 data-heading="true" 11573 > 11574 <a 11575 class="css-1y48vg3" 11576 href="#permissionstatus" 11577 > 11578 <span 11579 class="css-s3qkfm" 11580 id="permissionstatus" 11581 /> 11582 <span 11583 class="css-6n7j50" 11584 > 11585 <code 11586 class="css-yd3r23-TextComponent" 11587 data-text="true" 11588 > 11589 PermissionStatus 11590 </code> 11591 </span> 11592 <span 11593 class="css-13330di" 11594 > 11595 <svg 11596 aria-label="permalink" 11597 class="anchor-icon" 11598 fill="none" 11599 height="24" 11600 viewBox="0 0 24 24" 11601 width="24" 11602 xmlns="http://www.w3.org/2000/svg" 11603 > 11604 <path 11605 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11606 stroke="#9B9B9B" 11607 stroke-linecap="round" 11608 stroke-linejoin="round" 11609 stroke-width="2" 11610 /> 11611 <path 11612 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11613 stroke="#9B9B9B" 11614 stroke-linecap="round" 11615 stroke-linejoin="round" 11616 stroke-width="2" 11617 /> 11618 </svg> 11619 </span> 11620 </a> 11621 </h3> 11622 <div 11623 class="css-11xr3cd" 11624 > 11625 <h4 11626 class=" css-1y1xevk-TextComponent" 11627 data-heading="true" 11628 > 11629 <a 11630 class="css-1y48vg3" 11631 href="#denied" 11632 > 11633 <span 11634 class="css-s3qkfm" 11635 id="denied" 11636 /> 11637 <span 11638 class="css-6n7j50" 11639 > 11640 <code 11641 class="css-iwb7ur-TextComponent" 11642 data-text="true" 11643 > 11644 DENIED 11645 </code> 11646 </span> 11647 <span 11648 class="css-13330di" 11649 > 11650 <svg 11651 aria-label="permalink" 11652 class="anchor-icon" 11653 fill="none" 11654 height="24" 11655 viewBox="0 0 24 24" 11656 width="24" 11657 xmlns="http://www.w3.org/2000/svg" 11658 > 11659 <path 11660 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11661 stroke="#9B9B9B" 11662 stroke-linecap="round" 11663 stroke-linejoin="round" 11664 stroke-width="2" 11665 /> 11666 <path 11667 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11668 stroke="#9B9B9B" 11669 stroke-linecap="round" 11670 stroke-linejoin="round" 11671 stroke-width="2" 11672 /> 11673 </svg> 11674 </span> 11675 </a> 11676 </h4> 11677 <code 11678 class="mb-4 css-1h2013i-TextComponent" 11679 data-text="true" 11680 > 11681 PermissionStatus.DENIED = "denied" 11682 </code> 11683 <p 11684 class="mb-4 css-1kfqm4n-TextComponent" 11685 data-text="true" 11686 > 11687 User has denied the permission. 11688 </p> 11689 </div> 11690 <div 11691 class="css-11xr3cd" 11692 > 11693 <h4 11694 class=" css-1y1xevk-TextComponent" 11695 data-heading="true" 11696 > 11697 <a 11698 class="css-1y48vg3" 11699 href="#granted" 11700 > 11701 <span 11702 class="css-s3qkfm" 11703 id="granted" 11704 /> 11705 <span 11706 class="css-6n7j50" 11707 > 11708 <code 11709 class="css-iwb7ur-TextComponent" 11710 data-text="true" 11711 > 11712 GRANTED 11713 </code> 11714 </span> 11715 <span 11716 class="css-13330di" 11717 > 11718 <svg 11719 aria-label="permalink" 11720 class="anchor-icon" 11721 fill="none" 11722 height="24" 11723 viewBox="0 0 24 24" 11724 width="24" 11725 xmlns="http://www.w3.org/2000/svg" 11726 > 11727 <path 11728 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11729 stroke="#9B9B9B" 11730 stroke-linecap="round" 11731 stroke-linejoin="round" 11732 stroke-width="2" 11733 /> 11734 <path 11735 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11736 stroke="#9B9B9B" 11737 stroke-linecap="round" 11738 stroke-linejoin="round" 11739 stroke-width="2" 11740 /> 11741 </svg> 11742 </span> 11743 </a> 11744 </h4> 11745 <code 11746 class="mb-4 css-1h2013i-TextComponent" 11747 data-text="true" 11748 > 11749 PermissionStatus.GRANTED = "granted" 11750 </code> 11751 <p 11752 class="mb-4 css-1kfqm4n-TextComponent" 11753 data-text="true" 11754 > 11755 User has granted the permission. 11756 </p> 11757 </div> 11758 <div 11759 class="css-11xr3cd" 11760 > 11761 <h4 11762 class=" css-1y1xevk-TextComponent" 11763 data-heading="true" 11764 > 11765 <a 11766 class="css-1y48vg3" 11767 href="#undetermined" 11768 > 11769 <span 11770 class="css-s3qkfm" 11771 id="undetermined" 11772 /> 11773 <span 11774 class="css-6n7j50" 11775 > 11776 <code 11777 class="css-iwb7ur-TextComponent" 11778 data-text="true" 11779 > 11780 UNDETERMINED 11781 </code> 11782 </span> 11783 <span 11784 class="css-13330di" 11785 > 11786 <svg 11787 aria-label="permalink" 11788 class="anchor-icon" 11789 fill="none" 11790 height="24" 11791 viewBox="0 0 24 24" 11792 width="24" 11793 xmlns="http://www.w3.org/2000/svg" 11794 > 11795 <path 11796 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 11797 stroke="#9B9B9B" 11798 stroke-linecap="round" 11799 stroke-linejoin="round" 11800 stroke-width="2" 11801 /> 11802 <path 11803 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 11804 stroke="#9B9B9B" 11805 stroke-linecap="round" 11806 stroke-linejoin="round" 11807 stroke-width="2" 11808 /> 11809 </svg> 11810 </span> 11811 </a> 11812 </h4> 11813 <code 11814 class="mb-4 css-1h2013i-TextComponent" 11815 data-text="true" 11816 > 11817 PermissionStatus.UNDETERMINED = "undetermined" 11818 </code> 11819 <p 11820 class="mb-4 css-1kfqm4n-TextComponent" 11821 data-text="true" 11822 > 11823 User hasn't granted or denied the permission yet. 11824 </p> 11825 </div> 11826 </div> 11827</div> 11828`; 11829 11830exports[`APISection no data 1`] = ` 11831<div> 11832 <p 11833 class="css-1kfqm4n-TextComponent" 11834 data-text="true" 11835 > 11836 No API data file found, sorry! 11837 </p> 11838</div> 11839`; 11840