1// Jest Snapshot v1, https://goo.gl/fbAQLP 2 3exports[`APISection expo-apple-authentication 1`] = ` 4<div> 5 <h2 6 class="css-1v5aebx-h2-h2-STYLES_H2" 7 data-heading="true" 8 > 9 <div 10 class="css-1rh3o5q-STYLES_PERMALINK" 11 > 12 <span 13 class="css-zonpcr-STYLES_PERMALINK_TARGET" 14 id="components" 15 /> 16 <a 17 class="css-15lh5hg-STYLES_PERMALINK_LINK" 18 href="#components" 19 > 20 <span 21 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 22 > 23 Components 24 </span> 25 <span 26 class="css-10vdcw8-STYLES_PERMALINK_ICON" 27 > 28 <svg 29 aria-label="permalink" 30 class="anchor-icon" 31 fill="none" 32 height="24" 33 viewBox="0 0 24 24" 34 width="24" 35 xmlns="http://www.w3.org/2000/svg" 36 > 37 <path 38 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 39 stroke="#9B9B9B" 40 stroke-linecap="round" 41 stroke-linejoin="round" 42 stroke-width="2" 43 /> 44 <path 45 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 46 stroke="#9B9B9B" 47 stroke-linecap="round" 48 stroke-linejoin="round" 49 stroke-width="2" 50 /> 51 </svg> 52 </span> 53 </a> 54 </div> 55 </h2> 56 <div> 57 <h3 58 class="css-icxoph-h3-h3-STYLES_H3" 59 data-heading="true" 60 > 61 <div 62 class="css-1rh3o5q-STYLES_PERMALINK" 63 > 64 <span 65 class="css-zonpcr-STYLES_PERMALINK_TARGET" 66 id="appleauthenticationbutton" 67 /> 68 <a 69 class="css-15lh5hg-STYLES_PERMALINK_LINK" 70 href="#appleauthenticationbutton" 71 > 72 <span 73 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 74 > 75 <code 76 class="inline css-nuv12a-STYLES_INLINE_CODE" 77 > 78 AppleAuthenticationButton 79 </code> 80 </span> 81 <span 82 class="css-10vdcw8-STYLES_PERMALINK_ICON" 83 > 84 <svg 85 aria-label="permalink" 86 class="anchor-icon" 87 fill="none" 88 height="24" 89 viewBox="0 0 24 24" 90 width="24" 91 xmlns="http://www.w3.org/2000/svg" 92 > 93 <path 94 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 95 stroke="#9B9B9B" 96 stroke-linecap="round" 97 stroke-linejoin="round" 98 stroke-width="2" 99 /> 100 <path 101 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 102 stroke="#9B9B9B" 103 stroke-linecap="round" 104 stroke-linejoin="round" 105 stroke-width="2" 106 /> 107 </svg> 108 </span> 109 </a> 110 </div> 111 </h3> 112 <p 113 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 114 data-text="true" 115 > 116 <strong 117 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 118 > 119 Type: 120 </strong> 121 122 <code 123 class="inline css-nuv12a-STYLES_INLINE_CODE" 124 > 125 React.FC 126 < 127 <span> 128 <a 129 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 130 href="/#appleauthenticationbuttonprops" 131 > 132 AppleAuthenticationButtonProps 133 </a> 134 </span> 135 > 136 </code> 137 </p> 138 <p 139 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 140 data-text="true" 141 > 142 This component displays the proprietary "Sign In with Apple" / "Continue with Apple" button on 143your screen. The App Store Guidelines require you to use this component to start the 144authentication process instead of a custom button. Limited customization of the button is 145available via the provided properties. 146 </p> 147 <p 148 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 149 data-text="true" 150 > 151 You should only attempt to render this if 152 <a 153 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 154 href="/#isavailableasync" 155 > 156 <code 157 class="inline css-nuv12a-STYLES_INLINE_CODE" 158 > 159 AppleAuthentication.isAvailableAsync() 160 </code> 161 </a> 162 163resolves to 164 <code 165 class="inline css-nuv12a-STYLES_INLINE_CODE" 166 > 167 true 168 </code> 169 . This component will render nothing if it is not available, and you will get 170a warning in development mode ( 171 <code 172 class="inline css-nuv12a-STYLES_INLINE_CODE" 173 > 174 __DEV__ === true 175 </code> 176 ). 177 </p> 178 179 180 <p 181 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 182 data-text="true" 183 > 184 The properties of this component extend from 185 <code 186 class="inline css-nuv12a-STYLES_INLINE_CODE" 187 > 188 View 189 </code> 190 ; however, you should not attempt to set 191 192 <code 193 class="inline css-nuv12a-STYLES_INLINE_CODE" 194 > 195 backgroundColor 196 </code> 197 or 198 <code 199 class="inline css-nuv12a-STYLES_INLINE_CODE" 200 > 201 borderRadius 202 </code> 203 with the 204 <code 205 class="inline css-nuv12a-STYLES_INLINE_CODE" 206 > 207 style 208 </code> 209 property. This will not work and is against 210the App Store Guidelines. Instead, you should use the 211 <code 212 class="inline css-nuv12a-STYLES_INLINE_CODE" 213 > 214 buttonStyle 215 </code> 216 property to choose one of the 217predefined color styles and the 218 <code 219 class="inline css-nuv12a-STYLES_INLINE_CODE" 220 > 221 cornerRadius 222 </code> 223 property to change the border radius of the 224button. 225 </p> 226 227 228 <p 229 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 230 data-text="true" 231 > 232 Make sure to attach height and width via the style props as without these styles, the button will 233not appear on the screen. 234 </p> 235 <blockquote 236 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 237 data-text="true" 238 > 239 <div> 240 <div 241 style="margin-top: 2px;" 242 > 243 <svg 244 aria-label="check" 245 fill="none" 246 height="16" 247 viewBox="0 0 24 24" 248 width="16" 249 xmlns="http://www.w3.org/2000/svg" 250 > 251 <path 252 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 253 fill="var(--expo-theme-icon-default)" 254 /> 255 </svg> 256 </div> 257 </div> 258 <div> 259 <strong 260 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 261 > 262 See: 263 </strong> 264 <span> 265 <a 266 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 267 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidbutton" 268 rel="noopener noreferrer" 269 > 270 Apple 271Documentation 272 </a> 273 274for more details. 275 </span> 276 </div> 277 </blockquote> 278 <h3 279 class="css-icxoph-h3-h3-STYLES_H3" 280 data-heading="true" 281 > 282 <div 283 class="css-1rh3o5q-STYLES_PERMALINK" 284 > 285 <span 286 class="css-zonpcr-STYLES_PERMALINK_TARGET" 287 id="appleauthenticationbuttonprops" 288 /> 289 <a 290 class="css-15lh5hg-STYLES_PERMALINK_LINK" 291 href="#appleauthenticationbuttonprops" 292 > 293 <span 294 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 295 > 296 <code 297 class="inline css-nuv12a-STYLES_INLINE_CODE" 298 > 299 AppleAuthenticationButtonProps 300 </code> 301 </span> 302 <span 303 class="css-10vdcw8-STYLES_PERMALINK_ICON" 304 > 305 <svg 306 aria-label="permalink" 307 class="anchor-icon" 308 fill="none" 309 height="24" 310 viewBox="0 0 24 24" 311 width="24" 312 xmlns="http://www.w3.org/2000/svg" 313 > 314 <path 315 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 316 stroke="#9B9B9B" 317 stroke-linecap="round" 318 stroke-linejoin="round" 319 stroke-width="2" 320 /> 321 <path 322 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 323 stroke="#9B9B9B" 324 stroke-linecap="round" 325 stroke-linejoin="round" 326 stroke-width="2" 327 /> 328 </svg> 329 </span> 330 </a> 331 </div> 332 </h3> 333 <br /> 334 <div> 335 <ul 336 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 337 data-text="true" 338 > 339 <li 340 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 341 > 342 <h4 343 class="css-1j2s5xo-h4-h4-STYLES_H4" 344 data-heading="true" 345 > 346 buttonStyle 347 </h4> 348 <p 349 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 350 data-text="true" 351 > 352 <span 353 class="css-t865as-STYLES_SECONDARY" 354 > 355 Type: 356 </span> 357 358 <code 359 class="inline css-nuv12a-STYLES_INLINE_CODE" 360 > 361 <a 362 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 363 href="/#appleauthenticationbuttonstyle" 364 > 365 AppleAuthenticationButtonStyle 366 </a> 367 </code> 368 </p> 369 <p 370 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 371 data-text="true" 372 > 373 The Apple-defined color scheme to use to display the button. 374 </p> 375 </li> 376 <li 377 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 378 > 379 <h4 380 class="css-1j2s5xo-h4-h4-STYLES_H4" 381 data-heading="true" 382 > 383 buttonType 384 </h4> 385 <p 386 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 387 data-text="true" 388 > 389 <span 390 class="css-t865as-STYLES_SECONDARY" 391 > 392 Type: 393 </span> 394 395 <code 396 class="inline css-nuv12a-STYLES_INLINE_CODE" 397 > 398 <a 399 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 400 href="/#appleauthenticationbuttontype" 401 > 402 AppleAuthenticationButtonType 403 </a> 404 </code> 405 </p> 406 <p 407 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 408 data-text="true" 409 > 410 The type of button text to display ("Sign In with Apple" vs. "Continue with Apple"). 411 </p> 412 </li> 413 <li 414 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 415 > 416 <h4 417 class="css-1j2s5xo-h4-h4-STYLES_H4" 418 data-heading="true" 419 > 420 cornerRadius 421 </h4> 422 <p 423 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 424 data-text="true" 425 > 426 <span 427 class="css-t865as-STYLES_SECONDARY" 428 > 429 Optional • 430 </span> 431 <span 432 class="css-t865as-STYLES_SECONDARY" 433 > 434 Type: 435 </span> 436 437 <code 438 class="inline css-nuv12a-STYLES_INLINE_CODE" 439 > 440 number 441 </code> 442 </p> 443 <p 444 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 445 data-text="true" 446 > 447 The border radius to use when rendering the button. This works similarly to 448 449 <code 450 class="inline css-nuv12a-STYLES_INLINE_CODE" 451 > 452 style.borderRadius 453 </code> 454 in other Views. 455 </p> 456 </li> 457 <li 458 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 459 > 460 <h4 461 class="css-1j2s5xo-h4-h4-STYLES_H4" 462 data-heading="true" 463 > 464 style 465 </h4> 466 <p 467 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 468 data-text="true" 469 > 470 <span 471 class="css-t865as-STYLES_SECONDARY" 472 > 473 Optional • 474 </span> 475 <span 476 class="css-t865as-STYLES_SECONDARY" 477 > 478 Type: 479 </span> 480 481 <code 482 class="inline css-nuv12a-STYLES_INLINE_CODE" 483 > 484 StyleProp 485 < 486 <span> 487 <a 488 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 489 href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" 490 rel="noopener noreferrer" 491 > 492 Omit 493 </a> 494 < 495 <span> 496 <a 497 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 498 href="/react-native/view-style-props" 499 > 500 ViewStyle 501 </a> 502 , 503 </span> 504 <span> 505 <span> 506 'backgroundColor' 507 | 508 </span> 509 <span> 510 'borderRadius' 511 </span> 512 </span> 513 > 514 </span> 515 > 516 </code> 517 </p> 518 <p 519 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 520 data-text="true" 521 > 522 The custom style to apply to the button. Should not include 523 <code 524 class="inline css-nuv12a-STYLES_INLINE_CODE" 525 > 526 backgroundColor 527 </code> 528 or 529 <code 530 class="inline css-nuv12a-STYLES_INLINE_CODE" 531 > 532 borderRadius 533 </code> 534 535properties. 536 </p> 537 </li> 538 <li 539 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 540 > 541 <h4 542 class="css-1j2s5xo-h4-h4-STYLES_H4" 543 data-heading="true" 544 > 545 onPress 546 </h4> 547 <p 548 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 549 data-text="true" 550 > 551 <span 552 class="css-t865as-STYLES_SECONDARY" 553 > 554 Type: 555 </span> 556 557 <code 558 class="inline css-nuv12a-STYLES_INLINE_CODE" 559 > 560 ( 561 562 ) => 563 void 564 </code> 565 </p> 566 <p 567 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 568 data-text="true" 569 > 570 The method to call when the user presses the button. You should call 571 <a 572 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 573 href="/#isavailableasync" 574 > 575 <code 576 class="inline css-nuv12a-STYLES_INLINE_CODE" 577 > 578 AppleAuthentication.signInAsync 579 </code> 580 </a> 581 582in here. 583 </p> 584 </li> 585 </ul> 586 <h4 587 class="css-1j2s5xo-h4-h4-STYLES_H4" 588 data-heading="true" 589 > 590 Inherited Props 591 </h4> 592 <ul 593 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 594 data-text="true" 595 > 596 <li 597 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 598 > 599 <code 600 class="inline css-nuv12a-STYLES_INLINE_CODE" 601 > 602 <a 603 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 604 href="/react-native/view#props" 605 > 606 ViewProps 607 </a> 608 </code> 609 </li> 610 </ul> 611 </div> 612 </div> 613 <h2 614 class="css-1v5aebx-h2-h2-STYLES_H2" 615 data-heading="true" 616 > 617 <div 618 class="css-1rh3o5q-STYLES_PERMALINK" 619 > 620 <span 621 class="css-zonpcr-STYLES_PERMALINK_TARGET" 622 id="methods" 623 /> 624 <a 625 class="css-15lh5hg-STYLES_PERMALINK_LINK" 626 href="#methods" 627 > 628 <span 629 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 630 > 631 Methods 632 </span> 633 <span 634 class="css-10vdcw8-STYLES_PERMALINK_ICON" 635 > 636 <svg 637 aria-label="permalink" 638 class="anchor-icon" 639 fill="none" 640 height="24" 641 viewBox="0 0 24 24" 642 width="24" 643 xmlns="http://www.w3.org/2000/svg" 644 > 645 <path 646 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 647 stroke="#9B9B9B" 648 stroke-linecap="round" 649 stroke-linejoin="round" 650 stroke-width="2" 651 /> 652 <path 653 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 654 stroke="#9B9B9B" 655 stroke-linecap="round" 656 stroke-linejoin="round" 657 stroke-width="2" 658 /> 659 </svg> 660 </span> 661 </a> 662 </div> 663 </h2> 664 <div> 665 <h3 666 class="css-icxoph-h3-h3-STYLES_H3" 667 data-heading="true" 668 > 669 <div 670 class="css-1rh3o5q-STYLES_PERMALINK" 671 > 672 <span 673 class="css-zonpcr-STYLES_PERMALINK_TARGET" 674 id="getcredentialstateasyncuser" 675 /> 676 <a 677 class="css-15lh5hg-STYLES_PERMALINK_LINK" 678 href="#getcredentialstateasyncuser" 679 > 680 <span 681 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 682 > 683 <code 684 class="inline css-nuv12a-STYLES_INLINE_CODE" 685 > 686 getCredentialStateAsync(user) 687 </code> 688 </span> 689 <span 690 class="css-10vdcw8-STYLES_PERMALINK_ICON" 691 > 692 <svg 693 aria-label="permalink" 694 class="anchor-icon" 695 fill="none" 696 height="24" 697 viewBox="0 0 24 24" 698 width="24" 699 xmlns="http://www.w3.org/2000/svg" 700 > 701 <path 702 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 703 stroke="#9B9B9B" 704 stroke-linecap="round" 705 stroke-linejoin="round" 706 stroke-width="2" 707 /> 708 <path 709 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 710 stroke="#9B9B9B" 711 stroke-linecap="round" 712 stroke-linejoin="round" 713 stroke-width="2" 714 /> 715 </svg> 716 </span> 717 </a> 718 </div> 719 </h3> 720 <h4 721 class=" css-1j2s5xo-h4-h4-STYLES_H4" 722 data-components-heading="true" 723 data-heading="true" 724 > 725 <div 726 class="css-1rh3o5q-STYLES_PERMALINK" 727 > 728 <span 729 class="css-zonpcr-STYLES_PERMALINK_TARGET" 730 id="arguments" 731 /> 732 <a 733 class="css-15lh5hg-STYLES_PERMALINK_LINK" 734 href="#arguments" 735 > 736 <span 737 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 738 > 739 Arguments 740 </span> 741 <span 742 class="css-10vdcw8-STYLES_PERMALINK_ICON" 743 > 744 <svg 745 aria-label="permalink" 746 class="anchor-icon" 747 fill="none" 748 height="24" 749 viewBox="0 0 24 24" 750 width="24" 751 xmlns="http://www.w3.org/2000/svg" 752 > 753 <path 754 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 755 stroke="#9B9B9B" 756 stroke-linecap="round" 757 stroke-linejoin="round" 758 stroke-width="2" 759 /> 760 <path 761 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 762 stroke="#9B9B9B" 763 stroke-linecap="round" 764 stroke-linejoin="round" 765 stroke-width="2" 766 /> 767 </svg> 768 </span> 769 </a> 770 </div> 771 </h4> 772 <ul 773 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 774 data-text="true" 775 > 776 <li 777 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 778 > 779 <strong 780 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 781 > 782 user 783 ( 784 <code 785 class="inline css-nuv12a-STYLES_INLINE_CODE" 786 > 787 string 788 </code> 789 ) 790 </strong> 791 - 792 <span> 793 The unique identifier for the user whose credential state you'd like to check. 794This should come from the user field of an 795 <a 796 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 797 href="/#appleauthenticationcredentialstate" 798 > 799 <code 800 class="inline css-nuv12a-STYLES_INLINE_CODE" 801 > 802 AppleAuthenticationCredential 803 </code> 804 </a> 805 object. 806 </span> 807 </li> 808 </ul> 809 <p 810 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 811 data-text="true" 812 > 813 Queries the current state of a user credential, to determine if it is still valid or if it has been revoked. 814 </p> 815 816 817 <blockquote 818 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 819 data-text="true" 820 > 821 <div> 822 <div 823 style="margin-top: 2px;" 824 > 825 <svg 826 aria-label="check" 827 fill="none" 828 height="16" 829 viewBox="0 0 24 24" 830 width="16" 831 xmlns="http://www.w3.org/2000/svg" 832 > 833 <path 834 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 835 fill="var(--expo-theme-icon-default)" 836 /> 837 </svg> 838 </div> 839 </div> 840 <div> 841 842 843 <strong 844 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 845 > 846 Note: 847 </strong> 848 This method must be tested on a real device. On the iOS simulator it always throws an error. 849 850 851 </div> 852 </blockquote> 853 <div> 854 <h4 855 class=" css-1j2s5xo-h4-h4-STYLES_H4" 856 data-components-heading="true" 857 data-heading="true" 858 > 859 <div 860 class="css-1rh3o5q-STYLES_PERMALINK" 861 > 862 <span 863 class="css-zonpcr-STYLES_PERMALINK_TARGET" 864 id="returns" 865 /> 866 <a 867 class="css-15lh5hg-STYLES_PERMALINK_LINK" 868 href="#returns" 869 > 870 <span 871 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 872 > 873 Returns 874 </span> 875 <span 876 class="css-10vdcw8-STYLES_PERMALINK_ICON" 877 > 878 <svg 879 aria-label="permalink" 880 class="anchor-icon" 881 fill="none" 882 height="24" 883 viewBox="0 0 24 24" 884 width="24" 885 xmlns="http://www.w3.org/2000/svg" 886 > 887 <path 888 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 889 stroke="#9B9B9B" 890 stroke-linecap="round" 891 stroke-linejoin="round" 892 stroke-width="2" 893 /> 894 <path 895 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 896 stroke="#9B9B9B" 897 stroke-linecap="round" 898 stroke-linejoin="round" 899 stroke-width="2" 900 /> 901 </svg> 902 </span> 903 </a> 904 </div> 905 </h4> 906 <ul 907 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 908 data-text="true" 909 > 910 <li 911 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 912 > 913 <code 914 class="inline css-nuv12a-STYLES_INLINE_CODE" 915 > 916 <a 917 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 918 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 919 rel="noopener noreferrer" 920 > 921 Promise 922 </a> 923 < 924 <span> 925 <a 926 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 927 href="/#appleauthenticationcredentialstate" 928 > 929 AppleAuthenticationCredentialState 930 </a> 931 </span> 932 > 933 </code> 934 </li> 935 </ul> 936 <p 937 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 938 data-text="true" 939 > 940 A promise that fulfills with an 941 <a 942 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 943 href="/#appleauthenticationcredentialstate" 944 > 945 <code 946 class="inline css-nuv12a-STYLES_INLINE_CODE" 947 > 948 AppleAuthenticationCredentialState 949 </code> 950 </a> 951 952value depending on the state of the credential. 953 </p> 954 </div> 955 <hr /> 956 </div> 957 <div> 958 <h3 959 class="css-icxoph-h3-h3-STYLES_H3" 960 data-heading="true" 961 > 962 <div 963 class="css-1rh3o5q-STYLES_PERMALINK" 964 > 965 <span 966 class="css-zonpcr-STYLES_PERMALINK_TARGET" 967 id="isavailableasync" 968 /> 969 <a 970 class="css-15lh5hg-STYLES_PERMALINK_LINK" 971 href="#isavailableasync" 972 > 973 <span 974 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 975 > 976 <code 977 class="inline css-nuv12a-STYLES_INLINE_CODE" 978 > 979 isAvailableAsync() 980 </code> 981 </span> 982 <span 983 class="css-10vdcw8-STYLES_PERMALINK_ICON" 984 > 985 <svg 986 aria-label="permalink" 987 class="anchor-icon" 988 fill="none" 989 height="24" 990 viewBox="0 0 24 24" 991 width="24" 992 xmlns="http://www.w3.org/2000/svg" 993 > 994 <path 995 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 996 stroke="#9B9B9B" 997 stroke-linecap="round" 998 stroke-linejoin="round" 999 stroke-width="2" 1000 /> 1001 <path 1002 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1003 stroke="#9B9B9B" 1004 stroke-linecap="round" 1005 stroke-linejoin="round" 1006 stroke-width="2" 1007 /> 1008 </svg> 1009 </span> 1010 </a> 1011 </div> 1012 </h3> 1013 <p 1014 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1015 data-text="true" 1016 > 1017 Determine if the current device's operating system supports Apple authentication. 1018 </p> 1019 <div> 1020 <h4 1021 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1022 data-components-heading="true" 1023 data-heading="true" 1024 > 1025 <div 1026 class="css-1rh3o5q-STYLES_PERMALINK" 1027 > 1028 <span 1029 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1030 id="returns-1" 1031 /> 1032 <a 1033 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1034 href="#returns-1" 1035 > 1036 <span 1037 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1038 > 1039 Returns 1040 </span> 1041 <span 1042 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1043 > 1044 <svg 1045 aria-label="permalink" 1046 class="anchor-icon" 1047 fill="none" 1048 height="24" 1049 viewBox="0 0 24 24" 1050 width="24" 1051 xmlns="http://www.w3.org/2000/svg" 1052 > 1053 <path 1054 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1055 stroke="#9B9B9B" 1056 stroke-linecap="round" 1057 stroke-linejoin="round" 1058 stroke-width="2" 1059 /> 1060 <path 1061 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1062 stroke="#9B9B9B" 1063 stroke-linecap="round" 1064 stroke-linejoin="round" 1065 stroke-width="2" 1066 /> 1067 </svg> 1068 </span> 1069 </a> 1070 </div> 1071 </h4> 1072 <ul 1073 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1074 data-text="true" 1075 > 1076 <li 1077 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1078 > 1079 <code 1080 class="inline css-nuv12a-STYLES_INLINE_CODE" 1081 > 1082 <a 1083 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1084 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1085 rel="noopener noreferrer" 1086 > 1087 Promise 1088 </a> 1089 < 1090 <span> 1091 boolean 1092 </span> 1093 > 1094 </code> 1095 </li> 1096 </ul> 1097 <p 1098 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1099 data-text="true" 1100 > 1101 A promise that fulfills with 1102 <code 1103 class="inline css-nuv12a-STYLES_INLINE_CODE" 1104 > 1105 true 1106 </code> 1107 if the system supports Apple authentication, and 1108 <code 1109 class="inline css-nuv12a-STYLES_INLINE_CODE" 1110 > 1111 false 1112 </code> 1113 otherwise. 1114 </p> 1115 </div> 1116 <hr /> 1117 </div> 1118 <div> 1119 <h3 1120 class="css-icxoph-h3-h3-STYLES_H3" 1121 data-heading="true" 1122 > 1123 <div 1124 class="css-1rh3o5q-STYLES_PERMALINK" 1125 > 1126 <span 1127 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1128 id="refreshasyncoptions" 1129 /> 1130 <a 1131 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1132 href="#refreshasyncoptions" 1133 > 1134 <span 1135 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1136 > 1137 <code 1138 class="inline css-nuv12a-STYLES_INLINE_CODE" 1139 > 1140 refreshAsync(options) 1141 </code> 1142 </span> 1143 <span 1144 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1145 > 1146 <svg 1147 aria-label="permalink" 1148 class="anchor-icon" 1149 fill="none" 1150 height="24" 1151 viewBox="0 0 24 24" 1152 width="24" 1153 xmlns="http://www.w3.org/2000/svg" 1154 > 1155 <path 1156 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1157 stroke="#9B9B9B" 1158 stroke-linecap="round" 1159 stroke-linejoin="round" 1160 stroke-width="2" 1161 /> 1162 <path 1163 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1164 stroke="#9B9B9B" 1165 stroke-linecap="round" 1166 stroke-linejoin="round" 1167 stroke-width="2" 1168 /> 1169 </svg> 1170 </span> 1171 </a> 1172 </div> 1173 </h3> 1174 <h4 1175 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1176 data-components-heading="true" 1177 data-heading="true" 1178 > 1179 <div 1180 class="css-1rh3o5q-STYLES_PERMALINK" 1181 > 1182 <span 1183 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1184 id="arguments-1" 1185 /> 1186 <a 1187 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1188 href="#arguments-1" 1189 > 1190 <span 1191 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1192 > 1193 Arguments 1194 </span> 1195 <span 1196 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1197 > 1198 <svg 1199 aria-label="permalink" 1200 class="anchor-icon" 1201 fill="none" 1202 height="24" 1203 viewBox="0 0 24 24" 1204 width="24" 1205 xmlns="http://www.w3.org/2000/svg" 1206 > 1207 <path 1208 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1209 stroke="#9B9B9B" 1210 stroke-linecap="round" 1211 stroke-linejoin="round" 1212 stroke-width="2" 1213 /> 1214 <path 1215 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1216 stroke="#9B9B9B" 1217 stroke-linecap="round" 1218 stroke-linejoin="round" 1219 stroke-width="2" 1220 /> 1221 </svg> 1222 </span> 1223 </a> 1224 </div> 1225 </h4> 1226 <ul 1227 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1228 data-text="true" 1229 > 1230 <li 1231 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 1232 > 1233 <strong 1234 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 1235 > 1236 options 1237 ( 1238 <code 1239 class="inline css-nuv12a-STYLES_INLINE_CODE" 1240 > 1241 <a 1242 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1243 href="/#appleauthenticationrefreshoptions" 1244 > 1245 AppleAuthenticationRefreshOptions 1246 </a> 1247 </code> 1248 ) 1249 </strong> 1250 - 1251 <span> 1252 An 1253 <a 1254 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1255 href="/#appleauthenticationrefreshoptions" 1256 > 1257 <code 1258 class="inline css-nuv12a-STYLES_INLINE_CODE" 1259 > 1260 AppleAuthenticationRefreshOptions 1261 </code> 1262 </a> 1263 object 1264 </span> 1265 </li> 1266 </ul> 1267 <p 1268 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1269 data-text="true" 1270 > 1271 An operation that refreshes the logged-in user’s credentials. 1272Calling this method will show the sign in modal before actually refreshing the user credentials. 1273 </p> 1274 <div> 1275 <h4 1276 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1277 data-components-heading="true" 1278 data-heading="true" 1279 > 1280 <div 1281 class="css-1rh3o5q-STYLES_PERMALINK" 1282 > 1283 <span 1284 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1285 id="returns-2" 1286 /> 1287 <a 1288 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1289 href="#returns-2" 1290 > 1291 <span 1292 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1293 > 1294 Returns 1295 </span> 1296 <span 1297 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1298 > 1299 <svg 1300 aria-label="permalink" 1301 class="anchor-icon" 1302 fill="none" 1303 height="24" 1304 viewBox="0 0 24 24" 1305 width="24" 1306 xmlns="http://www.w3.org/2000/svg" 1307 > 1308 <path 1309 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1310 stroke="#9B9B9B" 1311 stroke-linecap="round" 1312 stroke-linejoin="round" 1313 stroke-width="2" 1314 /> 1315 <path 1316 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1317 stroke="#9B9B9B" 1318 stroke-linecap="round" 1319 stroke-linejoin="round" 1320 stroke-width="2" 1321 /> 1322 </svg> 1323 </span> 1324 </a> 1325 </div> 1326 </h4> 1327 <ul 1328 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1329 data-text="true" 1330 > 1331 <li 1332 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1333 > 1334 <code 1335 class="inline css-nuv12a-STYLES_INLINE_CODE" 1336 > 1337 <a 1338 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1339 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1340 rel="noopener noreferrer" 1341 > 1342 Promise 1343 </a> 1344 < 1345 <span> 1346 <a 1347 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1348 href="/#appleauthenticationcredential" 1349 > 1350 AppleAuthenticationCredential 1351 </a> 1352 </span> 1353 > 1354 </code> 1355 </li> 1356 </ul> 1357 <p 1358 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1359 data-text="true" 1360 > 1361 A promise that fulfills with an 1362 <a 1363 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1364 href="/#appleauthenticationcredential" 1365 > 1366 <code 1367 class="inline css-nuv12a-STYLES_INLINE_CODE" 1368 > 1369 AppleAuthenticationCredential 1370 </code> 1371 </a> 1372 1373object after a successful authentication, and rejects with 1374 <code 1375 class="inline css-nuv12a-STYLES_INLINE_CODE" 1376 > 1377 ERR_CANCELED 1378 </code> 1379 if the user cancels the 1380refresh operation. 1381 </p> 1382 </div> 1383 <hr /> 1384 </div> 1385 <div> 1386 <h3 1387 class="css-icxoph-h3-h3-STYLES_H3" 1388 data-heading="true" 1389 > 1390 <div 1391 class="css-1rh3o5q-STYLES_PERMALINK" 1392 > 1393 <span 1394 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1395 id="signinasyncoptions" 1396 /> 1397 <a 1398 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1399 href="#signinasyncoptions" 1400 > 1401 <span 1402 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1403 > 1404 <code 1405 class="inline css-nuv12a-STYLES_INLINE_CODE" 1406 > 1407 signInAsync(options) 1408 </code> 1409 </span> 1410 <span 1411 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1412 > 1413 <svg 1414 aria-label="permalink" 1415 class="anchor-icon" 1416 fill="none" 1417 height="24" 1418 viewBox="0 0 24 24" 1419 width="24" 1420 xmlns="http://www.w3.org/2000/svg" 1421 > 1422 <path 1423 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1424 stroke="#9B9B9B" 1425 stroke-linecap="round" 1426 stroke-linejoin="round" 1427 stroke-width="2" 1428 /> 1429 <path 1430 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1431 stroke="#9B9B9B" 1432 stroke-linecap="round" 1433 stroke-linejoin="round" 1434 stroke-width="2" 1435 /> 1436 </svg> 1437 </span> 1438 </a> 1439 </div> 1440 </h3> 1441 <h4 1442 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1443 data-components-heading="true" 1444 data-heading="true" 1445 > 1446 <div 1447 class="css-1rh3o5q-STYLES_PERMALINK" 1448 > 1449 <span 1450 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1451 id="arguments-2" 1452 /> 1453 <a 1454 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1455 href="#arguments-2" 1456 > 1457 <span 1458 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1459 > 1460 Arguments 1461 </span> 1462 <span 1463 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1464 > 1465 <svg 1466 aria-label="permalink" 1467 class="anchor-icon" 1468 fill="none" 1469 height="24" 1470 viewBox="0 0 24 24" 1471 width="24" 1472 xmlns="http://www.w3.org/2000/svg" 1473 > 1474 <path 1475 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1476 stroke="#9B9B9B" 1477 stroke-linecap="round" 1478 stroke-linejoin="round" 1479 stroke-width="2" 1480 /> 1481 <path 1482 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1483 stroke="#9B9B9B" 1484 stroke-linecap="round" 1485 stroke-linejoin="round" 1486 stroke-width="2" 1487 /> 1488 </svg> 1489 </span> 1490 </a> 1491 </div> 1492 </h4> 1493 <ul 1494 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1495 data-text="true" 1496 > 1497 <li 1498 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 1499 > 1500 <strong 1501 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 1502 > 1503 options 1504 ? 1505 ( 1506 <code 1507 class="inline css-nuv12a-STYLES_INLINE_CODE" 1508 > 1509 <a 1510 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1511 href="/#appleauthenticationsigninoptions" 1512 > 1513 AppleAuthenticationSignInOptions 1514 </a> 1515 </code> 1516 ) 1517 </strong> 1518 - 1519 <span> 1520 An optional 1521 <a 1522 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1523 href="/#appleauthenticationsigninoptions" 1524 > 1525 <code 1526 class="inline css-nuv12a-STYLES_INLINE_CODE" 1527 > 1528 AppleAuthenticationSignInOptions 1529 </code> 1530 </a> 1531 object 1532 </span> 1533 </li> 1534 </ul> 1535 <p 1536 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1537 data-text="true" 1538 > 1539 Sends a request to the operating system to initiate the Apple authentication flow, which will 1540present a modal to the user over your app and allow them to sign in. 1541 </p> 1542 <p 1543 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1544 data-text="true" 1545 > 1546 You can request access to the user's full name and email address in this method, which allows you 1547to personalize your UI for signed in users. However, users can deny access to either or both 1548of these options at runtime. 1549 </p> 1550 1551 1552 <p 1553 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1554 data-text="true" 1555 > 1556 Additionally, you will only receive Apple Authentication Credentials the first time users sign 1557into your app, so you must store it for later use. It's best to store this information either 1558server-side, or using 1559 <a 1560 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1561 href="/securestore" 1562 > 1563 SecureStore 1564 </a> 1565 , so that the data persists across app installs. 1566You can use 1567 <a 1568 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1569 href="/#appleauthenticationcredential" 1570 > 1571 <code 1572 class="inline css-nuv12a-STYLES_INLINE_CODE" 1573 > 1574 AppleAuthenticationCredential.user 1575 </code> 1576 </a> 1577 to identify 1578the user, since this remains the same for apps released by the same developer. 1579 </p> 1580 <div> 1581 <h4 1582 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1583 data-components-heading="true" 1584 data-heading="true" 1585 > 1586 <div 1587 class="css-1rh3o5q-STYLES_PERMALINK" 1588 > 1589 <span 1590 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1591 id="returns-3" 1592 /> 1593 <a 1594 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1595 href="#returns-3" 1596 > 1597 <span 1598 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1599 > 1600 Returns 1601 </span> 1602 <span 1603 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1604 > 1605 <svg 1606 aria-label="permalink" 1607 class="anchor-icon" 1608 fill="none" 1609 height="24" 1610 viewBox="0 0 24 24" 1611 width="24" 1612 xmlns="http://www.w3.org/2000/svg" 1613 > 1614 <path 1615 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1616 stroke="#9B9B9B" 1617 stroke-linecap="round" 1618 stroke-linejoin="round" 1619 stroke-width="2" 1620 /> 1621 <path 1622 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1623 stroke="#9B9B9B" 1624 stroke-linecap="round" 1625 stroke-linejoin="round" 1626 stroke-width="2" 1627 /> 1628 </svg> 1629 </span> 1630 </a> 1631 </div> 1632 </h4> 1633 <ul 1634 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1635 data-text="true" 1636 > 1637 <li 1638 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1639 > 1640 <code 1641 class="inline css-nuv12a-STYLES_INLINE_CODE" 1642 > 1643 <a 1644 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1645 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1646 rel="noopener noreferrer" 1647 > 1648 Promise 1649 </a> 1650 < 1651 <span> 1652 <a 1653 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1654 href="/#appleauthenticationcredential" 1655 > 1656 AppleAuthenticationCredential 1657 </a> 1658 </span> 1659 > 1660 </code> 1661 </li> 1662 </ul> 1663 <p 1664 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1665 data-text="true" 1666 > 1667 A promise that fulfills with an 1668 <a 1669 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1670 href="/#appleauthenticationcredential" 1671 > 1672 <code 1673 class="inline css-nuv12a-STYLES_INLINE_CODE" 1674 > 1675 AppleAuthenticationCredential 1676 </code> 1677 </a> 1678 1679object after a successful authentication, and rejects with 1680 <code 1681 class="inline css-nuv12a-STYLES_INLINE_CODE" 1682 > 1683 ERR_CANCELED 1684 </code> 1685 if the user cancels the 1686sign-in operation. 1687 </p> 1688 </div> 1689 <hr /> 1690 </div> 1691 <div> 1692 <h3 1693 class="css-icxoph-h3-h3-STYLES_H3" 1694 data-heading="true" 1695 > 1696 <div 1697 class="css-1rh3o5q-STYLES_PERMALINK" 1698 > 1699 <span 1700 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1701 id="signoutasyncoptions" 1702 /> 1703 <a 1704 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1705 href="#signoutasyncoptions" 1706 > 1707 <span 1708 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1709 > 1710 <code 1711 class="inline css-nuv12a-STYLES_INLINE_CODE" 1712 > 1713 signOutAsync(options) 1714 </code> 1715 </span> 1716 <span 1717 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1718 > 1719 <svg 1720 aria-label="permalink" 1721 class="anchor-icon" 1722 fill="none" 1723 height="24" 1724 viewBox="0 0 24 24" 1725 width="24" 1726 xmlns="http://www.w3.org/2000/svg" 1727 > 1728 <path 1729 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1730 stroke="#9B9B9B" 1731 stroke-linecap="round" 1732 stroke-linejoin="round" 1733 stroke-width="2" 1734 /> 1735 <path 1736 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1737 stroke="#9B9B9B" 1738 stroke-linecap="round" 1739 stroke-linejoin="round" 1740 stroke-width="2" 1741 /> 1742 </svg> 1743 </span> 1744 </a> 1745 </div> 1746 </h3> 1747 <h4 1748 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1749 data-components-heading="true" 1750 data-heading="true" 1751 > 1752 <div 1753 class="css-1rh3o5q-STYLES_PERMALINK" 1754 > 1755 <span 1756 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1757 id="arguments-3" 1758 /> 1759 <a 1760 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1761 href="#arguments-3" 1762 > 1763 <span 1764 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1765 > 1766 Arguments 1767 </span> 1768 <span 1769 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1770 > 1771 <svg 1772 aria-label="permalink" 1773 class="anchor-icon" 1774 fill="none" 1775 height="24" 1776 viewBox="0 0 24 24" 1777 width="24" 1778 xmlns="http://www.w3.org/2000/svg" 1779 > 1780 <path 1781 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1782 stroke="#9B9B9B" 1783 stroke-linecap="round" 1784 stroke-linejoin="round" 1785 stroke-width="2" 1786 /> 1787 <path 1788 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1789 stroke="#9B9B9B" 1790 stroke-linecap="round" 1791 stroke-linejoin="round" 1792 stroke-width="2" 1793 /> 1794 </svg> 1795 </span> 1796 </a> 1797 </div> 1798 </h4> 1799 <ul 1800 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1801 data-text="true" 1802 > 1803 <li 1804 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 1805 > 1806 <strong 1807 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 1808 > 1809 options 1810 ( 1811 <code 1812 class="inline css-nuv12a-STYLES_INLINE_CODE" 1813 > 1814 <a 1815 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1816 href="/#appleauthenticationsignoutoptions" 1817 > 1818 AppleAuthenticationSignOutOptions 1819 </a> 1820 </code> 1821 ) 1822 </strong> 1823 - 1824 <span> 1825 An 1826 <a 1827 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1828 href="/#appleauthenticationsignoutoptions" 1829 > 1830 <code 1831 class="inline css-nuv12a-STYLES_INLINE_CODE" 1832 > 1833 AppleAuthenticationSignOutOptions 1834 </code> 1835 </a> 1836 object 1837 </span> 1838 </li> 1839 </ul> 1840 <p 1841 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1842 data-text="true" 1843 > 1844 An operation that ends the authenticated session. 1845Calling this method will show the sign in modal before actually signing the user out. 1846 </p> 1847 <p 1848 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1849 data-text="true" 1850 > 1851 It is not recommended to use this method to sign out the user as it works counterintuitively. 1852Instead of using this method it is recommended to simply clear all the user's data collected 1853from using 1854 <a 1855 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1856 href="/#signinasync" 1857 > 1858 <code 1859 class="inline css-nuv12a-STYLES_INLINE_CODE" 1860 > 1861 signInAsync 1862 </code> 1863 </a> 1864 or 1865 <a 1866 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1867 href="/#refreshasync" 1868 > 1869 <code 1870 class="inline css-nuv12a-STYLES_INLINE_CODE" 1871 > 1872 refreshAsync 1873 </code> 1874 </a> 1875 methods. 1876 </p> 1877 <div> 1878 <h4 1879 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1880 data-components-heading="true" 1881 data-heading="true" 1882 > 1883 <div 1884 class="css-1rh3o5q-STYLES_PERMALINK" 1885 > 1886 <span 1887 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1888 id="returns-4" 1889 /> 1890 <a 1891 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1892 href="#returns-4" 1893 > 1894 <span 1895 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1896 > 1897 Returns 1898 </span> 1899 <span 1900 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1901 > 1902 <svg 1903 aria-label="permalink" 1904 class="anchor-icon" 1905 fill="none" 1906 height="24" 1907 viewBox="0 0 24 24" 1908 width="24" 1909 xmlns="http://www.w3.org/2000/svg" 1910 > 1911 <path 1912 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1913 stroke="#9B9B9B" 1914 stroke-linecap="round" 1915 stroke-linejoin="round" 1916 stroke-width="2" 1917 /> 1918 <path 1919 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1920 stroke="#9B9B9B" 1921 stroke-linecap="round" 1922 stroke-linejoin="round" 1923 stroke-width="2" 1924 /> 1925 </svg> 1926 </span> 1927 </a> 1928 </div> 1929 </h4> 1930 <ul 1931 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1932 data-text="true" 1933 > 1934 <li 1935 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1936 > 1937 <code 1938 class="inline css-nuv12a-STYLES_INLINE_CODE" 1939 > 1940 <a 1941 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1942 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1943 rel="noopener noreferrer" 1944 > 1945 Promise 1946 </a> 1947 < 1948 <span> 1949 <a 1950 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1951 href="/#appleauthenticationcredential" 1952 > 1953 AppleAuthenticationCredential 1954 </a> 1955 </span> 1956 > 1957 </code> 1958 </li> 1959 </ul> 1960 <p 1961 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1962 data-text="true" 1963 > 1964 A promise that fulfills with an 1965 <a 1966 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1967 href="/#appleauthenticationcredential" 1968 > 1969 <code 1970 class="inline css-nuv12a-STYLES_INLINE_CODE" 1971 > 1972 AppleAuthenticationCredential 1973 </code> 1974 </a> 1975 1976object after a successful authentication, and rejects with 1977 <code 1978 class="inline css-nuv12a-STYLES_INLINE_CODE" 1979 > 1980 ERR_CANCELED 1981 </code> 1982 if the user cancels the 1983sign-out operation. 1984 </p> 1985 </div> 1986 </div> 1987 <h2 1988 class="css-1v5aebx-h2-h2-STYLES_H2" 1989 data-heading="true" 1990 > 1991 <div 1992 class="css-1rh3o5q-STYLES_PERMALINK" 1993 > 1994 <span 1995 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1996 id="event-subscriptions" 1997 /> 1998 <a 1999 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2000 href="#event-subscriptions" 2001 > 2002 <span 2003 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2004 > 2005 Event Subscriptions 2006 </span> 2007 <span 2008 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2009 > 2010 <svg 2011 aria-label="permalink" 2012 class="anchor-icon" 2013 fill="none" 2014 height="24" 2015 viewBox="0 0 24 24" 2016 width="24" 2017 xmlns="http://www.w3.org/2000/svg" 2018 > 2019 <path 2020 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2021 stroke="#9B9B9B" 2022 stroke-linecap="round" 2023 stroke-linejoin="round" 2024 stroke-width="2" 2025 /> 2026 <path 2027 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2028 stroke="#9B9B9B" 2029 stroke-linecap="round" 2030 stroke-linejoin="round" 2031 stroke-width="2" 2032 /> 2033 </svg> 2034 </span> 2035 </a> 2036 </div> 2037 </h2> 2038 <div> 2039 <h3 2040 class="css-icxoph-h3-h3-STYLES_H3" 2041 data-heading="true" 2042 > 2043 <div 2044 class="css-1rh3o5q-STYLES_PERMALINK" 2045 > 2046 <span 2047 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2048 id="addrevokelistenerlistener" 2049 /> 2050 <a 2051 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2052 href="#addrevokelistenerlistener" 2053 > 2054 <span 2055 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2056 > 2057 <code 2058 class="inline css-nuv12a-STYLES_INLINE_CODE" 2059 > 2060 addRevokeListener(listener) 2061 </code> 2062 </span> 2063 <span 2064 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2065 > 2066 <svg 2067 aria-label="permalink" 2068 class="anchor-icon" 2069 fill="none" 2070 height="24" 2071 viewBox="0 0 24 24" 2072 width="24" 2073 xmlns="http://www.w3.org/2000/svg" 2074 > 2075 <path 2076 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2077 stroke="#9B9B9B" 2078 stroke-linecap="round" 2079 stroke-linejoin="round" 2080 stroke-width="2" 2081 /> 2082 <path 2083 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2084 stroke="#9B9B9B" 2085 stroke-linecap="round" 2086 stroke-linejoin="round" 2087 stroke-width="2" 2088 /> 2089 </svg> 2090 </span> 2091 </a> 2092 </div> 2093 </h3> 2094 <h4 2095 class=" css-1j2s5xo-h4-h4-STYLES_H4" 2096 data-components-heading="true" 2097 data-heading="true" 2098 > 2099 <div 2100 class="css-1rh3o5q-STYLES_PERMALINK" 2101 > 2102 <span 2103 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2104 id="arguments-4" 2105 /> 2106 <a 2107 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2108 href="#arguments-4" 2109 > 2110 <span 2111 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2112 > 2113 Arguments 2114 </span> 2115 <span 2116 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2117 > 2118 <svg 2119 aria-label="permalink" 2120 class="anchor-icon" 2121 fill="none" 2122 height="24" 2123 viewBox="0 0 24 24" 2124 width="24" 2125 xmlns="http://www.w3.org/2000/svg" 2126 > 2127 <path 2128 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2129 stroke="#9B9B9B" 2130 stroke-linecap="round" 2131 stroke-linejoin="round" 2132 stroke-width="2" 2133 /> 2134 <path 2135 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2136 stroke="#9B9B9B" 2137 stroke-linecap="round" 2138 stroke-linejoin="round" 2139 stroke-width="2" 2140 /> 2141 </svg> 2142 </span> 2143 </a> 2144 </div> 2145 </h4> 2146 <ul 2147 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 2148 data-text="true" 2149 > 2150 <li 2151 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 2152 > 2153 <strong 2154 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2155 > 2156 listener 2157 ( 2158 <code 2159 class="inline css-nuv12a-STYLES_INLINE_CODE" 2160 > 2161 () => 2162 2163 void 2164 </code> 2165 ) 2166 </strong> 2167 </li> 2168 </ul> 2169 <div> 2170 <h4 2171 class=" css-1j2s5xo-h4-h4-STYLES_H4" 2172 data-components-heading="true" 2173 data-heading="true" 2174 > 2175 <div 2176 class="css-1rh3o5q-STYLES_PERMALINK" 2177 > 2178 <span 2179 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2180 id="returns-5" 2181 /> 2182 <a 2183 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2184 href="#returns-5" 2185 > 2186 <span 2187 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2188 > 2189 Returns 2190 </span> 2191 <span 2192 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2193 > 2194 <svg 2195 aria-label="permalink" 2196 class="anchor-icon" 2197 fill="none" 2198 height="24" 2199 viewBox="0 0 24 24" 2200 width="24" 2201 xmlns="http://www.w3.org/2000/svg" 2202 > 2203 <path 2204 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2205 stroke="#9B9B9B" 2206 stroke-linecap="round" 2207 stroke-linejoin="round" 2208 stroke-width="2" 2209 /> 2210 <path 2211 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2212 stroke="#9B9B9B" 2213 stroke-linecap="round" 2214 stroke-linejoin="round" 2215 stroke-width="2" 2216 /> 2217 </svg> 2218 </span> 2219 </a> 2220 </div> 2221 </h4> 2222 <ul 2223 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 2224 data-text="true" 2225 > 2226 <li 2227 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 2228 > 2229 <code 2230 class="inline css-nuv12a-STYLES_INLINE_CODE" 2231 > 2232 <a 2233 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2234 href="/#subscription" 2235 > 2236 Subscription 2237 </a> 2238 </code> 2239 </li> 2240 </ul> 2241 </div> 2242 </div> 2243 <h2 2244 class="css-1v5aebx-h2-h2-STYLES_H2" 2245 data-heading="true" 2246 > 2247 <div 2248 class="css-1rh3o5q-STYLES_PERMALINK" 2249 > 2250 <span 2251 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2252 id="types" 2253 /> 2254 <a 2255 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2256 href="#types" 2257 > 2258 <span 2259 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2260 > 2261 Types 2262 </span> 2263 <span 2264 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2265 > 2266 <svg 2267 aria-label="permalink" 2268 class="anchor-icon" 2269 fill="none" 2270 height="24" 2271 viewBox="0 0 24 24" 2272 width="24" 2273 xmlns="http://www.w3.org/2000/svg" 2274 > 2275 <path 2276 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2277 stroke="#9B9B9B" 2278 stroke-linecap="round" 2279 stroke-linejoin="round" 2280 stroke-width="2" 2281 /> 2282 <path 2283 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2284 stroke="#9B9B9B" 2285 stroke-linecap="round" 2286 stroke-linejoin="round" 2287 stroke-width="2" 2288 /> 2289 </svg> 2290 </span> 2291 </a> 2292 </div> 2293 </h2> 2294 <div> 2295 <h3 2296 class="css-icxoph-h3-h3-STYLES_H3" 2297 data-heading="true" 2298 > 2299 <div 2300 class="css-1rh3o5q-STYLES_PERMALINK" 2301 > 2302 <span 2303 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2304 id="appleauthenticationcredential" 2305 /> 2306 <a 2307 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2308 href="#appleauthenticationcredential" 2309 > 2310 <span 2311 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2312 > 2313 <code 2314 class="inline css-nuv12a-STYLES_INLINE_CODE" 2315 > 2316 AppleAuthenticationCredential 2317 2318 </code> 2319 </span> 2320 <span 2321 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2322 > 2323 <svg 2324 aria-label="permalink" 2325 class="anchor-icon" 2326 fill="none" 2327 height="24" 2328 viewBox="0 0 24 24" 2329 width="24" 2330 xmlns="http://www.w3.org/2000/svg" 2331 > 2332 <path 2333 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2334 stroke="#9B9B9B" 2335 stroke-linecap="round" 2336 stroke-linejoin="round" 2337 stroke-width="2" 2338 /> 2339 <path 2340 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2341 stroke="#9B9B9B" 2342 stroke-linecap="round" 2343 stroke-linejoin="round" 2344 stroke-width="2" 2345 /> 2346 </svg> 2347 </span> 2348 </a> 2349 </div> 2350 </h3> 2351 <p 2352 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 2353 data-text="true" 2354 > 2355 The object type returned from a successful call to 2356 <a 2357 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2358 href="/#appleauthenticationsigninasyncoptions" 2359 > 2360 <code 2361 class="inline css-nuv12a-STYLES_INLINE_CODE" 2362 > 2363 AppleAuthentication.signInAsync() 2364 </code> 2365 </a> 2366 , 2367 2368 <a 2369 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2370 href="/#appleauthenticationrefreshasyncoptions" 2371 > 2372 <code 2373 class="inline css-nuv12a-STYLES_INLINE_CODE" 2374 > 2375 AppleAuthentication.refreshAsync() 2376 </code> 2377 </a> 2378 , or 2379 <a 2380 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2381 href="/#appleauthenticationsignoutasyncoptions" 2382 > 2383 <code 2384 class="inline css-nuv12a-STYLES_INLINE_CODE" 2385 > 2386 AppleAuthentication.signOutAsync() 2387 </code> 2388 </a> 2389 2390which contains all of the pertinent user and credential information. 2391 </p> 2392 <blockquote 2393 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 2394 data-text="true" 2395 > 2396 <div> 2397 <div 2398 style="margin-top: 2px;" 2399 > 2400 <svg 2401 aria-label="check" 2402 fill="none" 2403 height="16" 2404 viewBox="0 0 24 24" 2405 width="16" 2406 xmlns="http://www.w3.org/2000/svg" 2407 > 2408 <path 2409 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 2410 fill="var(--expo-theme-icon-default)" 2411 /> 2412 </svg> 2413 </div> 2414 </div> 2415 <div> 2416 <strong 2417 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2418 > 2419 See: 2420 </strong> 2421 <span> 2422 <a 2423 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2424 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidcredential" 2425 rel="noopener noreferrer" 2426 > 2427 Apple 2428Documentation 2429 </a> 2430 2431for more details. 2432 </span> 2433 </div> 2434 </blockquote> 2435 <table> 2436 <thead> 2437 <tr> 2438 <th> 2439 Name 2440 </th> 2441 <th> 2442 Type 2443 </th> 2444 <th> 2445 Description 2446 </th> 2447 </tr> 2448 </thead> 2449 <tbody> 2450 <tr> 2451 <td> 2452 <strong 2453 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2454 > 2455 authorizationCode 2456 </strong> 2457 </td> 2458 <td> 2459 <code 2460 class="inline css-nuv12a-STYLES_INLINE_CODE" 2461 > 2462 <span> 2463 string 2464 | 2465 </span> 2466 <span> 2467 null 2468 </span> 2469 </code> 2470 </td> 2471 <td> 2472 <span> 2473 A short-lived session token used by your app for proof of authorization when interacting with 2474the app's server counterpart. Unlike 2475 <code 2476 class="inline css-nuv12a-STYLES_INLINE_CODE" 2477 > 2478 user 2479 </code> 2480 , this is ephemeral and will change each session. 2481 </span> 2482 </td> 2483 </tr> 2484 <tr> 2485 <td> 2486 <strong 2487 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2488 > 2489 email 2490 </strong> 2491 </td> 2492 <td> 2493 <code 2494 class="inline css-nuv12a-STYLES_INLINE_CODE" 2495 > 2496 <span> 2497 string 2498 | 2499 </span> 2500 <span> 2501 null 2502 </span> 2503 </code> 2504 </td> 2505 <td> 2506 <span> 2507 The user's email address. Might not be present if you didn't request the 2508 <code 2509 class="inline css-nuv12a-STYLES_INLINE_CODE" 2510 > 2511 EMAIL 2512 </code> 2513 scope. May 2514also be null if this is not the first time the user has signed into your app. If the user chose 2515to withhold their email address, this field will instead contain an obscured email address with 2516an Apple domain. 2517 </span> 2518 </td> 2519 </tr> 2520 <tr> 2521 <td> 2522 <strong 2523 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2524 > 2525 fullName 2526 </strong> 2527 </td> 2528 <td> 2529 <code 2530 class="inline css-nuv12a-STYLES_INLINE_CODE" 2531 > 2532 <span> 2533 <a 2534 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2535 href="/#appleauthenticationfullname" 2536 > 2537 AppleAuthenticationFullName 2538 </a> 2539 | 2540 </span> 2541 <span> 2542 null 2543 </span> 2544 </code> 2545 </td> 2546 <td> 2547 <span> 2548 The user's name. May be 2549 <code 2550 class="inline css-nuv12a-STYLES_INLINE_CODE" 2551 > 2552 null 2553 </code> 2554 or contain 2555 <code 2556 class="inline css-nuv12a-STYLES_INLINE_CODE" 2557 > 2558 null 2559 </code> 2560 values if you didn't request the 2561 <code 2562 class="inline css-nuv12a-STYLES_INLINE_CODE" 2563 > 2564 FULL_NAME 2565 </code> 2566 2567scope, if the user denied access, or if this is not the first time the user has signed into 2568your app. 2569 </span> 2570 </td> 2571 </tr> 2572 <tr> 2573 <td> 2574 <strong 2575 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2576 > 2577 identityToken 2578 </strong> 2579 </td> 2580 <td> 2581 <code 2582 class="inline css-nuv12a-STYLES_INLINE_CODE" 2583 > 2584 <span> 2585 string 2586 | 2587 </span> 2588 <span> 2589 null 2590 </span> 2591 </code> 2592 </td> 2593 <td> 2594 <span> 2595 A JSON Web Token (JWT) that securely communicates information about the user to your app. 2596 </span> 2597 </td> 2598 </tr> 2599 <tr> 2600 <td> 2601 <strong 2602 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2603 > 2604 realUserStatus 2605 </strong> 2606 </td> 2607 <td> 2608 <code 2609 class="inline css-nuv12a-STYLES_INLINE_CODE" 2610 > 2611 <a 2612 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2613 href="/#appleauthenticationuserdetectionstatus" 2614 > 2615 AppleAuthenticationUserDetectionStatus 2616 </a> 2617 </code> 2618 </td> 2619 <td> 2620 <span> 2621 A value that indicates whether the user appears to the system to be a real person. 2622 </span> 2623 </td> 2624 </tr> 2625 <tr> 2626 <td> 2627 <strong 2628 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2629 > 2630 state 2631 </strong> 2632 </td> 2633 <td> 2634 <code 2635 class="inline css-nuv12a-STYLES_INLINE_CODE" 2636 > 2637 <span> 2638 string 2639 | 2640 </span> 2641 <span> 2642 null 2643 </span> 2644 </code> 2645 </td> 2646 <td> 2647 <span> 2648 An arbitrary string that your app provided as 2649 <code 2650 class="inline css-nuv12a-STYLES_INLINE_CODE" 2651 > 2652 state 2653 </code> 2654 in the request that generated the 2655credential. Used to verify that the response was from the request you made. Can be used to 2656avoid replay attacks. If you did not provide 2657 <code 2658 class="inline css-nuv12a-STYLES_INLINE_CODE" 2659 > 2660 state 2661 </code> 2662 when making the sign-in request, this field 2663will be 2664 <code 2665 class="inline css-nuv12a-STYLES_INLINE_CODE" 2666 > 2667 null 2668 </code> 2669 . 2670 </span> 2671 </td> 2672 </tr> 2673 <tr> 2674 <td> 2675 <strong 2676 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2677 > 2678 user 2679 </strong> 2680 </td> 2681 <td> 2682 <code 2683 class="inline css-nuv12a-STYLES_INLINE_CODE" 2684 > 2685 string 2686 </code> 2687 </td> 2688 <td> 2689 <span> 2690 An identifier associated with the authenticated user. You can use this to check if the user is 2691still authenticated later. This is stable and can be shared across apps released under the same 2692development team. The same user will have a different identifier for apps released by other 2693developers. 2694 </span> 2695 </td> 2696 </tr> 2697 </tbody> 2698 </table> 2699 </div> 2700 <div> 2701 <h3 2702 class="css-icxoph-h3-h3-STYLES_H3" 2703 data-heading="true" 2704 > 2705 <div 2706 class="css-1rh3o5q-STYLES_PERMALINK" 2707 > 2708 <span 2709 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2710 id="appleauthenticationfullname" 2711 /> 2712 <a 2713 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2714 href="#appleauthenticationfullname" 2715 > 2716 <span 2717 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2718 > 2719 <code 2720 class="inline css-nuv12a-STYLES_INLINE_CODE" 2721 > 2722 AppleAuthenticationFullName 2723 2724 </code> 2725 </span> 2726 <span 2727 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2728 > 2729 <svg 2730 aria-label="permalink" 2731 class="anchor-icon" 2732 fill="none" 2733 height="24" 2734 viewBox="0 0 24 24" 2735 width="24" 2736 xmlns="http://www.w3.org/2000/svg" 2737 > 2738 <path 2739 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2740 stroke="#9B9B9B" 2741 stroke-linecap="round" 2742 stroke-linejoin="round" 2743 stroke-width="2" 2744 /> 2745 <path 2746 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2747 stroke="#9B9B9B" 2748 stroke-linecap="round" 2749 stroke-linejoin="round" 2750 stroke-width="2" 2751 /> 2752 </svg> 2753 </span> 2754 </a> 2755 </div> 2756 </h3> 2757 <p 2758 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 2759 data-text="true" 2760 > 2761 An object representing the tokenized portions of the user's full name. Any of all of the fields 2762may be 2763 <code 2764 class="inline css-nuv12a-STYLES_INLINE_CODE" 2765 > 2766 null 2767 </code> 2768 . Only applicable fields that the user has allowed your app to access will be nonnull. 2769 </p> 2770 <table> 2771 <thead> 2772 <tr> 2773 <th> 2774 Name 2775 </th> 2776 <th> 2777 Type 2778 </th> 2779 <th> 2780 Description 2781 </th> 2782 </tr> 2783 </thead> 2784 <tbody> 2785 <tr> 2786 <td> 2787 <strong 2788 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2789 > 2790 familyName 2791 </strong> 2792 </td> 2793 <td> 2794 <code 2795 class="inline css-nuv12a-STYLES_INLINE_CODE" 2796 > 2797 <span> 2798 string 2799 | 2800 </span> 2801 <span> 2802 null 2803 </span> 2804 </code> 2805 </td> 2806 <td> 2807 - 2808 </td> 2809 </tr> 2810 <tr> 2811 <td> 2812 <strong 2813 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2814 > 2815 givenName 2816 </strong> 2817 </td> 2818 <td> 2819 <code 2820 class="inline css-nuv12a-STYLES_INLINE_CODE" 2821 > 2822 <span> 2823 string 2824 | 2825 </span> 2826 <span> 2827 null 2828 </span> 2829 </code> 2830 </td> 2831 <td> 2832 - 2833 </td> 2834 </tr> 2835 <tr> 2836 <td> 2837 <strong 2838 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2839 > 2840 middleName 2841 </strong> 2842 </td> 2843 <td> 2844 <code 2845 class="inline css-nuv12a-STYLES_INLINE_CODE" 2846 > 2847 <span> 2848 string 2849 | 2850 </span> 2851 <span> 2852 null 2853 </span> 2854 </code> 2855 </td> 2856 <td> 2857 - 2858 </td> 2859 </tr> 2860 <tr> 2861 <td> 2862 <strong 2863 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2864 > 2865 namePrefix 2866 </strong> 2867 </td> 2868 <td> 2869 <code 2870 class="inline css-nuv12a-STYLES_INLINE_CODE" 2871 > 2872 <span> 2873 string 2874 | 2875 </span> 2876 <span> 2877 null 2878 </span> 2879 </code> 2880 </td> 2881 <td> 2882 - 2883 </td> 2884 </tr> 2885 <tr> 2886 <td> 2887 <strong 2888 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2889 > 2890 nameSuffix 2891 </strong> 2892 </td> 2893 <td> 2894 <code 2895 class="inline css-nuv12a-STYLES_INLINE_CODE" 2896 > 2897 <span> 2898 string 2899 | 2900 </span> 2901 <span> 2902 null 2903 </span> 2904 </code> 2905 </td> 2906 <td> 2907 - 2908 </td> 2909 </tr> 2910 <tr> 2911 <td> 2912 <strong 2913 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2914 > 2915 nickname 2916 </strong> 2917 </td> 2918 <td> 2919 <code 2920 class="inline css-nuv12a-STYLES_INLINE_CODE" 2921 > 2922 <span> 2923 string 2924 | 2925 </span> 2926 <span> 2927 null 2928 </span> 2929 </code> 2930 </td> 2931 <td> 2932 - 2933 </td> 2934 </tr> 2935 </tbody> 2936 </table> 2937 </div> 2938 <div> 2939 <h3 2940 class="css-icxoph-h3-h3-STYLES_H3" 2941 data-heading="true" 2942 > 2943 <div 2944 class="css-1rh3o5q-STYLES_PERMALINK" 2945 > 2946 <span 2947 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2948 id="appleauthenticationrefreshoptions" 2949 /> 2950 <a 2951 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2952 href="#appleauthenticationrefreshoptions" 2953 > 2954 <span 2955 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2956 > 2957 <code 2958 class="inline css-nuv12a-STYLES_INLINE_CODE" 2959 > 2960 AppleAuthenticationRefreshOptions 2961 2962 </code> 2963 </span> 2964 <span 2965 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2966 > 2967 <svg 2968 aria-label="permalink" 2969 class="anchor-icon" 2970 fill="none" 2971 height="24" 2972 viewBox="0 0 24 24" 2973 width="24" 2974 xmlns="http://www.w3.org/2000/svg" 2975 > 2976 <path 2977 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2978 stroke="#9B9B9B" 2979 stroke-linecap="round" 2980 stroke-linejoin="round" 2981 stroke-width="2" 2982 /> 2983 <path 2984 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2985 stroke="#9B9B9B" 2986 stroke-linecap="round" 2987 stroke-linejoin="round" 2988 stroke-width="2" 2989 /> 2990 </svg> 2991 </span> 2992 </a> 2993 </div> 2994 </h3> 2995 <p 2996 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 2997 data-text="true" 2998 > 2999 The options you can supply when making a call to 3000 <a 3001 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3002 href="/#appleauthenticationrefreshasyncoptions" 3003 > 3004 <code 3005 class="inline css-nuv12a-STYLES_INLINE_CODE" 3006 > 3007 AppleAuthentication.refreshAsync() 3008 </code> 3009 </a> 3010 . 3011You must include the ID string of the user whose credentials you'd like to refresh. 3012 </p> 3013 <blockquote 3014 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 3015 data-text="true" 3016 > 3017 <div> 3018 <div 3019 style="margin-top: 2px;" 3020 > 3021 <svg 3022 aria-label="check" 3023 fill="none" 3024 height="16" 3025 viewBox="0 0 24 24" 3026 width="16" 3027 xmlns="http://www.w3.org/2000/svg" 3028 > 3029 <path 3030 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 3031 fill="var(--expo-theme-icon-default)" 3032 /> 3033 </svg> 3034 </div> 3035 </div> 3036 <div> 3037 <strong 3038 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3039 > 3040 See: 3041 </strong> 3042 <span> 3043 <a 3044 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3045 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3046 rel="noopener noreferrer" 3047 > 3048 Apple 3049Documentation 3050 </a> 3051 3052for more details. 3053 </span> 3054 </div> 3055 </blockquote> 3056 <table> 3057 <thead> 3058 <tr> 3059 <th> 3060 Name 3061 </th> 3062 <th> 3063 Type 3064 </th> 3065 <th> 3066 Description 3067 </th> 3068 </tr> 3069 </thead> 3070 <tbody> 3071 <tr> 3072 <td> 3073 <strong 3074 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3075 > 3076 requestedScopes 3077 </strong> 3078 <br /> 3079 <span 3080 class="css-fbbx5x-STYLES_OPTIONAL" 3081 > 3082 (optional) 3083 </span> 3084 </td> 3085 <td> 3086 <code 3087 class="inline css-nuv12a-STYLES_INLINE_CODE" 3088 > 3089 <a 3090 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3091 href="/#appleauthenticationscope" 3092 > 3093 AppleAuthenticationScope 3094 [] 3095 </a> 3096 </code> 3097 </td> 3098 <td> 3099 <span> 3100 Array of user information scopes to which your app is requesting access. Note that the user can 3101choose to deny your app access to any scope at the time of logging in. You will still need to 3102handle 3103 <code 3104 class="inline css-nuv12a-STYLES_INLINE_CODE" 3105 > 3106 null 3107 </code> 3108 values for any scopes you request. Additionally, note that the requested scopes 3109will only be provided to you the first time each user signs into your app; in subsequent 3110requests they will be 3111 <code 3112 class="inline css-nuv12a-STYLES_INLINE_CODE" 3113 > 3114 null 3115 </code> 3116 . Defaults to 3117 <code 3118 class="inline css-nuv12a-STYLES_INLINE_CODE" 3119 > 3120 [] 3121 </code> 3122 (no scopes). 3123 </span> 3124 </td> 3125 </tr> 3126 <tr> 3127 <td> 3128 <strong 3129 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3130 > 3131 state 3132 </strong> 3133 <br /> 3134 <span 3135 class="css-fbbx5x-STYLES_OPTIONAL" 3136 > 3137 (optional) 3138 </span> 3139 </td> 3140 <td> 3141 <code 3142 class="inline css-nuv12a-STYLES_INLINE_CODE" 3143 > 3144 string 3145 </code> 3146 </td> 3147 <td> 3148 <span> 3149 An arbitrary string that is returned unmodified in the corresponding credential after a 3150successful authentication. This can be used to verify that the response was from the request 3151you made and avoid replay attacks. More information on this property is available in the 3152OAuth 2.0 protocol 3153 <a 3154 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3155 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3156 rel="noopener noreferrer" 3157 > 3158 RFC6749 3159 </a> 3160 . 3161 </span> 3162 </td> 3163 </tr> 3164 <tr> 3165 <td> 3166 <strong 3167 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3168 > 3169 user 3170 </strong> 3171 </td> 3172 <td> 3173 <code 3174 class="inline css-nuv12a-STYLES_INLINE_CODE" 3175 > 3176 string 3177 </code> 3178 </td> 3179 <td> 3180 - 3181 </td> 3182 </tr> 3183 </tbody> 3184 </table> 3185 </div> 3186 <div> 3187 <h3 3188 class="css-icxoph-h3-h3-STYLES_H3" 3189 data-heading="true" 3190 > 3191 <div 3192 class="css-1rh3o5q-STYLES_PERMALINK" 3193 > 3194 <span 3195 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3196 id="appleauthenticationsigninoptions" 3197 /> 3198 <a 3199 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3200 href="#appleauthenticationsigninoptions" 3201 > 3202 <span 3203 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3204 > 3205 <code 3206 class="inline css-nuv12a-STYLES_INLINE_CODE" 3207 > 3208 AppleAuthenticationSignInOptions 3209 3210 </code> 3211 </span> 3212 <span 3213 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3214 > 3215 <svg 3216 aria-label="permalink" 3217 class="anchor-icon" 3218 fill="none" 3219 height="24" 3220 viewBox="0 0 24 24" 3221 width="24" 3222 xmlns="http://www.w3.org/2000/svg" 3223 > 3224 <path 3225 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3226 stroke="#9B9B9B" 3227 stroke-linecap="round" 3228 stroke-linejoin="round" 3229 stroke-width="2" 3230 /> 3231 <path 3232 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3233 stroke="#9B9B9B" 3234 stroke-linecap="round" 3235 stroke-linejoin="round" 3236 stroke-width="2" 3237 /> 3238 </svg> 3239 </span> 3240 </a> 3241 </div> 3242 </h3> 3243 <p 3244 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3245 data-text="true" 3246 > 3247 The options you can supply when making a call to 3248 <a 3249 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3250 href="/#appleauthenticationsigninasyncoptions" 3251 > 3252 <code 3253 class="inline css-nuv12a-STYLES_INLINE_CODE" 3254 > 3255 AppleAuthentication.signInAsync() 3256 </code> 3257 </a> 3258 . 3259None of these options are required. 3260 </p> 3261 <blockquote 3262 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 3263 data-text="true" 3264 > 3265 <div> 3266 <div 3267 style="margin-top: 2px;" 3268 > 3269 <svg 3270 aria-label="check" 3271 fill="none" 3272 height="16" 3273 viewBox="0 0 24 24" 3274 width="16" 3275 xmlns="http://www.w3.org/2000/svg" 3276 > 3277 <path 3278 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 3279 fill="var(--expo-theme-icon-default)" 3280 /> 3281 </svg> 3282 </div> 3283 </div> 3284 <div> 3285 <strong 3286 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3287 > 3288 See: 3289 </strong> 3290 <span> 3291 <a 3292 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3293 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3294 rel="noopener noreferrer" 3295 > 3296 Apple 3297Documentation 3298 </a> 3299 3300for more details. 3301 </span> 3302 </div> 3303 </blockquote> 3304 <table> 3305 <thead> 3306 <tr> 3307 <th> 3308 Name 3309 </th> 3310 <th> 3311 Type 3312 </th> 3313 <th> 3314 Description 3315 </th> 3316 </tr> 3317 </thead> 3318 <tbody> 3319 <tr> 3320 <td> 3321 <strong 3322 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3323 > 3324 nonce 3325 </strong> 3326 <br /> 3327 <span 3328 class="css-fbbx5x-STYLES_OPTIONAL" 3329 > 3330 (optional) 3331 </span> 3332 </td> 3333 <td> 3334 <code 3335 class="inline css-nuv12a-STYLES_INLINE_CODE" 3336 > 3337 string 3338 </code> 3339 </td> 3340 <td> 3341 <span> 3342 An arbitrary string that is used to prevent replay attacks. See more information on this in the 3343 3344 <a 3345 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3346 href="https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowSteps" 3347 rel="noopener noreferrer" 3348 > 3349 OpenID Connect specification 3350 </a> 3351 . 3352 </span> 3353 </td> 3354 </tr> 3355 <tr> 3356 <td> 3357 <strong 3358 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3359 > 3360 requestedScopes 3361 </strong> 3362 <br /> 3363 <span 3364 class="css-fbbx5x-STYLES_OPTIONAL" 3365 > 3366 (optional) 3367 </span> 3368 </td> 3369 <td> 3370 <code 3371 class="inline css-nuv12a-STYLES_INLINE_CODE" 3372 > 3373 <a 3374 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3375 href="/#appleauthenticationscope" 3376 > 3377 AppleAuthenticationScope 3378 [] 3379 </a> 3380 </code> 3381 </td> 3382 <td> 3383 <span> 3384 Array of user information scopes to which your app is requesting access. Note that the user can 3385choose to deny your app access to any scope at the time of logging in. You will still need to 3386handle 3387 <code 3388 class="inline css-nuv12a-STYLES_INLINE_CODE" 3389 > 3390 null 3391 </code> 3392 values for any scopes you request. Additionally, note that the requested scopes 3393will only be provided to you the first time each user signs into your app; in subsequent 3394requests they will be 3395 <code 3396 class="inline css-nuv12a-STYLES_INLINE_CODE" 3397 > 3398 null 3399 </code> 3400 . Defaults to 3401 <code 3402 class="inline css-nuv12a-STYLES_INLINE_CODE" 3403 > 3404 [] 3405 </code> 3406 (no scopes). 3407 </span> 3408 </td> 3409 </tr> 3410 <tr> 3411 <td> 3412 <strong 3413 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3414 > 3415 state 3416 </strong> 3417 <br /> 3418 <span 3419 class="css-fbbx5x-STYLES_OPTIONAL" 3420 > 3421 (optional) 3422 </span> 3423 </td> 3424 <td> 3425 <code 3426 class="inline css-nuv12a-STYLES_INLINE_CODE" 3427 > 3428 string 3429 </code> 3430 </td> 3431 <td> 3432 <span> 3433 An arbitrary string that is returned unmodified in the corresponding credential after a 3434successful authentication. This can be used to verify that the response was from the request 3435you made and avoid replay attacks. More information on this property is available in the 3436OAuth 2.0 protocol 3437 <a 3438 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3439 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3440 rel="noopener noreferrer" 3441 > 3442 RFC6749 3443 </a> 3444 . 3445 </span> 3446 </td> 3447 </tr> 3448 </tbody> 3449 </table> 3450 </div> 3451 <div> 3452 <h3 3453 class="css-icxoph-h3-h3-STYLES_H3" 3454 data-heading="true" 3455 > 3456 <div 3457 class="css-1rh3o5q-STYLES_PERMALINK" 3458 > 3459 <span 3460 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3461 id="appleauthenticationsignoutoptions" 3462 /> 3463 <a 3464 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3465 href="#appleauthenticationsignoutoptions" 3466 > 3467 <span 3468 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3469 > 3470 <code 3471 class="inline css-nuv12a-STYLES_INLINE_CODE" 3472 > 3473 AppleAuthenticationSignOutOptions 3474 3475 </code> 3476 </span> 3477 <span 3478 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3479 > 3480 <svg 3481 aria-label="permalink" 3482 class="anchor-icon" 3483 fill="none" 3484 height="24" 3485 viewBox="0 0 24 24" 3486 width="24" 3487 xmlns="http://www.w3.org/2000/svg" 3488 > 3489 <path 3490 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3491 stroke="#9B9B9B" 3492 stroke-linecap="round" 3493 stroke-linejoin="round" 3494 stroke-width="2" 3495 /> 3496 <path 3497 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3498 stroke="#9B9B9B" 3499 stroke-linecap="round" 3500 stroke-linejoin="round" 3501 stroke-width="2" 3502 /> 3503 </svg> 3504 </span> 3505 </a> 3506 </div> 3507 </h3> 3508 <p 3509 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3510 data-text="true" 3511 > 3512 The options you can supply when making a call to 3513 <a 3514 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3515 href="/#appleauthenticationsignoutasyncoptions" 3516 > 3517 <code 3518 class="inline css-nuv12a-STYLES_INLINE_CODE" 3519 > 3520 AppleAuthentication.signOutAsync() 3521 </code> 3522 </a> 3523 . 3524You must include the ID string of the user to sign out. 3525 </p> 3526 <blockquote 3527 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 3528 data-text="true" 3529 > 3530 <div> 3531 <div 3532 style="margin-top: 2px;" 3533 > 3534 <svg 3535 aria-label="check" 3536 fill="none" 3537 height="16" 3538 viewBox="0 0 24 24" 3539 width="16" 3540 xmlns="http://www.w3.org/2000/svg" 3541 > 3542 <path 3543 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 3544 fill="var(--expo-theme-icon-default)" 3545 /> 3546 </svg> 3547 </div> 3548 </div> 3549 <div> 3550 <strong 3551 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3552 > 3553 See: 3554 </strong> 3555 <span> 3556 <a 3557 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3558 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationopenidrequest" 3559 rel="noopener noreferrer" 3560 > 3561 Apple 3562Documentation 3563 </a> 3564 3565for more details. 3566 </span> 3567 </div> 3568 </blockquote> 3569 <table> 3570 <thead> 3571 <tr> 3572 <th> 3573 Name 3574 </th> 3575 <th> 3576 Type 3577 </th> 3578 <th> 3579 Description 3580 </th> 3581 </tr> 3582 </thead> 3583 <tbody> 3584 <tr> 3585 <td> 3586 <strong 3587 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3588 > 3589 state 3590 </strong> 3591 <br /> 3592 <span 3593 class="css-fbbx5x-STYLES_OPTIONAL" 3594 > 3595 (optional) 3596 </span> 3597 </td> 3598 <td> 3599 <code 3600 class="inline css-nuv12a-STYLES_INLINE_CODE" 3601 > 3602 string 3603 </code> 3604 </td> 3605 <td> 3606 <span> 3607 An arbitrary string that is returned unmodified in the corresponding credential after a 3608successful authentication. This can be used to verify that the response was from the request 3609you made and avoid replay attacks. More information on this property is available in the 3610OAuth 2.0 protocol 3611 <a 3612 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3613 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3614 rel="noopener noreferrer" 3615 > 3616 RFC6749 3617 </a> 3618 . 3619 </span> 3620 </td> 3621 </tr> 3622 <tr> 3623 <td> 3624 <strong 3625 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3626 > 3627 user 3628 </strong> 3629 </td> 3630 <td> 3631 <code 3632 class="inline css-nuv12a-STYLES_INLINE_CODE" 3633 > 3634 string 3635 </code> 3636 </td> 3637 <td> 3638 - 3639 </td> 3640 </tr> 3641 </tbody> 3642 </table> 3643 </div> 3644 <div> 3645 <h3 3646 class="css-icxoph-h3-h3-STYLES_H3" 3647 data-heading="true" 3648 > 3649 <div 3650 class="css-1rh3o5q-STYLES_PERMALINK" 3651 > 3652 <span 3653 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3654 id="subscription" 3655 /> 3656 <a 3657 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3658 href="#subscription" 3659 > 3660 <span 3661 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3662 > 3663 <code 3664 class="inline css-nuv12a-STYLES_INLINE_CODE" 3665 > 3666 Subscription 3667 3668 </code> 3669 </span> 3670 <span 3671 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3672 > 3673 <svg 3674 aria-label="permalink" 3675 class="anchor-icon" 3676 fill="none" 3677 height="24" 3678 viewBox="0 0 24 24" 3679 width="24" 3680 xmlns="http://www.w3.org/2000/svg" 3681 > 3682 <path 3683 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3684 stroke="#9B9B9B" 3685 stroke-linecap="round" 3686 stroke-linejoin="round" 3687 stroke-width="2" 3688 /> 3689 <path 3690 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3691 stroke="#9B9B9B" 3692 stroke-linecap="round" 3693 stroke-linejoin="round" 3694 stroke-width="2" 3695 /> 3696 </svg> 3697 </span> 3698 </a> 3699 </div> 3700 </h3> 3701 <table> 3702 <thead> 3703 <tr> 3704 <th> 3705 Name 3706 </th> 3707 <th> 3708 Type 3709 </th> 3710 <th> 3711 Description 3712 </th> 3713 </tr> 3714 </thead> 3715 <tbody> 3716 <tr> 3717 <td> 3718 <strong 3719 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3720 > 3721 remove 3722 </strong> 3723 </td> 3724 <td> 3725 <code 3726 class="inline css-nuv12a-STYLES_INLINE_CODE" 3727 > 3728 ( 3729 3730 ) => 3731 void 3732 </code> 3733 </td> 3734 <td> 3735 <span> 3736 A method to unsubscribe the listener. 3737 </span> 3738 </td> 3739 </tr> 3740 </tbody> 3741 </table> 3742 </div> 3743 <h2 3744 class="css-1v5aebx-h2-h2-STYLES_H2" 3745 data-heading="true" 3746 > 3747 <div 3748 class="css-1rh3o5q-STYLES_PERMALINK" 3749 > 3750 <span 3751 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3752 id="enums" 3753 /> 3754 <a 3755 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3756 href="#enums" 3757 > 3758 <span 3759 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3760 > 3761 Enums 3762 </span> 3763 <span 3764 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3765 > 3766 <svg 3767 aria-label="permalink" 3768 class="anchor-icon" 3769 fill="none" 3770 height="24" 3771 viewBox="0 0 24 24" 3772 width="24" 3773 xmlns="http://www.w3.org/2000/svg" 3774 > 3775 <path 3776 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3777 stroke="#9B9B9B" 3778 stroke-linecap="round" 3779 stroke-linejoin="round" 3780 stroke-width="2" 3781 /> 3782 <path 3783 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3784 stroke="#9B9B9B" 3785 stroke-linecap="round" 3786 stroke-linejoin="round" 3787 stroke-width="2" 3788 /> 3789 </svg> 3790 </span> 3791 </a> 3792 </div> 3793 </h2> 3794 <div> 3795 <h3 3796 class="css-icxoph-h3-h3-STYLES_H3" 3797 data-heading="true" 3798 > 3799 <div 3800 class="css-1rh3o5q-STYLES_PERMALINK" 3801 > 3802 <span 3803 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3804 id="appleauthenticationbuttonstyle" 3805 /> 3806 <a 3807 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3808 href="#appleauthenticationbuttonstyle" 3809 > 3810 <span 3811 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3812 > 3813 <code 3814 class="inline css-nuv12a-STYLES_INLINE_CODE" 3815 > 3816 AppleAuthenticationButtonStyle 3817 </code> 3818 </span> 3819 <span 3820 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3821 > 3822 <svg 3823 aria-label="permalink" 3824 class="anchor-icon" 3825 fill="none" 3826 height="24" 3827 viewBox="0 0 24 24" 3828 width="24" 3829 xmlns="http://www.w3.org/2000/svg" 3830 > 3831 <path 3832 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3833 stroke="#9B9B9B" 3834 stroke-linecap="round" 3835 stroke-linejoin="round" 3836 stroke-width="2" 3837 /> 3838 <path 3839 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3840 stroke="#9B9B9B" 3841 stroke-linecap="round" 3842 stroke-linejoin="round" 3843 stroke-width="2" 3844 /> 3845 </svg> 3846 </span> 3847 </a> 3848 </div> 3849 </h3> 3850 <p 3851 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3852 data-text="true" 3853 > 3854 An enum whose values control which pre-defined color scheme to use when rendering an 3855 <a 3856 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3857 href="/#appleauthenticationappleauthenticationbutton" 3858 > 3859 <code 3860 class="inline css-nuv12a-STYLES_INLINE_CODE" 3861 > 3862 AppleAuthenticationButton 3863 </code> 3864 </a> 3865 . 3866 </p> 3867 <ul 3868 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 3869 data-text="true" 3870 > 3871 <li 3872 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3873 > 3874 <code 3875 class="inline css-nuv12a-STYLES_INLINE_CODE" 3876 > 3877 AppleAuthenticationButtonStyle 3878 . 3879 WHITE 3880 </code> 3881 : 3882 <code 3883 class="inline css-nuv12a-STYLES_INLINE_CODE" 3884 > 3885 0 3886 </code> 3887 - 3888 <span> 3889 White button with black text. 3890 </span> 3891 </li> 3892 <li 3893 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3894 > 3895 <code 3896 class="inline css-nuv12a-STYLES_INLINE_CODE" 3897 > 3898 AppleAuthenticationButtonStyle 3899 . 3900 WHITE_OUTLINE 3901 </code> 3902 : 3903 <code 3904 class="inline css-nuv12a-STYLES_INLINE_CODE" 3905 > 3906 1 3907 </code> 3908 - 3909 <span> 3910 White button with a black outline and black text. 3911 </span> 3912 </li> 3913 <li 3914 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3915 > 3916 <code 3917 class="inline css-nuv12a-STYLES_INLINE_CODE" 3918 > 3919 AppleAuthenticationButtonStyle 3920 . 3921 BLACK 3922 </code> 3923 : 3924 <code 3925 class="inline css-nuv12a-STYLES_INLINE_CODE" 3926 > 3927 2 3928 </code> 3929 - 3930 <span> 3931 Black button with white text. 3932 </span> 3933 </li> 3934 </ul> 3935 </div> 3936 <div> 3937 <h3 3938 class="css-icxoph-h3-h3-STYLES_H3" 3939 data-heading="true" 3940 > 3941 <div 3942 class="css-1rh3o5q-STYLES_PERMALINK" 3943 > 3944 <span 3945 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3946 id="appleauthenticationbuttontype" 3947 /> 3948 <a 3949 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3950 href="#appleauthenticationbuttontype" 3951 > 3952 <span 3953 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3954 > 3955 <code 3956 class="inline css-nuv12a-STYLES_INLINE_CODE" 3957 > 3958 AppleAuthenticationButtonType 3959 </code> 3960 </span> 3961 <span 3962 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3963 > 3964 <svg 3965 aria-label="permalink" 3966 class="anchor-icon" 3967 fill="none" 3968 height="24" 3969 viewBox="0 0 24 24" 3970 width="24" 3971 xmlns="http://www.w3.org/2000/svg" 3972 > 3973 <path 3974 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3975 stroke="#9B9B9B" 3976 stroke-linecap="round" 3977 stroke-linejoin="round" 3978 stroke-width="2" 3979 /> 3980 <path 3981 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3982 stroke="#9B9B9B" 3983 stroke-linecap="round" 3984 stroke-linejoin="round" 3985 stroke-width="2" 3986 /> 3987 </svg> 3988 </span> 3989 </a> 3990 </div> 3991 </h3> 3992 <p 3993 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3994 data-text="true" 3995 > 3996 An enum whose values control which pre-defined text to use when rendering an 3997 <a 3998 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3999 href="/#appleauthenticationappleauthenticationbutton" 4000 > 4001 <code 4002 class="inline css-nuv12a-STYLES_INLINE_CODE" 4003 > 4004 AppleAuthenticationButton 4005 </code> 4006 </a> 4007 . 4008 </p> 4009 <ul 4010 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4011 data-text="true" 4012 > 4013 <li 4014 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4015 > 4016 <code 4017 class="inline css-nuv12a-STYLES_INLINE_CODE" 4018 > 4019 AppleAuthenticationButtonType 4020 . 4021 SIGN_IN 4022 </code> 4023 : 4024 <code 4025 class="inline css-nuv12a-STYLES_INLINE_CODE" 4026 > 4027 0 4028 </code> 4029 - 4030 <span> 4031 "Sign in with Apple" 4032 </span> 4033 </li> 4034 <li 4035 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4036 > 4037 <code 4038 class="inline css-nuv12a-STYLES_INLINE_CODE" 4039 > 4040 AppleAuthenticationButtonType 4041 . 4042 CONTINUE 4043 </code> 4044 : 4045 <code 4046 class="inline css-nuv12a-STYLES_INLINE_CODE" 4047 > 4048 1 4049 </code> 4050 - 4051 <span> 4052 "Continue with Apple" 4053 </span> 4054 </li> 4055 <li 4056 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4057 > 4058 <code 4059 class="inline css-nuv12a-STYLES_INLINE_CODE" 4060 > 4061 AppleAuthenticationButtonType 4062 . 4063 SIGN_UP 4064 </code> 4065 : 4066 <code 4067 class="inline css-nuv12a-STYLES_INLINE_CODE" 4068 > 4069 2 4070 </code> 4071 - 4072 <span> 4073 "Sign up with Apple" 4074 <em> 4075 (requires iOS 13.2 or higher) 4076 </em> 4077 </span> 4078 </li> 4079 </ul> 4080 </div> 4081 <div> 4082 <h3 4083 class="css-icxoph-h3-h3-STYLES_H3" 4084 data-heading="true" 4085 > 4086 <div 4087 class="css-1rh3o5q-STYLES_PERMALINK" 4088 > 4089 <span 4090 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4091 id="appleauthenticationcredentialstate" 4092 /> 4093 <a 4094 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4095 href="#appleauthenticationcredentialstate" 4096 > 4097 <span 4098 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4099 > 4100 <code 4101 class="inline css-nuv12a-STYLES_INLINE_CODE" 4102 > 4103 AppleAuthenticationCredentialState 4104 </code> 4105 </span> 4106 <span 4107 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4108 > 4109 <svg 4110 aria-label="permalink" 4111 class="anchor-icon" 4112 fill="none" 4113 height="24" 4114 viewBox="0 0 24 24" 4115 width="24" 4116 xmlns="http://www.w3.org/2000/svg" 4117 > 4118 <path 4119 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4120 stroke="#9B9B9B" 4121 stroke-linecap="round" 4122 stroke-linejoin="round" 4123 stroke-width="2" 4124 /> 4125 <path 4126 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4127 stroke="#9B9B9B" 4128 stroke-linecap="round" 4129 stroke-linejoin="round" 4130 stroke-width="2" 4131 /> 4132 </svg> 4133 </span> 4134 </a> 4135 </div> 4136 </h3> 4137 <p 4138 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4139 data-text="true" 4140 > 4141 An enum whose values specify state of the credential when checked with 4142 <a 4143 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4144 href="/#appleauthenticationgetcredentialstateasyncuser" 4145 > 4146 <code 4147 class="inline css-nuv12a-STYLES_INLINE_CODE" 4148 > 4149 AppleAuthentication.getCredentialStateAsync() 4150 </code> 4151 </a> 4152 . 4153 </p> 4154 <blockquote 4155 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 4156 data-text="true" 4157 > 4158 <div> 4159 <div 4160 style="margin-top: 2px;" 4161 > 4162 <svg 4163 aria-label="check" 4164 fill="none" 4165 height="16" 4166 viewBox="0 0 24 24" 4167 width="16" 4168 xmlns="http://www.w3.org/2000/svg" 4169 > 4170 <path 4171 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 4172 fill="var(--expo-theme-icon-default)" 4173 /> 4174 </svg> 4175 </div> 4176 </div> 4177 <div> 4178 <strong 4179 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 4180 > 4181 See: 4182 </strong> 4183 <span> 4184 <a 4185 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4186 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidprovidercredentialstate" 4187 rel="noopener noreferrer" 4188 > 4189 Apple 4190Documentation 4191 </a> 4192 4193for more details. 4194 </span> 4195 </div> 4196 </blockquote> 4197 <ul 4198 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4199 data-text="true" 4200 > 4201 <li 4202 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4203 > 4204 <code 4205 class="inline css-nuv12a-STYLES_INLINE_CODE" 4206 > 4207 AppleAuthenticationCredentialState 4208 . 4209 REVOKED 4210 </code> 4211 : 4212 <code 4213 class="inline css-nuv12a-STYLES_INLINE_CODE" 4214 > 4215 0 4216 </code> 4217 </li> 4218 <li 4219 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4220 > 4221 <code 4222 class="inline css-nuv12a-STYLES_INLINE_CODE" 4223 > 4224 AppleAuthenticationCredentialState 4225 . 4226 AUTHORIZED 4227 </code> 4228 : 4229 <code 4230 class="inline css-nuv12a-STYLES_INLINE_CODE" 4231 > 4232 1 4233 </code> 4234 </li> 4235 <li 4236 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4237 > 4238 <code 4239 class="inline css-nuv12a-STYLES_INLINE_CODE" 4240 > 4241 AppleAuthenticationCredentialState 4242 . 4243 NOT_FOUND 4244 </code> 4245 : 4246 <code 4247 class="inline css-nuv12a-STYLES_INLINE_CODE" 4248 > 4249 2 4250 </code> 4251 </li> 4252 <li 4253 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4254 > 4255 <code 4256 class="inline css-nuv12a-STYLES_INLINE_CODE" 4257 > 4258 AppleAuthenticationCredentialState 4259 . 4260 TRANSFERRED 4261 </code> 4262 : 4263 <code 4264 class="inline css-nuv12a-STYLES_INLINE_CODE" 4265 > 4266 3 4267 </code> 4268 </li> 4269 </ul> 4270 </div> 4271 <div> 4272 <h3 4273 class="css-icxoph-h3-h3-STYLES_H3" 4274 data-heading="true" 4275 > 4276 <div 4277 class="css-1rh3o5q-STYLES_PERMALINK" 4278 > 4279 <span 4280 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4281 id="appleauthenticationoperation" 4282 /> 4283 <a 4284 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4285 href="#appleauthenticationoperation" 4286 > 4287 <span 4288 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4289 > 4290 <code 4291 class="inline css-nuv12a-STYLES_INLINE_CODE" 4292 > 4293 AppleAuthenticationOperation 4294 </code> 4295 </span> 4296 <span 4297 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4298 > 4299 <svg 4300 aria-label="permalink" 4301 class="anchor-icon" 4302 fill="none" 4303 height="24" 4304 viewBox="0 0 24 24" 4305 width="24" 4306 xmlns="http://www.w3.org/2000/svg" 4307 > 4308 <path 4309 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4310 stroke="#9B9B9B" 4311 stroke-linecap="round" 4312 stroke-linejoin="round" 4313 stroke-width="2" 4314 /> 4315 <path 4316 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4317 stroke="#9B9B9B" 4318 stroke-linecap="round" 4319 stroke-linejoin="round" 4320 stroke-width="2" 4321 /> 4322 </svg> 4323 </span> 4324 </a> 4325 </div> 4326 </h3> 4327 <ul 4328 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4329 data-text="true" 4330 > 4331 <li 4332 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4333 > 4334 <code 4335 class="inline css-nuv12a-STYLES_INLINE_CODE" 4336 > 4337 AppleAuthenticationOperation 4338 . 4339 IMPLICIT 4340 </code> 4341 : 4342 <code 4343 class="inline css-nuv12a-STYLES_INLINE_CODE" 4344 > 4345 0 4346 </code> 4347 - 4348 <span> 4349 An operation that depends on the particular kind of credential provider. 4350 </span> 4351 </li> 4352 <li 4353 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4354 > 4355 <code 4356 class="inline css-nuv12a-STYLES_INLINE_CODE" 4357 > 4358 AppleAuthenticationOperation 4359 . 4360 LOGIN 4361 </code> 4362 : 4363 <code 4364 class="inline css-nuv12a-STYLES_INLINE_CODE" 4365 > 4366 1 4367 </code> 4368 </li> 4369 <li 4370 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4371 > 4372 <code 4373 class="inline css-nuv12a-STYLES_INLINE_CODE" 4374 > 4375 AppleAuthenticationOperation 4376 . 4377 REFRESH 4378 </code> 4379 : 4380 <code 4381 class="inline css-nuv12a-STYLES_INLINE_CODE" 4382 > 4383 2 4384 </code> 4385 </li> 4386 <li 4387 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4388 > 4389 <code 4390 class="inline css-nuv12a-STYLES_INLINE_CODE" 4391 > 4392 AppleAuthenticationOperation 4393 . 4394 LOGOUT 4395 </code> 4396 : 4397 <code 4398 class="inline css-nuv12a-STYLES_INLINE_CODE" 4399 > 4400 3 4401 </code> 4402 </li> 4403 </ul> 4404 </div> 4405 <div> 4406 <h3 4407 class="css-icxoph-h3-h3-STYLES_H3" 4408 data-heading="true" 4409 > 4410 <div 4411 class="css-1rh3o5q-STYLES_PERMALINK" 4412 > 4413 <span 4414 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4415 id="appleauthenticationscope" 4416 /> 4417 <a 4418 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4419 href="#appleauthenticationscope" 4420 > 4421 <span 4422 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4423 > 4424 <code 4425 class="inline css-nuv12a-STYLES_INLINE_CODE" 4426 > 4427 AppleAuthenticationScope 4428 </code> 4429 </span> 4430 <span 4431 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4432 > 4433 <svg 4434 aria-label="permalink" 4435 class="anchor-icon" 4436 fill="none" 4437 height="24" 4438 viewBox="0 0 24 24" 4439 width="24" 4440 xmlns="http://www.w3.org/2000/svg" 4441 > 4442 <path 4443 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4444 stroke="#9B9B9B" 4445 stroke-linecap="round" 4446 stroke-linejoin="round" 4447 stroke-width="2" 4448 /> 4449 <path 4450 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4451 stroke="#9B9B9B" 4452 stroke-linecap="round" 4453 stroke-linejoin="round" 4454 stroke-width="2" 4455 /> 4456 </svg> 4457 </span> 4458 </a> 4459 </div> 4460 </h3> 4461 <p 4462 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4463 data-text="true" 4464 > 4465 An enum whose values specify scopes you can request when calling 4466 <a 4467 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4468 href="/#appleauthenticationsigninasyncoptions" 4469 > 4470 <code 4471 class="inline css-nuv12a-STYLES_INLINE_CODE" 4472 > 4473 AppleAuthentication.signInAsync() 4474 </code> 4475 </a> 4476 . 4477 </p> 4478 <blockquote 4479 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 4480 data-text="true" 4481 > 4482 <div> 4483 <div 4484 style="margin-top: 2px;" 4485 > 4486 <svg 4487 aria-label="check" 4488 fill="none" 4489 height="16" 4490 viewBox="0 0 24 24" 4491 width="16" 4492 xmlns="http://www.w3.org/2000/svg" 4493 > 4494 <path 4495 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 4496 fill="var(--expo-theme-icon-default)" 4497 /> 4498 </svg> 4499 </div> 4500 </div> 4501 <div> 4502 4503 4504 Note that it is possible that you will not be granted all of the scopes which you request. 4505You will still need to handle null values for any fields you request. 4506 4507 4508 </div> 4509 </blockquote> 4510 <blockquote 4511 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 4512 data-text="true" 4513 > 4514 <div> 4515 <div 4516 style="margin-top: 2px;" 4517 > 4518 <svg 4519 aria-label="check" 4520 fill="none" 4521 height="16" 4522 viewBox="0 0 24 24" 4523 width="16" 4524 xmlns="http://www.w3.org/2000/svg" 4525 > 4526 <path 4527 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 4528 fill="var(--expo-theme-icon-default)" 4529 /> 4530 </svg> 4531 </div> 4532 </div> 4533 <div> 4534 <strong 4535 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 4536 > 4537 See: 4538 </strong> 4539 <span> 4540 <a 4541 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4542 href="https://developer.apple.com/documentation/authenticationservices/asauthorizationscope" 4543 rel="noopener noreferrer" 4544 > 4545 Apple 4546Documentation 4547 </a> 4548 4549for more details. 4550 </span> 4551 </div> 4552 </blockquote> 4553 <ul 4554 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4555 data-text="true" 4556 > 4557 <li 4558 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4559 > 4560 <code 4561 class="inline css-nuv12a-STYLES_INLINE_CODE" 4562 > 4563 AppleAuthenticationScope 4564 . 4565 FULL_NAME 4566 </code> 4567 : 4568 <code 4569 class="inline css-nuv12a-STYLES_INLINE_CODE" 4570 > 4571 0 4572 </code> 4573 </li> 4574 <li 4575 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4576 > 4577 <code 4578 class="inline css-nuv12a-STYLES_INLINE_CODE" 4579 > 4580 AppleAuthenticationScope 4581 . 4582 EMAIL 4583 </code> 4584 : 4585 <code 4586 class="inline css-nuv12a-STYLES_INLINE_CODE" 4587 > 4588 1 4589 </code> 4590 </li> 4591 </ul> 4592 </div> 4593 <div> 4594 <h3 4595 class="css-icxoph-h3-h3-STYLES_H3" 4596 data-heading="true" 4597 > 4598 <div 4599 class="css-1rh3o5q-STYLES_PERMALINK" 4600 > 4601 <span 4602 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4603 id="appleauthenticationuserdetectionstatus" 4604 /> 4605 <a 4606 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4607 href="#appleauthenticationuserdetectionstatus" 4608 > 4609 <span 4610 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4611 > 4612 <code 4613 class="inline css-nuv12a-STYLES_INLINE_CODE" 4614 > 4615 AppleAuthenticationUserDetectionStatus 4616 </code> 4617 </span> 4618 <span 4619 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4620 > 4621 <svg 4622 aria-label="permalink" 4623 class="anchor-icon" 4624 fill="none" 4625 height="24" 4626 viewBox="0 0 24 24" 4627 width="24" 4628 xmlns="http://www.w3.org/2000/svg" 4629 > 4630 <path 4631 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4632 stroke="#9B9B9B" 4633 stroke-linecap="round" 4634 stroke-linejoin="round" 4635 stroke-width="2" 4636 /> 4637 <path 4638 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4639 stroke="#9B9B9B" 4640 stroke-linecap="round" 4641 stroke-linejoin="round" 4642 stroke-width="2" 4643 /> 4644 </svg> 4645 </span> 4646 </a> 4647 </div> 4648 </h3> 4649 <p 4650 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4651 data-text="true" 4652 > 4653 An enum whose values specify the system's best guess for how likely the current user is a real person. 4654 </p> 4655 <blockquote 4656 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 4657 data-text="true" 4658 > 4659 <div> 4660 <div 4661 style="margin-top: 2px;" 4662 > 4663 <svg 4664 aria-label="check" 4665 fill="none" 4666 height="16" 4667 viewBox="0 0 24 24" 4668 width="16" 4669 xmlns="http://www.w3.org/2000/svg" 4670 > 4671 <path 4672 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 4673 fill="var(--expo-theme-icon-default)" 4674 /> 4675 </svg> 4676 </div> 4677 </div> 4678 <div> 4679 <strong 4680 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 4681 > 4682 See: 4683 </strong> 4684 <span> 4685 <a 4686 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4687 href="https://developer.apple.com/documentation/authenticationservices/asuserdetectionstatus" 4688 rel="noopener noreferrer" 4689 > 4690 Apple 4691Documentation 4692 </a> 4693 4694for more details. 4695 </span> 4696 </div> 4697 </blockquote> 4698 <ul 4699 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4700 data-text="true" 4701 > 4702 <li 4703 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4704 > 4705 <code 4706 class="inline css-nuv12a-STYLES_INLINE_CODE" 4707 > 4708 AppleAuthenticationUserDetectionStatus 4709 . 4710 UNSUPPORTED 4711 </code> 4712 : 4713 <code 4714 class="inline css-nuv12a-STYLES_INLINE_CODE" 4715 > 4716 0 4717 </code> 4718 - 4719 <span> 4720 The system does not support this determination and there is no data. 4721 </span> 4722 </li> 4723 <li 4724 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4725 > 4726 <code 4727 class="inline css-nuv12a-STYLES_INLINE_CODE" 4728 > 4729 AppleAuthenticationUserDetectionStatus 4730 . 4731 UNKNOWN 4732 </code> 4733 : 4734 <code 4735 class="inline css-nuv12a-STYLES_INLINE_CODE" 4736 > 4737 1 4738 </code> 4739 - 4740 <span> 4741 The system has not determined whether the user might be a real person. 4742 </span> 4743 </li> 4744 <li 4745 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4746 > 4747 <code 4748 class="inline css-nuv12a-STYLES_INLINE_CODE" 4749 > 4750 AppleAuthenticationUserDetectionStatus 4751 . 4752 LIKELY_REAL 4753 </code> 4754 : 4755 <code 4756 class="inline css-nuv12a-STYLES_INLINE_CODE" 4757 > 4758 2 4759 </code> 4760 - 4761 <span> 4762 The user appears to be a real person. 4763 </span> 4764 </li> 4765 </ul> 4766 </div> 4767</div> 4768`; 4769 4770exports[`APISection expo-barcode-scanner 1`] = ` 4771<div> 4772 <h2 4773 class="css-1v5aebx-h2-h2-STYLES_H2" 4774 data-heading="true" 4775 > 4776 <div 4777 class="css-1rh3o5q-STYLES_PERMALINK" 4778 > 4779 <span 4780 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4781 id="components" 4782 /> 4783 <a 4784 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4785 href="#components" 4786 > 4787 <span 4788 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4789 > 4790 Components 4791 </span> 4792 <span 4793 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4794 > 4795 <svg 4796 aria-label="permalink" 4797 class="anchor-icon" 4798 fill="none" 4799 height="24" 4800 viewBox="0 0 24 24" 4801 width="24" 4802 xmlns="http://www.w3.org/2000/svg" 4803 > 4804 <path 4805 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4806 stroke="#9B9B9B" 4807 stroke-linecap="round" 4808 stroke-linejoin="round" 4809 stroke-width="2" 4810 /> 4811 <path 4812 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4813 stroke="#9B9B9B" 4814 stroke-linecap="round" 4815 stroke-linejoin="round" 4816 stroke-width="2" 4817 /> 4818 </svg> 4819 </span> 4820 </a> 4821 </div> 4822 </h2> 4823 <div> 4824 <h3 4825 class="css-icxoph-h3-h3-STYLES_H3" 4826 data-heading="true" 4827 > 4828 <div 4829 class="css-1rh3o5q-STYLES_PERMALINK" 4830 > 4831 <span 4832 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4833 id="barcodescanner" 4834 /> 4835 <a 4836 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4837 href="#barcodescanner" 4838 > 4839 <span 4840 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4841 > 4842 <code 4843 class="inline css-nuv12a-STYLES_INLINE_CODE" 4844 > 4845 BarCodeScanner 4846 </code> 4847 </span> 4848 <span 4849 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4850 > 4851 <svg 4852 aria-label="permalink" 4853 class="anchor-icon" 4854 fill="none" 4855 height="24" 4856 viewBox="0 0 24 24" 4857 width="24" 4858 xmlns="http://www.w3.org/2000/svg" 4859 > 4860 <path 4861 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4862 stroke="#9B9B9B" 4863 stroke-linecap="round" 4864 stroke-linejoin="round" 4865 stroke-width="2" 4866 /> 4867 <path 4868 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4869 stroke="#9B9B9B" 4870 stroke-linecap="round" 4871 stroke-linejoin="round" 4872 stroke-width="2" 4873 /> 4874 </svg> 4875 </span> 4876 </a> 4877 </div> 4878 </h3> 4879 <p 4880 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4881 data-text="true" 4882 > 4883 <strong 4884 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 4885 > 4886 Type: 4887 </strong> 4888 4889 <code 4890 class="inline css-nuv12a-STYLES_INLINE_CODE" 4891 > 4892 Component 4893 < 4894 <span> 4895 <a 4896 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4897 href="/#barcodescannerprops" 4898 > 4899 BarCodeScannerProps 4900 </a> 4901 </span> 4902 > 4903 </code> 4904 </p> 4905 <h3 4906 class="css-icxoph-h3-h3-STYLES_H3" 4907 data-heading="true" 4908 > 4909 <div 4910 class="css-1rh3o5q-STYLES_PERMALINK" 4911 > 4912 <span 4913 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4914 id="barcodescannerprops" 4915 /> 4916 <a 4917 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4918 href="#barcodescannerprops" 4919 > 4920 <span 4921 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4922 > 4923 <code 4924 class="inline css-nuv12a-STYLES_INLINE_CODE" 4925 > 4926 BarCodeScannerProps 4927 </code> 4928 </span> 4929 <span 4930 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4931 > 4932 <svg 4933 aria-label="permalink" 4934 class="anchor-icon" 4935 fill="none" 4936 height="24" 4937 viewBox="0 0 24 24" 4938 width="24" 4939 xmlns="http://www.w3.org/2000/svg" 4940 > 4941 <path 4942 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4943 stroke="#9B9B9B" 4944 stroke-linecap="round" 4945 stroke-linejoin="round" 4946 stroke-width="2" 4947 /> 4948 <path 4949 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4950 stroke="#9B9B9B" 4951 stroke-linecap="round" 4952 stroke-linejoin="round" 4953 stroke-width="2" 4954 /> 4955 </svg> 4956 </span> 4957 </a> 4958 </div> 4959 </h3> 4960 <br /> 4961 <div> 4962 <ul 4963 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4964 data-text="true" 4965 > 4966 <li 4967 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4968 > 4969 <h4 4970 class="css-1j2s5xo-h4-h4-STYLES_H4" 4971 data-heading="true" 4972 > 4973 barCodeTypes 4974 </h4> 4975 <p 4976 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4977 data-text="true" 4978 > 4979 <span 4980 class="css-t865as-STYLES_SECONDARY" 4981 > 4982 Optional • 4983 </span> 4984 <span 4985 class="css-t865as-STYLES_SECONDARY" 4986 > 4987 Type: 4988 </span> 4989 4990 <code 4991 class="inline css-nuv12a-STYLES_INLINE_CODE" 4992 > 4993 string[] 4994 </code> 4995 </p> 4996 <p 4997 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4998 data-text="true" 4999 > 5000 An array of bar code types. Usage: 5001 <code 5002 class="inline css-nuv12a-STYLES_INLINE_CODE" 5003 > 5004 BarCodeScanner.Constants.BarCodeType.<codeType> 5005 </code> 5006 where 5007 5008 <code 5009 class="inline css-nuv12a-STYLES_INLINE_CODE" 5010 > 5011 codeType 5012 </code> 5013 is one of these 5014 <a 5015 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5016 href="/#supported-formats" 5017 > 5018 listed above 5019 </a> 5020 . Defaults to all supported bar 5021code types. It is recommended to provide only the bar code formats you expect to scan to 5022minimize battery usage. 5023 </p> 5024 <p 5025 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5026 data-text="true" 5027 > 5028 For example: 5029 <code 5030 class="inline css-nuv12a-STYLES_INLINE_CODE" 5031 > 5032 barCodeTypes={[BarCodeScanner.Constants.BarCodeType.qr]} 5033 </code> 5034 . 5035 </p> 5036 </li> 5037 <li 5038 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 5039 > 5040 <h4 5041 class="css-1j2s5xo-h4-h4-STYLES_H4" 5042 data-heading="true" 5043 > 5044 onBarCodeScanned 5045 </h4> 5046 <p 5047 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5048 data-text="true" 5049 > 5050 <span 5051 class="css-t865as-STYLES_SECONDARY" 5052 > 5053 Optional • 5054 </span> 5055 <span 5056 class="css-t865as-STYLES_SECONDARY" 5057 > 5058 Type: 5059 </span> 5060 5061 <code 5062 class="inline css-nuv12a-STYLES_INLINE_CODE" 5063 > 5064 <a 5065 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5066 href="/#barcodescannedcallback" 5067 > 5068 BarCodeScannedCallback 5069 </a> 5070 </code> 5071 </p> 5072 <p 5073 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5074 data-text="true" 5075 > 5076 A callback that is invoked when a bar code has been successfully scanned. The callback is 5077provided with an 5078 <a 5079 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5080 href="/#barcodescannerresult" 5081 > 5082 BarCodeScannerResult 5083 </a> 5084 . 5085 </p> 5086 5087 5088 <blockquote 5089 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 5090 data-text="true" 5091 > 5092 <div> 5093 <div 5094 style="margin-top: 2px;" 5095 > 5096 <svg 5097 aria-label="check" 5098 fill="none" 5099 height="16" 5100 viewBox="0 0 24 24" 5101 width="16" 5102 xmlns="http://www.w3.org/2000/svg" 5103 > 5104 <path 5105 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 5106 fill="var(--expo-theme-icon-default)" 5107 /> 5108 </svg> 5109 </div> 5110 </div> 5111 <div> 5112 5113 5114 <strong 5115 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 5116 > 5117 Note: 5118 </strong> 5119 Passing 5120 <code 5121 class="inline css-nuv12a-STYLES_INLINE_CODE" 5122 > 5123 undefined 5124 </code> 5125 to the 5126 <code 5127 class="inline css-nuv12a-STYLES_INLINE_CODE" 5128 > 5129 onBarCodeScanned 5130 </code> 5131 prop will result in no scanning. This 5132can be used to effectively "pause" the scanner so that it doesn't continually scan even after 5133data has been retrieved. 5134 5135 5136 </div> 5137 </blockquote> 5138 </li> 5139 <li 5140 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 5141 > 5142 <h4 5143 class="css-1j2s5xo-h4-h4-STYLES_H4" 5144 data-heading="true" 5145 > 5146 type 5147 </h4> 5148 <p 5149 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5150 data-text="true" 5151 > 5152 <span 5153 class="css-t865as-STYLES_SECONDARY" 5154 > 5155 Optional • 5156 </span> 5157 <span 5158 class="css-t865as-STYLES_SECONDARY" 5159 > 5160 Type: 5161 </span> 5162 5163 <code 5164 class="inline css-nuv12a-STYLES_INLINE_CODE" 5165 > 5166 <span> 5167 'front' 5168 | 5169 </span> 5170 <span> 5171 'back' 5172 | 5173 </span> 5174 <span> 5175 number 5176 </span> 5177 </code> 5178 <span> 5179 <span 5180 class="css-t865as-STYLES_SECONDARY" 5181 > 5182 • Default: 5183 </span> 5184 5185 <code 5186 class="inline css-nuv12a-STYLES_INLINE_CODE" 5187 > 5188 Type.back 5189 5190 </code> 5191 </span> 5192 </p> 5193 <p 5194 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5195 data-text="true" 5196 > 5197 Camera facing. Use one of 5198 <code 5199 class="inline css-nuv12a-STYLES_INLINE_CODE" 5200 > 5201 BarCodeScanner.Constants.Type 5202 </code> 5203 . Use either 5204 <code 5205 class="inline css-nuv12a-STYLES_INLINE_CODE" 5206 > 5207 Type.front 5208 </code> 5209 or 5210 <code 5211 class="inline css-nuv12a-STYLES_INLINE_CODE" 5212 > 5213 Type.back 5214 </code> 5215 . 5216Same as 5217 <code 5218 class="inline css-nuv12a-STYLES_INLINE_CODE" 5219 > 5220 Camera.Constants.Type 5221 </code> 5222 . 5223 </p> 5224 </li> 5225 </ul> 5226 <h4 5227 class="css-1j2s5xo-h4-h4-STYLES_H4" 5228 data-heading="true" 5229 > 5230 Inherited Props 5231 </h4> 5232 <ul 5233 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5234 data-text="true" 5235 > 5236 <li 5237 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 5238 > 5239 <code 5240 class="inline css-nuv12a-STYLES_INLINE_CODE" 5241 > 5242 <a 5243 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5244 href="/react-native/view#props" 5245 > 5246 ViewProps 5247 </a> 5248 </code> 5249 </li> 5250 </ul> 5251 </div> 5252 </div> 5253 <h2 5254 class="css-1v5aebx-h2-h2-STYLES_H2" 5255 data-heading="true" 5256 > 5257 <div 5258 class="css-1rh3o5q-STYLES_PERMALINK" 5259 > 5260 <span 5261 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5262 id="hooks" 5263 /> 5264 <a 5265 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5266 href="#hooks" 5267 > 5268 <span 5269 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5270 > 5271 Hooks 5272 </span> 5273 <span 5274 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5275 > 5276 <svg 5277 aria-label="permalink" 5278 class="anchor-icon" 5279 fill="none" 5280 height="24" 5281 viewBox="0 0 24 24" 5282 width="24" 5283 xmlns="http://www.w3.org/2000/svg" 5284 > 5285 <path 5286 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5287 stroke="#9B9B9B" 5288 stroke-linecap="round" 5289 stroke-linejoin="round" 5290 stroke-width="2" 5291 /> 5292 <path 5293 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5294 stroke="#9B9B9B" 5295 stroke-linecap="round" 5296 stroke-linejoin="round" 5297 stroke-width="2" 5298 /> 5299 </svg> 5300 </span> 5301 </a> 5302 </div> 5303 </h2> 5304 <div> 5305 <h3 5306 class="css-icxoph-h3-h3-STYLES_H3" 5307 data-heading="true" 5308 > 5309 <div 5310 class="css-1rh3o5q-STYLES_PERMALINK" 5311 > 5312 <span 5313 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5314 id="usepermissions" 5315 /> 5316 <a 5317 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5318 href="#usepermissions" 5319 > 5320 <span 5321 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5322 > 5323 <code 5324 class="inline css-nuv12a-STYLES_INLINE_CODE" 5325 > 5326 usePermissions 5327 </code> 5328 </span> 5329 <span 5330 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5331 > 5332 <svg 5333 aria-label="permalink" 5334 class="anchor-icon" 5335 fill="none" 5336 height="24" 5337 viewBox="0 0 24 24" 5338 width="24" 5339 xmlns="http://www.w3.org/2000/svg" 5340 > 5341 <path 5342 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5343 stroke="#9B9B9B" 5344 stroke-linecap="round" 5345 stroke-linejoin="round" 5346 stroke-width="2" 5347 /> 5348 <path 5349 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5350 stroke="#9B9B9B" 5351 stroke-linecap="round" 5352 stroke-linejoin="round" 5353 stroke-width="2" 5354 /> 5355 </svg> 5356 </span> 5357 </a> 5358 </div> 5359 </h3> 5360 <h4 5361 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5362 data-components-heading="true" 5363 data-heading="true" 5364 > 5365 <div 5366 class="css-1rh3o5q-STYLES_PERMALINK" 5367 > 5368 <span 5369 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5370 id="arguments" 5371 /> 5372 <a 5373 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5374 href="#arguments" 5375 > 5376 <span 5377 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5378 > 5379 Arguments 5380 </span> 5381 <span 5382 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5383 > 5384 <svg 5385 aria-label="permalink" 5386 class="anchor-icon" 5387 fill="none" 5388 height="24" 5389 viewBox="0 0 24 24" 5390 width="24" 5391 xmlns="http://www.w3.org/2000/svg" 5392 > 5393 <path 5394 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5395 stroke="#9B9B9B" 5396 stroke-linecap="round" 5397 stroke-linejoin="round" 5398 stroke-width="2" 5399 /> 5400 <path 5401 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5402 stroke="#9B9B9B" 5403 stroke-linecap="round" 5404 stroke-linejoin="round" 5405 stroke-width="2" 5406 /> 5407 </svg> 5408 </span> 5409 </a> 5410 </div> 5411 </h4> 5412 <ul 5413 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5414 data-text="true" 5415 > 5416 <li 5417 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 5418 > 5419 <strong 5420 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 5421 > 5422 options 5423 ? 5424 ( 5425 <code 5426 class="inline css-nuv12a-STYLES_INLINE_CODE" 5427 > 5428 <a 5429 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5430 href="/#permissionhookoptions" 5431 > 5432 PermissionHookOptions 5433 </a> 5434 < 5435 <span> 5436 object 5437 </span> 5438 > 5439 </code> 5440 ) 5441 </strong> 5442 </li> 5443 </ul> 5444 <p 5445 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5446 data-text="true" 5447 > 5448 Create a new permission hook with the permission methods built-in. 5449This can be used to quickly create specific permission hooks in every module. 5450 </p> 5451 <div> 5452 <h4 5453 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5454 data-components-heading="true" 5455 data-heading="true" 5456 > 5457 <div 5458 class="css-1rh3o5q-STYLES_PERMALINK" 5459 > 5460 <span 5461 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5462 id="returns" 5463 /> 5464 <a 5465 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5466 href="#returns" 5467 > 5468 <span 5469 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5470 > 5471 Returns 5472 </span> 5473 <span 5474 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5475 > 5476 <svg 5477 aria-label="permalink" 5478 class="anchor-icon" 5479 fill="none" 5480 height="24" 5481 viewBox="0 0 24 24" 5482 width="24" 5483 xmlns="http://www.w3.org/2000/svg" 5484 > 5485 <path 5486 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5487 stroke="#9B9B9B" 5488 stroke-linecap="round" 5489 stroke-linejoin="round" 5490 stroke-width="2" 5491 /> 5492 <path 5493 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5494 stroke="#9B9B9B" 5495 stroke-linecap="round" 5496 stroke-linejoin="round" 5497 stroke-width="2" 5498 /> 5499 </svg> 5500 </span> 5501 </a> 5502 </div> 5503 </h4> 5504 <ul 5505 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5506 data-text="true" 5507 > 5508 <li 5509 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 5510 > 5511 <code 5512 class="inline css-nuv12a-STYLES_INLINE_CODE" 5513 > 5514 [ 5515 <span> 5516 <span> 5517 null 5518 | 5519 </span> 5520 <span> 5521 <a 5522 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5523 href="/#permissionresponse" 5524 > 5525 PermissionResponse 5526 </a> 5527 </span> 5528 , 5529 </span> 5530 <span> 5531 RequestPermissionMethod 5532 < 5533 <span> 5534 <a 5535 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5536 href="/#permissionresponse" 5537 > 5538 PermissionResponse 5539 </a> 5540 </span> 5541 > 5542 , 5543 </span> 5544 <span> 5545 GetPermissionMethod 5546 < 5547 <span> 5548 <a 5549 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5550 href="/#permissionresponse" 5551 > 5552 PermissionResponse 5553 </a> 5554 </span> 5555 > 5556 </span> 5557 ] 5558 </code> 5559 </li> 5560 </ul> 5561 </div> 5562 </div> 5563 <h2 5564 class="css-1v5aebx-h2-h2-STYLES_H2" 5565 data-heading="true" 5566 > 5567 <div 5568 class="css-1rh3o5q-STYLES_PERMALINK" 5569 > 5570 <span 5571 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5572 id="methods" 5573 /> 5574 <a 5575 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5576 href="#methods" 5577 > 5578 <span 5579 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5580 > 5581 Methods 5582 </span> 5583 <span 5584 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5585 > 5586 <svg 5587 aria-label="permalink" 5588 class="anchor-icon" 5589 fill="none" 5590 height="24" 5591 viewBox="0 0 24 24" 5592 width="24" 5593 xmlns="http://www.w3.org/2000/svg" 5594 > 5595 <path 5596 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5597 stroke="#9B9B9B" 5598 stroke-linecap="round" 5599 stroke-linejoin="round" 5600 stroke-width="2" 5601 /> 5602 <path 5603 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5604 stroke="#9B9B9B" 5605 stroke-linecap="round" 5606 stroke-linejoin="round" 5607 stroke-width="2" 5608 /> 5609 </svg> 5610 </span> 5611 </a> 5612 </div> 5613 </h2> 5614 <div> 5615 <h3 5616 class="css-icxoph-h3-h3-STYLES_H3" 5617 data-heading="true" 5618 > 5619 <div 5620 class="css-1rh3o5q-STYLES_PERMALINK" 5621 > 5622 <span 5623 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5624 id="barcodescannergetpermissionsasync" 5625 /> 5626 <a 5627 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5628 href="#barcodescannergetpermissionsasync" 5629 > 5630 <span 5631 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5632 > 5633 <code 5634 class="inline css-nuv12a-STYLES_INLINE_CODE" 5635 > 5636 BarCodeScanner. 5637 getPermissionsAsync() 5638 </code> 5639 </span> 5640 <span 5641 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5642 > 5643 <svg 5644 aria-label="permalink" 5645 class="anchor-icon" 5646 fill="none" 5647 height="24" 5648 viewBox="0 0 24 24" 5649 width="24" 5650 xmlns="http://www.w3.org/2000/svg" 5651 > 5652 <path 5653 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5654 stroke="#9B9B9B" 5655 stroke-linecap="round" 5656 stroke-linejoin="round" 5657 stroke-width="2" 5658 /> 5659 <path 5660 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5661 stroke="#9B9B9B" 5662 stroke-linecap="round" 5663 stroke-linejoin="round" 5664 stroke-width="2" 5665 /> 5666 </svg> 5667 </span> 5668 </a> 5669 </div> 5670 </h3> 5671 <p 5672 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5673 data-text="true" 5674 > 5675 Checks user's permissions for accessing the camera. 5676 </p> 5677 <div> 5678 <h4 5679 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5680 data-components-heading="true" 5681 data-heading="true" 5682 > 5683 <div 5684 class="css-1rh3o5q-STYLES_PERMALINK" 5685 > 5686 <span 5687 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5688 id="returns-1" 5689 /> 5690 <a 5691 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5692 href="#returns-1" 5693 > 5694 <span 5695 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5696 > 5697 Returns 5698 </span> 5699 <span 5700 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5701 > 5702 <svg 5703 aria-label="permalink" 5704 class="anchor-icon" 5705 fill="none" 5706 height="24" 5707 viewBox="0 0 24 24" 5708 width="24" 5709 xmlns="http://www.w3.org/2000/svg" 5710 > 5711 <path 5712 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5713 stroke="#9B9B9B" 5714 stroke-linecap="round" 5715 stroke-linejoin="round" 5716 stroke-width="2" 5717 /> 5718 <path 5719 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5720 stroke="#9B9B9B" 5721 stroke-linecap="round" 5722 stroke-linejoin="round" 5723 stroke-width="2" 5724 /> 5725 </svg> 5726 </span> 5727 </a> 5728 </div> 5729 </h4> 5730 <ul 5731 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5732 data-text="true" 5733 > 5734 <li 5735 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 5736 > 5737 <code 5738 class="inline css-nuv12a-STYLES_INLINE_CODE" 5739 > 5740 <a 5741 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5742 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 5743 rel="noopener noreferrer" 5744 > 5745 Promise 5746 </a> 5747 < 5748 <span> 5749 <a 5750 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5751 href="/#permissionresponse" 5752 > 5753 PermissionResponse 5754 </a> 5755 </span> 5756 > 5757 </code> 5758 </li> 5759 </ul> 5760 <p 5761 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5762 data-text="true" 5763 > 5764 Return a promise that fulfills to an object of type 5765 <a 5766 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5767 href="/#permissionresponse" 5768 > 5769 <code 5770 class="inline css-nuv12a-STYLES_INLINE_CODE" 5771 > 5772 PermissionResponse 5773 </code> 5774 </a> 5775 . 5776 </p> 5777 </div> 5778 <hr /> 5779 </div> 5780 <div> 5781 <h3 5782 class="css-icxoph-h3-h3-STYLES_H3" 5783 data-heading="true" 5784 > 5785 <div 5786 class="css-1rh3o5q-STYLES_PERMALINK" 5787 > 5788 <span 5789 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5790 id="barcodescannerrequestpermissionsasync" 5791 /> 5792 <a 5793 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5794 href="#barcodescannerrequestpermissionsasync" 5795 > 5796 <span 5797 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5798 > 5799 <code 5800 class="inline css-nuv12a-STYLES_INLINE_CODE" 5801 > 5802 BarCodeScanner. 5803 requestPermissionsAsync() 5804 </code> 5805 </span> 5806 <span 5807 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5808 > 5809 <svg 5810 aria-label="permalink" 5811 class="anchor-icon" 5812 fill="none" 5813 height="24" 5814 viewBox="0 0 24 24" 5815 width="24" 5816 xmlns="http://www.w3.org/2000/svg" 5817 > 5818 <path 5819 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5820 stroke="#9B9B9B" 5821 stroke-linecap="round" 5822 stroke-linejoin="round" 5823 stroke-width="2" 5824 /> 5825 <path 5826 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5827 stroke="#9B9B9B" 5828 stroke-linecap="round" 5829 stroke-linejoin="round" 5830 stroke-width="2" 5831 /> 5832 </svg> 5833 </span> 5834 </a> 5835 </div> 5836 </h3> 5837 <p 5838 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5839 data-text="true" 5840 > 5841 Asks the user to grant permissions for accessing the camera. 5842 </p> 5843 <p 5844 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5845 data-text="true" 5846 > 5847 On iOS this will require apps to specify the 5848 <code 5849 class="inline css-nuv12a-STYLES_INLINE_CODE" 5850 > 5851 NSCameraUsageDescription 5852 </code> 5853 entry in the 5854 <code 5855 class="inline css-nuv12a-STYLES_INLINE_CODE" 5856 > 5857 Info.plist 5858 </code> 5859 . 5860 </p> 5861 <div> 5862 <h4 5863 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5864 data-components-heading="true" 5865 data-heading="true" 5866 > 5867 <div 5868 class="css-1rh3o5q-STYLES_PERMALINK" 5869 > 5870 <span 5871 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5872 id="returns-2" 5873 /> 5874 <a 5875 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5876 href="#returns-2" 5877 > 5878 <span 5879 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5880 > 5881 Returns 5882 </span> 5883 <span 5884 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5885 > 5886 <svg 5887 aria-label="permalink" 5888 class="anchor-icon" 5889 fill="none" 5890 height="24" 5891 viewBox="0 0 24 24" 5892 width="24" 5893 xmlns="http://www.w3.org/2000/svg" 5894 > 5895 <path 5896 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5897 stroke="#9B9B9B" 5898 stroke-linecap="round" 5899 stroke-linejoin="round" 5900 stroke-width="2" 5901 /> 5902 <path 5903 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5904 stroke="#9B9B9B" 5905 stroke-linecap="round" 5906 stroke-linejoin="round" 5907 stroke-width="2" 5908 /> 5909 </svg> 5910 </span> 5911 </a> 5912 </div> 5913 </h4> 5914 <ul 5915 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5916 data-text="true" 5917 > 5918 <li 5919 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 5920 > 5921 <code 5922 class="inline css-nuv12a-STYLES_INLINE_CODE" 5923 > 5924 <a 5925 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5926 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 5927 rel="noopener noreferrer" 5928 > 5929 Promise 5930 </a> 5931 < 5932 <span> 5933 <a 5934 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5935 href="/#permissionresponse" 5936 > 5937 PermissionResponse 5938 </a> 5939 </span> 5940 > 5941 </code> 5942 </li> 5943 </ul> 5944 <p 5945 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5946 data-text="true" 5947 > 5948 Return a promise that fulfills to an object of type 5949 <a 5950 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5951 href="/#permissionresponse" 5952 > 5953 <code 5954 class="inline css-nuv12a-STYLES_INLINE_CODE" 5955 > 5956 PermissionResponse 5957 </code> 5958 </a> 5959 . 5960 </p> 5961 </div> 5962 <hr /> 5963 </div> 5964 <div> 5965 <h3 5966 class="css-icxoph-h3-h3-STYLES_H3" 5967 data-heading="true" 5968 > 5969 <div 5970 class="css-1rh3o5q-STYLES_PERMALINK" 5971 > 5972 <span 5973 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5974 id="barcodescannerscanfromurlasyncurl-barcodetypes" 5975 /> 5976 <a 5977 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5978 href="#barcodescannerscanfromurlasyncurl-barcodetypes" 5979 > 5980 <span 5981 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5982 > 5983 <code 5984 class="inline css-nuv12a-STYLES_INLINE_CODE" 5985 > 5986 BarCodeScanner. 5987 scanFromURLAsync(url, barCodeTypes) 5988 </code> 5989 </span> 5990 <span 5991 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5992 > 5993 <svg 5994 aria-label="permalink" 5995 class="anchor-icon" 5996 fill="none" 5997 height="24" 5998 viewBox="0 0 24 24" 5999 width="24" 6000 xmlns="http://www.w3.org/2000/svg" 6001 > 6002 <path 6003 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6004 stroke="#9B9B9B" 6005 stroke-linecap="round" 6006 stroke-linejoin="round" 6007 stroke-width="2" 6008 /> 6009 <path 6010 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6011 stroke="#9B9B9B" 6012 stroke-linecap="round" 6013 stroke-linejoin="round" 6014 stroke-width="2" 6015 /> 6016 </svg> 6017 </span> 6018 </a> 6019 </div> 6020 </h3> 6021 <h4 6022 class=" css-1j2s5xo-h4-h4-STYLES_H4" 6023 data-components-heading="true" 6024 data-heading="true" 6025 > 6026 <div 6027 class="css-1rh3o5q-STYLES_PERMALINK" 6028 > 6029 <span 6030 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6031 id="arguments-1" 6032 /> 6033 <a 6034 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6035 href="#arguments-1" 6036 > 6037 <span 6038 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6039 > 6040 Arguments 6041 </span> 6042 <span 6043 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6044 > 6045 <svg 6046 aria-label="permalink" 6047 class="anchor-icon" 6048 fill="none" 6049 height="24" 6050 viewBox="0 0 24 24" 6051 width="24" 6052 xmlns="http://www.w3.org/2000/svg" 6053 > 6054 <path 6055 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6056 stroke="#9B9B9B" 6057 stroke-linecap="round" 6058 stroke-linejoin="round" 6059 stroke-width="2" 6060 /> 6061 <path 6062 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6063 stroke="#9B9B9B" 6064 stroke-linecap="round" 6065 stroke-linejoin="round" 6066 stroke-width="2" 6067 /> 6068 </svg> 6069 </span> 6070 </a> 6071 </div> 6072 </h4> 6073 <ul 6074 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 6075 data-text="true" 6076 > 6077 <li 6078 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 6079 > 6080 <strong 6081 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6082 > 6083 url 6084 ( 6085 <code 6086 class="inline css-nuv12a-STYLES_INLINE_CODE" 6087 > 6088 string 6089 </code> 6090 ) 6091 </strong> 6092 - 6093 <span> 6094 URL to get the image from. 6095 </span> 6096 </li> 6097 <li 6098 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 6099 > 6100 <strong 6101 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6102 > 6103 barCodeTypes 6104 ( 6105 <code 6106 class="inline css-nuv12a-STYLES_INLINE_CODE" 6107 > 6108 string[] 6109 </code> 6110 ) 6111 </strong> 6112 - 6113 <span> 6114 An array of bar code types. Defaults to all supported bar code types on 6115the platform. 6116 </span> 6117 6118 6119 <blockquote 6120 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 6121 data-text="true" 6122 > 6123 <div> 6124 <div 6125 style="margin-top: 2px;" 6126 > 6127 <svg 6128 aria-label="check" 6129 fill="none" 6130 height="16" 6131 viewBox="0 0 24 24" 6132 width="16" 6133 xmlns="http://www.w3.org/2000/svg" 6134 > 6135 <path 6136 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 6137 fill="var(--expo-theme-icon-default)" 6138 /> 6139 </svg> 6140 </div> 6141 </div> 6142 <div> 6143 6144 6145 <strong 6146 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6147 > 6148 Note: 6149 </strong> 6150 Only QR codes are supported on iOS. 6151 6152 6153 </div> 6154 </blockquote> 6155 </li> 6156 </ul> 6157 <p 6158 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 6159 data-text="true" 6160 > 6161 Scan bar codes from the image given by the URL. 6162 </p> 6163 <div> 6164 <h4 6165 class=" css-1j2s5xo-h4-h4-STYLES_H4" 6166 data-components-heading="true" 6167 data-heading="true" 6168 > 6169 <div 6170 class="css-1rh3o5q-STYLES_PERMALINK" 6171 > 6172 <span 6173 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6174 id="returns-3" 6175 /> 6176 <a 6177 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6178 href="#returns-3" 6179 > 6180 <span 6181 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6182 > 6183 Returns 6184 </span> 6185 <span 6186 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6187 > 6188 <svg 6189 aria-label="permalink" 6190 class="anchor-icon" 6191 fill="none" 6192 height="24" 6193 viewBox="0 0 24 24" 6194 width="24" 6195 xmlns="http://www.w3.org/2000/svg" 6196 > 6197 <path 6198 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6199 stroke="#9B9B9B" 6200 stroke-linecap="round" 6201 stroke-linejoin="round" 6202 stroke-width="2" 6203 /> 6204 <path 6205 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6206 stroke="#9B9B9B" 6207 stroke-linecap="round" 6208 stroke-linejoin="round" 6209 stroke-width="2" 6210 /> 6211 </svg> 6212 </span> 6213 </a> 6214 </div> 6215 </h4> 6216 <ul 6217 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 6218 data-text="true" 6219 > 6220 <li 6221 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 6222 > 6223 <code 6224 class="inline css-nuv12a-STYLES_INLINE_CODE" 6225 > 6226 <a 6227 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6228 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 6229 rel="noopener noreferrer" 6230 > 6231 Promise 6232 </a> 6233 < 6234 <span> 6235 <a 6236 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6237 href="/#barcodescannerresult" 6238 > 6239 BarCodeScannerResult 6240 [] 6241 </a> 6242 </span> 6243 > 6244 </code> 6245 </li> 6246 </ul> 6247 <p 6248 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 6249 data-text="true" 6250 > 6251 A possibly empty array of objects of the 6252 <code 6253 class="inline css-nuv12a-STYLES_INLINE_CODE" 6254 > 6255 BarCodeScannerResult 6256 </code> 6257 shape, where the type 6258refers to the bar code type that was scanned and the data is the information encoded in the bar 6259code. 6260 </p> 6261 </div> 6262 </div> 6263 <h2 6264 class="css-1v5aebx-h2-h2-STYLES_H2" 6265 data-heading="true" 6266 > 6267 <div 6268 class="css-1rh3o5q-STYLES_PERMALINK" 6269 > 6270 <span 6271 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6272 id="types" 6273 /> 6274 <a 6275 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6276 href="#types" 6277 > 6278 <span 6279 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6280 > 6281 Types 6282 </span> 6283 <span 6284 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6285 > 6286 <svg 6287 aria-label="permalink" 6288 class="anchor-icon" 6289 fill="none" 6290 height="24" 6291 viewBox="0 0 24 24" 6292 width="24" 6293 xmlns="http://www.w3.org/2000/svg" 6294 > 6295 <path 6296 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6297 stroke="#9B9B9B" 6298 stroke-linecap="round" 6299 stroke-linejoin="round" 6300 stroke-width="2" 6301 /> 6302 <path 6303 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6304 stroke="#9B9B9B" 6305 stroke-linecap="round" 6306 stroke-linejoin="round" 6307 stroke-width="2" 6308 /> 6309 </svg> 6310 </span> 6311 </a> 6312 </div> 6313 </h2> 6314 <div> 6315 <h3 6316 class="css-icxoph-h3-h3-STYLES_H3" 6317 data-heading="true" 6318 > 6319 <div 6320 class="css-1rh3o5q-STYLES_PERMALINK" 6321 > 6322 <span 6323 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6324 id="barcodebounds" 6325 /> 6326 <a 6327 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6328 href="#barcodebounds" 6329 > 6330 <span 6331 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6332 > 6333 <code 6334 class="inline css-nuv12a-STYLES_INLINE_CODE" 6335 > 6336 BarCodeBounds 6337 6338 </code> 6339 </span> 6340 <span 6341 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6342 > 6343 <svg 6344 aria-label="permalink" 6345 class="anchor-icon" 6346 fill="none" 6347 height="24" 6348 viewBox="0 0 24 24" 6349 width="24" 6350 xmlns="http://www.w3.org/2000/svg" 6351 > 6352 <path 6353 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6354 stroke="#9B9B9B" 6355 stroke-linecap="round" 6356 stroke-linejoin="round" 6357 stroke-width="2" 6358 /> 6359 <path 6360 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6361 stroke="#9B9B9B" 6362 stroke-linecap="round" 6363 stroke-linejoin="round" 6364 stroke-width="2" 6365 /> 6366 </svg> 6367 </span> 6368 </a> 6369 </div> 6370 </h3> 6371 <table> 6372 <thead> 6373 <tr> 6374 <th> 6375 Name 6376 </th> 6377 <th> 6378 Type 6379 </th> 6380 <th> 6381 Description 6382 </th> 6383 </tr> 6384 </thead> 6385 <tbody> 6386 <tr> 6387 <td> 6388 <strong 6389 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6390 > 6391 origin 6392 </strong> 6393 </td> 6394 <td> 6395 <code 6396 class="inline css-nuv12a-STYLES_INLINE_CODE" 6397 > 6398 <a 6399 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6400 href="/#barcodepoint" 6401 > 6402 BarCodePoint 6403 </a> 6404 </code> 6405 </td> 6406 <td> 6407 <span> 6408 The origin point of the bounding box. 6409 </span> 6410 </td> 6411 </tr> 6412 <tr> 6413 <td> 6414 <strong 6415 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6416 > 6417 size 6418 </strong> 6419 </td> 6420 <td> 6421 <code 6422 class="inline css-nuv12a-STYLES_INLINE_CODE" 6423 > 6424 <a 6425 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6426 href="/#barcodesize" 6427 > 6428 BarCodeSize 6429 </a> 6430 </code> 6431 </td> 6432 <td> 6433 <span> 6434 The size of the bounding box. 6435 </span> 6436 </td> 6437 </tr> 6438 </tbody> 6439 </table> 6440 </div> 6441 <div> 6442 <h3 6443 class="css-icxoph-h3-h3-STYLES_H3" 6444 data-heading="true" 6445 > 6446 <div 6447 class="css-1rh3o5q-STYLES_PERMALINK" 6448 > 6449 <span 6450 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6451 id="barcodeevent" 6452 /> 6453 <a 6454 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6455 href="#barcodeevent" 6456 > 6457 <span 6458 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6459 > 6460 <code 6461 class="inline css-nuv12a-STYLES_INLINE_CODE" 6462 > 6463 BarCodeEvent 6464 </code> 6465 </span> 6466 <span 6467 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6468 > 6469 <svg 6470 aria-label="permalink" 6471 class="anchor-icon" 6472 fill="none" 6473 height="24" 6474 viewBox="0 0 24 24" 6475 width="24" 6476 xmlns="http://www.w3.org/2000/svg" 6477 > 6478 <path 6479 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6480 stroke="#9B9B9B" 6481 stroke-linecap="round" 6482 stroke-linejoin="round" 6483 stroke-width="2" 6484 /> 6485 <path 6486 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6487 stroke="#9B9B9B" 6488 stroke-linecap="round" 6489 stroke-linejoin="round" 6490 stroke-width="2" 6491 /> 6492 </svg> 6493 </span> 6494 </a> 6495 </div> 6496 </h3> 6497 <p 6498 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 6499 data-text="true" 6500 > 6501 <code 6502 class="inline css-nuv12a-STYLES_INLINE_CODE" 6503 > 6504 <a 6505 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6506 href="/#barcodescannerresult" 6507 > 6508 BarCodeScannerResult 6509 </a> 6510 </code> 6511 6512 extended by: 6513 </p> 6514 <table> 6515 <thead> 6516 <tr> 6517 <th> 6518 Name 6519 </th> 6520 <th> 6521 Type 6522 </th> 6523 <th> 6524 Description 6525 </th> 6526 </tr> 6527 </thead> 6528 <tbody> 6529 <tr> 6530 <td> 6531 <strong 6532 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6533 > 6534 target 6535 </strong> 6536 <br /> 6537 <span 6538 class="css-fbbx5x-STYLES_OPTIONAL" 6539 > 6540 (optional) 6541 </span> 6542 </td> 6543 <td> 6544 <code 6545 class="inline css-nuv12a-STYLES_INLINE_CODE" 6546 > 6547 number 6548 </code> 6549 </td> 6550 <td> 6551 - 6552 </td> 6553 </tr> 6554 </tbody> 6555 </table> 6556 </div> 6557 <div> 6558 <h3 6559 class="css-icxoph-h3-h3-STYLES_H3" 6560 data-heading="true" 6561 > 6562 <div 6563 class="css-1rh3o5q-STYLES_PERMALINK" 6564 > 6565 <span 6566 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6567 id="barcodeeventcallbackarguments" 6568 /> 6569 <a 6570 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6571 href="#barcodeeventcallbackarguments" 6572 > 6573 <span 6574 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6575 > 6576 <code 6577 class="inline css-nuv12a-STYLES_INLINE_CODE" 6578 > 6579 BarCodeEventCallbackArguments 6580 6581 </code> 6582 </span> 6583 <span 6584 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6585 > 6586 <svg 6587 aria-label="permalink" 6588 class="anchor-icon" 6589 fill="none" 6590 height="24" 6591 viewBox="0 0 24 24" 6592 width="24" 6593 xmlns="http://www.w3.org/2000/svg" 6594 > 6595 <path 6596 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6597 stroke="#9B9B9B" 6598 stroke-linecap="round" 6599 stroke-linejoin="round" 6600 stroke-width="2" 6601 /> 6602 <path 6603 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6604 stroke="#9B9B9B" 6605 stroke-linecap="round" 6606 stroke-linejoin="round" 6607 stroke-width="2" 6608 /> 6609 </svg> 6610 </span> 6611 </a> 6612 </div> 6613 </h3> 6614 <table> 6615 <thead> 6616 <tr> 6617 <th> 6618 Name 6619 </th> 6620 <th> 6621 Type 6622 </th> 6623 <th> 6624 Description 6625 </th> 6626 </tr> 6627 </thead> 6628 <tbody> 6629 <tr> 6630 <td> 6631 <strong 6632 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6633 > 6634 nativeEvent 6635 </strong> 6636 </td> 6637 <td> 6638 <code 6639 class="inline css-nuv12a-STYLES_INLINE_CODE" 6640 > 6641 <a 6642 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6643 href="/#barcodeevent" 6644 > 6645 BarCodeEvent 6646 </a> 6647 </code> 6648 </td> 6649 <td> 6650 - 6651 </td> 6652 </tr> 6653 </tbody> 6654 </table> 6655 </div> 6656 <div> 6657 <h3 6658 class="css-icxoph-h3-h3-STYLES_H3" 6659 data-heading="true" 6660 > 6661 <div 6662 class="css-1rh3o5q-STYLES_PERMALINK" 6663 > 6664 <span 6665 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6666 id="barcodepoint" 6667 /> 6668 <a 6669 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6670 href="#barcodepoint" 6671 > 6672 <span 6673 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6674 > 6675 <code 6676 class="inline css-nuv12a-STYLES_INLINE_CODE" 6677 > 6678 BarCodePoint 6679 6680 </code> 6681 </span> 6682 <span 6683 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6684 > 6685 <svg 6686 aria-label="permalink" 6687 class="anchor-icon" 6688 fill="none" 6689 height="24" 6690 viewBox="0 0 24 24" 6691 width="24" 6692 xmlns="http://www.w3.org/2000/svg" 6693 > 6694 <path 6695 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6696 stroke="#9B9B9B" 6697 stroke-linecap="round" 6698 stroke-linejoin="round" 6699 stroke-width="2" 6700 /> 6701 <path 6702 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6703 stroke="#9B9B9B" 6704 stroke-linecap="round" 6705 stroke-linejoin="round" 6706 stroke-width="2" 6707 /> 6708 </svg> 6709 </span> 6710 </a> 6711 </div> 6712 </h3> 6713 <p 6714 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 6715 data-text="true" 6716 > 6717 Those coordinates are represented in the coordinate space of the barcode source (e.g. when you 6718are using the barcode scanner view, these values are adjusted to the dimensions of the view). 6719 </p> 6720 <table> 6721 <thead> 6722 <tr> 6723 <th> 6724 Name 6725 </th> 6726 <th> 6727 Type 6728 </th> 6729 <th> 6730 Description 6731 </th> 6732 </tr> 6733 </thead> 6734 <tbody> 6735 <tr> 6736 <td> 6737 <strong 6738 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6739 > 6740 x 6741 </strong> 6742 </td> 6743 <td> 6744 <code 6745 class="inline css-nuv12a-STYLES_INLINE_CODE" 6746 > 6747 number 6748 </code> 6749 </td> 6750 <td> 6751 <span> 6752 The 6753 <code 6754 class="inline css-nuv12a-STYLES_INLINE_CODE" 6755 > 6756 x 6757 </code> 6758 coordinate value. 6759 </span> 6760 </td> 6761 </tr> 6762 <tr> 6763 <td> 6764 <strong 6765 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6766 > 6767 y 6768 </strong> 6769 </td> 6770 <td> 6771 <code 6772 class="inline css-nuv12a-STYLES_INLINE_CODE" 6773 > 6774 number 6775 </code> 6776 </td> 6777 <td> 6778 <span> 6779 The 6780 <code 6781 class="inline css-nuv12a-STYLES_INLINE_CODE" 6782 > 6783 y 6784 </code> 6785 coordinate value. 6786 </span> 6787 </td> 6788 </tr> 6789 </tbody> 6790 </table> 6791 </div> 6792 <div> 6793 <h3 6794 class="css-icxoph-h3-h3-STYLES_H3" 6795 data-heading="true" 6796 > 6797 <div 6798 class="css-1rh3o5q-STYLES_PERMALINK" 6799 > 6800 <span 6801 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6802 id="barcodescannedcallback" 6803 /> 6804 <a 6805 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6806 href="#barcodescannedcallback" 6807 > 6808 <span 6809 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6810 > 6811 <code 6812 class="inline css-nuv12a-STYLES_INLINE_CODE" 6813 > 6814 BarCodeScannedCallback 6815 () 6816 </code> 6817 </span> 6818 <span 6819 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6820 > 6821 <svg 6822 aria-label="permalink" 6823 class="anchor-icon" 6824 fill="none" 6825 height="24" 6826 viewBox="0 0 24 24" 6827 width="24" 6828 xmlns="http://www.w3.org/2000/svg" 6829 > 6830 <path 6831 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6832 stroke="#9B9B9B" 6833 stroke-linecap="round" 6834 stroke-linejoin="round" 6835 stroke-width="2" 6836 /> 6837 <path 6838 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6839 stroke="#9B9B9B" 6840 stroke-linecap="round" 6841 stroke-linejoin="round" 6842 stroke-width="2" 6843 /> 6844 </svg> 6845 </span> 6846 </a> 6847 </div> 6848 </h3> 6849 <div> 6850 <h4 6851 class=" css-1j2s5xo-h4-h4-STYLES_H4" 6852 data-components-heading="true" 6853 data-heading="true" 6854 > 6855 <div 6856 class="css-1rh3o5q-STYLES_PERMALINK" 6857 > 6858 <span 6859 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6860 id="arguments-2" 6861 /> 6862 <a 6863 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6864 href="#arguments-2" 6865 > 6866 <span 6867 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6868 > 6869 Arguments 6870 </span> 6871 <span 6872 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6873 > 6874 <svg 6875 aria-label="permalink" 6876 class="anchor-icon" 6877 fill="none" 6878 height="24" 6879 viewBox="0 0 24 24" 6880 width="24" 6881 xmlns="http://www.w3.org/2000/svg" 6882 > 6883 <path 6884 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6885 stroke="#9B9B9B" 6886 stroke-linecap="round" 6887 stroke-linejoin="round" 6888 stroke-width="2" 6889 /> 6890 <path 6891 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6892 stroke="#9B9B9B" 6893 stroke-linecap="round" 6894 stroke-linejoin="round" 6895 stroke-width="2" 6896 /> 6897 </svg> 6898 </span> 6899 </a> 6900 </div> 6901 </h4> 6902 <ul 6903 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 6904 data-text="true" 6905 > 6906 <li 6907 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 6908 > 6909 <strong 6910 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6911 > 6912 params 6913 ( 6914 <code 6915 class="inline css-nuv12a-STYLES_INLINE_CODE" 6916 > 6917 <a 6918 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6919 href="/#barcodeevent" 6920 > 6921 BarCodeEvent 6922 </a> 6923 </code> 6924 ) 6925 </strong> 6926 </li> 6927 </ul> 6928 </div> 6929 </div> 6930 <div> 6931 <h3 6932 class="css-icxoph-h3-h3-STYLES_H3" 6933 data-heading="true" 6934 > 6935 <div 6936 class="css-1rh3o5q-STYLES_PERMALINK" 6937 > 6938 <span 6939 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6940 id="barcodescannerresult" 6941 /> 6942 <a 6943 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6944 href="#barcodescannerresult" 6945 > 6946 <span 6947 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6948 > 6949 <code 6950 class="inline css-nuv12a-STYLES_INLINE_CODE" 6951 > 6952 BarCodeScannerResult 6953 6954 </code> 6955 </span> 6956 <span 6957 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6958 > 6959 <svg 6960 aria-label="permalink" 6961 class="anchor-icon" 6962 fill="none" 6963 height="24" 6964 viewBox="0 0 24 24" 6965 width="24" 6966 xmlns="http://www.w3.org/2000/svg" 6967 > 6968 <path 6969 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6970 stroke="#9B9B9B" 6971 stroke-linecap="round" 6972 stroke-linejoin="round" 6973 stroke-width="2" 6974 /> 6975 <path 6976 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6977 stroke="#9B9B9B" 6978 stroke-linecap="round" 6979 stroke-linejoin="round" 6980 stroke-width="2" 6981 /> 6982 </svg> 6983 </span> 6984 </a> 6985 </div> 6986 </h3> 6987 <blockquote 6988 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 6989 data-text="true" 6990 > 6991 <div> 6992 <div 6993 style="margin-top: 2px;" 6994 > 6995 <svg 6996 aria-label="check" 6997 fill="none" 6998 height="16" 6999 viewBox="0 0 24 24" 7000 width="16" 7001 xmlns="http://www.w3.org/2000/svg" 7002 > 7003 <path 7004 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 7005 fill="var(--expo-theme-icon-default)" 7006 /> 7007 </svg> 7008 </div> 7009 </div> 7010 <div> 7011 7012 7013 <strong 7014 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7015 > 7016 Note: 7017 </strong> 7018 7019 <code 7020 class="inline css-nuv12a-STYLES_INLINE_CODE" 7021 > 7022 bounds 7023 </code> 7024 and 7025 <code 7026 class="inline css-nuv12a-STYLES_INLINE_CODE" 7027 > 7028 cornerPoints 7029 </code> 7030 are not always available. On iOS, for 7031 <code 7032 class="inline css-nuv12a-STYLES_INLINE_CODE" 7033 > 7034 code39 7035 </code> 7036 and 7037 <code 7038 class="inline css-nuv12a-STYLES_INLINE_CODE" 7039 > 7040 pdf417 7041 </code> 7042 7043you don't get those values. Moreover, on iOS, those values don't have to bounds the whole barcode. 7044For some types, they will represent the area used by the scanner. 7045 7046 7047 </div> 7048 </blockquote> 7049 <table> 7050 <thead> 7051 <tr> 7052 <th> 7053 Name 7054 </th> 7055 <th> 7056 Type 7057 </th> 7058 <th> 7059 Description 7060 </th> 7061 </tr> 7062 </thead> 7063 <tbody> 7064 <tr> 7065 <td> 7066 <strong 7067 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7068 > 7069 bounds 7070 </strong> 7071 <br /> 7072 <span 7073 class="css-fbbx5x-STYLES_OPTIONAL" 7074 > 7075 (optional) 7076 </span> 7077 </td> 7078 <td> 7079 <code 7080 class="inline css-nuv12a-STYLES_INLINE_CODE" 7081 > 7082 <a 7083 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 7084 href="/#barcodebounds" 7085 > 7086 BarCodeBounds 7087 </a> 7088 </code> 7089 </td> 7090 <td> 7091 <span> 7092 The 7093 <a 7094 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 7095 href="/#barcodebounds" 7096 > 7097 BarCodeBounds 7098 </a> 7099 object. 7100 </span> 7101 </td> 7102 </tr> 7103 <tr> 7104 <td> 7105 <strong 7106 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7107 > 7108 cornerPoints 7109 </strong> 7110 <br /> 7111 <span 7112 class="css-fbbx5x-STYLES_OPTIONAL" 7113 > 7114 (optional) 7115 </span> 7116 </td> 7117 <td> 7118 <code 7119 class="inline css-nuv12a-STYLES_INLINE_CODE" 7120 > 7121 <a 7122 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 7123 href="/#barcodepoint" 7124 > 7125 BarCodePoint 7126 [] 7127 </a> 7128 </code> 7129 </td> 7130 <td> 7131 <span> 7132 Corner points of the bounding box. 7133 </span> 7134 </td> 7135 </tr> 7136 <tr> 7137 <td> 7138 <strong 7139 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7140 > 7141 data 7142 </strong> 7143 </td> 7144 <td> 7145 <code 7146 class="inline css-nuv12a-STYLES_INLINE_CODE" 7147 > 7148 string 7149 </code> 7150 </td> 7151 <td> 7152 <span> 7153 The information encoded in the bar code. 7154 </span> 7155 </td> 7156 </tr> 7157 <tr> 7158 <td> 7159 <strong 7160 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7161 > 7162 type 7163 </strong> 7164 </td> 7165 <td> 7166 <code 7167 class="inline css-nuv12a-STYLES_INLINE_CODE" 7168 > 7169 string 7170 </code> 7171 </td> 7172 <td> 7173 <span> 7174 The barcode type. 7175 </span> 7176 </td> 7177 </tr> 7178 </tbody> 7179 </table> 7180 </div> 7181 <div> 7182 <h3 7183 class="css-icxoph-h3-h3-STYLES_H3" 7184 data-heading="true" 7185 > 7186 <div 7187 class="css-1rh3o5q-STYLES_PERMALINK" 7188 > 7189 <span 7190 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7191 id="barcodesize" 7192 /> 7193 <a 7194 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7195 href="#barcodesize" 7196 > 7197 <span 7198 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7199 > 7200 <code 7201 class="inline css-nuv12a-STYLES_INLINE_CODE" 7202 > 7203 BarCodeSize 7204 7205 </code> 7206 </span> 7207 <span 7208 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7209 > 7210 <svg 7211 aria-label="permalink" 7212 class="anchor-icon" 7213 fill="none" 7214 height="24" 7215 viewBox="0 0 24 24" 7216 width="24" 7217 xmlns="http://www.w3.org/2000/svg" 7218 > 7219 <path 7220 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7221 stroke="#9B9B9B" 7222 stroke-linecap="round" 7223 stroke-linejoin="round" 7224 stroke-width="2" 7225 /> 7226 <path 7227 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7228 stroke="#9B9B9B" 7229 stroke-linecap="round" 7230 stroke-linejoin="round" 7231 stroke-width="2" 7232 /> 7233 </svg> 7234 </span> 7235 </a> 7236 </div> 7237 </h3> 7238 <table> 7239 <thead> 7240 <tr> 7241 <th> 7242 Name 7243 </th> 7244 <th> 7245 Type 7246 </th> 7247 <th> 7248 Description 7249 </th> 7250 </tr> 7251 </thead> 7252 <tbody> 7253 <tr> 7254 <td> 7255 <strong 7256 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7257 > 7258 height 7259 </strong> 7260 </td> 7261 <td> 7262 <code 7263 class="inline css-nuv12a-STYLES_INLINE_CODE" 7264 > 7265 number 7266 </code> 7267 </td> 7268 <td> 7269 <span> 7270 The height value. 7271 </span> 7272 </td> 7273 </tr> 7274 <tr> 7275 <td> 7276 <strong 7277 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7278 > 7279 width 7280 </strong> 7281 </td> 7282 <td> 7283 <code 7284 class="inline css-nuv12a-STYLES_INLINE_CODE" 7285 > 7286 number 7287 </code> 7288 </td> 7289 <td> 7290 <span> 7291 The width value. 7292 </span> 7293 </td> 7294 </tr> 7295 </tbody> 7296 </table> 7297 </div> 7298 <div> 7299 <h3 7300 class="css-icxoph-h3-h3-STYLES_H3" 7301 data-heading="true" 7302 > 7303 <div 7304 class="css-1rh3o5q-STYLES_PERMALINK" 7305 > 7306 <span 7307 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7308 id="permissionhookoptions" 7309 /> 7310 <a 7311 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7312 href="#permissionhookoptions" 7313 > 7314 <span 7315 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7316 > 7317 <code 7318 class="inline css-nuv12a-STYLES_INLINE_CODE" 7319 > 7320 PermissionHookOptions 7321 </code> 7322 </span> 7323 <span 7324 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7325 > 7326 <svg 7327 aria-label="permalink" 7328 class="anchor-icon" 7329 fill="none" 7330 height="24" 7331 viewBox="0 0 24 24" 7332 width="24" 7333 xmlns="http://www.w3.org/2000/svg" 7334 > 7335 <path 7336 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7337 stroke="#9B9B9B" 7338 stroke-linecap="round" 7339 stroke-linejoin="round" 7340 stroke-width="2" 7341 /> 7342 <path 7343 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7344 stroke="#9B9B9B" 7345 stroke-linecap="round" 7346 stroke-linejoin="round" 7347 stroke-width="2" 7348 /> 7349 </svg> 7350 </span> 7351 </a> 7352 </div> 7353 </h3> 7354 <p 7355 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 7356 data-text="true" 7357 > 7358 Acceptable values are: 7359 7360 <span> 7361 <code 7362 class="inline css-nuv12a-STYLES_INLINE_CODE" 7363 > 7364 PermissionHookBehavior 7365 </code> 7366 , 7367 </span> 7368 <span> 7369 <code 7370 class="inline css-nuv12a-STYLES_INLINE_CODE" 7371 > 7372 Options 7373 </code> 7374 . 7375 </span> 7376 </p> 7377 </div> 7378 <h2 7379 class="css-1v5aebx-h2-h2-STYLES_H2" 7380 data-heading="true" 7381 > 7382 <div 7383 class="css-1rh3o5q-STYLES_PERMALINK" 7384 > 7385 <span 7386 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7387 id="interfaces" 7388 /> 7389 <a 7390 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7391 href="#interfaces" 7392 > 7393 <span 7394 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7395 > 7396 Interfaces 7397 </span> 7398 <span 7399 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7400 > 7401 <svg 7402 aria-label="permalink" 7403 class="anchor-icon" 7404 fill="none" 7405 height="24" 7406 viewBox="0 0 24 24" 7407 width="24" 7408 xmlns="http://www.w3.org/2000/svg" 7409 > 7410 <path 7411 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7412 stroke="#9B9B9B" 7413 stroke-linecap="round" 7414 stroke-linejoin="round" 7415 stroke-width="2" 7416 /> 7417 <path 7418 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7419 stroke="#9B9B9B" 7420 stroke-linecap="round" 7421 stroke-linejoin="round" 7422 stroke-width="2" 7423 /> 7424 </svg> 7425 </span> 7426 </a> 7427 </div> 7428 </h2> 7429 <div> 7430 <h3 7431 class="css-icxoph-h3-h3-STYLES_H3" 7432 data-heading="true" 7433 > 7434 <div 7435 class="css-1rh3o5q-STYLES_PERMALINK" 7436 > 7437 <span 7438 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7439 id="permissionresponse" 7440 /> 7441 <a 7442 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7443 href="#permissionresponse" 7444 > 7445 <span 7446 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7447 > 7448 <code 7449 class="inline css-nuv12a-STYLES_INLINE_CODE" 7450 > 7451 PermissionResponse 7452 </code> 7453 </span> 7454 <span 7455 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7456 > 7457 <svg 7458 aria-label="permalink" 7459 class="anchor-icon" 7460 fill="none" 7461 height="24" 7462 viewBox="0 0 24 24" 7463 width="24" 7464 xmlns="http://www.w3.org/2000/svg" 7465 > 7466 <path 7467 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7468 stroke="#9B9B9B" 7469 stroke-linecap="round" 7470 stroke-linejoin="round" 7471 stroke-width="2" 7472 /> 7473 <path 7474 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7475 stroke="#9B9B9B" 7476 stroke-linecap="round" 7477 stroke-linejoin="round" 7478 stroke-width="2" 7479 /> 7480 </svg> 7481 </span> 7482 </a> 7483 </div> 7484 </h3> 7485 <table> 7486 <thead> 7487 <tr> 7488 <th> 7489 Name 7490 </th> 7491 <th> 7492 Type 7493 </th> 7494 <th> 7495 Description 7496 </th> 7497 </tr> 7498 </thead> 7499 <tbody> 7500 <tr> 7501 <td> 7502 <strong 7503 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7504 > 7505 canAskAgain 7506 7507 </strong> 7508 </td> 7509 <td> 7510 <code 7511 class="inline css-nuv12a-STYLES_INLINE_CODE" 7512 > 7513 boolean 7514 </code> 7515 </td> 7516 <td> 7517 - 7518 </td> 7519 </tr> 7520 <tr> 7521 <td> 7522 <strong 7523 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7524 > 7525 expires 7526 7527 </strong> 7528 </td> 7529 <td> 7530 <code 7531 class="inline css-nuv12a-STYLES_INLINE_CODE" 7532 > 7533 <a 7534 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 7535 href="/#permissionexpiration" 7536 > 7537 PermissionExpiration 7538 </a> 7539 </code> 7540 </td> 7541 <td> 7542 - 7543 </td> 7544 </tr> 7545 <tr> 7546 <td> 7547 <strong 7548 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7549 > 7550 granted 7551 7552 </strong> 7553 </td> 7554 <td> 7555 <code 7556 class="inline css-nuv12a-STYLES_INLINE_CODE" 7557 > 7558 boolean 7559 </code> 7560 </td> 7561 <td> 7562 - 7563 </td> 7564 </tr> 7565 <tr> 7566 <td> 7567 <strong 7568 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 7569 > 7570 status 7571 7572 </strong> 7573 </td> 7574 <td> 7575 <code 7576 class="inline css-nuv12a-STYLES_INLINE_CODE" 7577 > 7578 <a 7579 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 7580 href="/#permissionstatus" 7581 > 7582 PermissionStatus 7583 </a> 7584 </code> 7585 </td> 7586 <td> 7587 - 7588 </td> 7589 </tr> 7590 </tbody> 7591 </table> 7592 </div> 7593 <h2 7594 class="css-1v5aebx-h2-h2-STYLES_H2" 7595 data-heading="true" 7596 > 7597 <div 7598 class="css-1rh3o5q-STYLES_PERMALINK" 7599 > 7600 <span 7601 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7602 id="enums" 7603 /> 7604 <a 7605 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7606 href="#enums" 7607 > 7608 <span 7609 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7610 > 7611 Enums 7612 </span> 7613 <span 7614 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7615 > 7616 <svg 7617 aria-label="permalink" 7618 class="anchor-icon" 7619 fill="none" 7620 height="24" 7621 viewBox="0 0 24 24" 7622 width="24" 7623 xmlns="http://www.w3.org/2000/svg" 7624 > 7625 <path 7626 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7627 stroke="#9B9B9B" 7628 stroke-linecap="round" 7629 stroke-linejoin="round" 7630 stroke-width="2" 7631 /> 7632 <path 7633 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7634 stroke="#9B9B9B" 7635 stroke-linecap="round" 7636 stroke-linejoin="round" 7637 stroke-width="2" 7638 /> 7639 </svg> 7640 </span> 7641 </a> 7642 </div> 7643 </h2> 7644 <div> 7645 <h3 7646 class="css-icxoph-h3-h3-STYLES_H3" 7647 data-heading="true" 7648 > 7649 <div 7650 class="css-1rh3o5q-STYLES_PERMALINK" 7651 > 7652 <span 7653 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7654 id="permissionstatus" 7655 /> 7656 <a 7657 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7658 href="#permissionstatus" 7659 > 7660 <span 7661 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7662 > 7663 <code 7664 class="inline css-nuv12a-STYLES_INLINE_CODE" 7665 > 7666 PermissionStatus 7667 </code> 7668 </span> 7669 <span 7670 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7671 > 7672 <svg 7673 aria-label="permalink" 7674 class="anchor-icon" 7675 fill="none" 7676 height="24" 7677 viewBox="0 0 24 24" 7678 width="24" 7679 xmlns="http://www.w3.org/2000/svg" 7680 > 7681 <path 7682 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7683 stroke="#9B9B9B" 7684 stroke-linecap="round" 7685 stroke-linejoin="round" 7686 stroke-width="2" 7687 /> 7688 <path 7689 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7690 stroke="#9B9B9B" 7691 stroke-linecap="round" 7692 stroke-linejoin="round" 7693 stroke-width="2" 7694 /> 7695 </svg> 7696 </span> 7697 </a> 7698 </div> 7699 </h3> 7700 <ul 7701 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 7702 data-text="true" 7703 > 7704 <li 7705 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 7706 > 7707 <code 7708 class="inline css-nuv12a-STYLES_INLINE_CODE" 7709 > 7710 PermissionStatus 7711 . 7712 DENIED 7713 </code> 7714 : 7715 <code 7716 class="inline css-nuv12a-STYLES_INLINE_CODE" 7717 > 7718 "denied" 7719 </code> 7720 </li> 7721 <li 7722 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 7723 > 7724 <code 7725 class="inline css-nuv12a-STYLES_INLINE_CODE" 7726 > 7727 PermissionStatus 7728 . 7729 GRANTED 7730 </code> 7731 : 7732 <code 7733 class="inline css-nuv12a-STYLES_INLINE_CODE" 7734 > 7735 "granted" 7736 </code> 7737 </li> 7738 <li 7739 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 7740 > 7741 <code 7742 class="inline css-nuv12a-STYLES_INLINE_CODE" 7743 > 7744 PermissionStatus 7745 . 7746 UNDETERMINED 7747 </code> 7748 : 7749 <code 7750 class="inline css-nuv12a-STYLES_INLINE_CODE" 7751 > 7752 "undetermined" 7753 </code> 7754 </li> 7755 </ul> 7756 </div> 7757</div> 7758`; 7759 7760exports[`APISection expo-pedometer 1`] = ` 7761<div> 7762 <h2 7763 class="css-1v5aebx-h2-h2-STYLES_H2" 7764 data-heading="true" 7765 > 7766 <div 7767 class="css-1rh3o5q-STYLES_PERMALINK" 7768 > 7769 <span 7770 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7771 id="methods" 7772 /> 7773 <a 7774 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7775 href="#methods" 7776 > 7777 <span 7778 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7779 > 7780 Methods 7781 </span> 7782 <span 7783 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7784 > 7785 <svg 7786 aria-label="permalink" 7787 class="anchor-icon" 7788 fill="none" 7789 height="24" 7790 viewBox="0 0 24 24" 7791 width="24" 7792 xmlns="http://www.w3.org/2000/svg" 7793 > 7794 <path 7795 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7796 stroke="#9B9B9B" 7797 stroke-linecap="round" 7798 stroke-linejoin="round" 7799 stroke-width="2" 7800 /> 7801 <path 7802 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7803 stroke="#9B9B9B" 7804 stroke-linecap="round" 7805 stroke-linejoin="round" 7806 stroke-width="2" 7807 /> 7808 </svg> 7809 </span> 7810 </a> 7811 </div> 7812 </h2> 7813 <div> 7814 <h3 7815 class="css-icxoph-h3-h3-STYLES_H3" 7816 data-heading="true" 7817 > 7818 <div 7819 class="css-1rh3o5q-STYLES_PERMALINK" 7820 > 7821 <span 7822 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7823 id="getpermissionsasync" 7824 /> 7825 <a 7826 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7827 href="#getpermissionsasync" 7828 > 7829 <span 7830 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7831 > 7832 <code 7833 class="inline css-nuv12a-STYLES_INLINE_CODE" 7834 > 7835 getPermissionsAsync() 7836 </code> 7837 </span> 7838 <span 7839 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7840 > 7841 <svg 7842 aria-label="permalink" 7843 class="anchor-icon" 7844 fill="none" 7845 height="24" 7846 viewBox="0 0 24 24" 7847 width="24" 7848 xmlns="http://www.w3.org/2000/svg" 7849 > 7850 <path 7851 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7852 stroke="#9B9B9B" 7853 stroke-linecap="round" 7854 stroke-linejoin="round" 7855 stroke-width="2" 7856 /> 7857 <path 7858 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7859 stroke="#9B9B9B" 7860 stroke-linecap="round" 7861 stroke-linejoin="round" 7862 stroke-width="2" 7863 /> 7864 </svg> 7865 </span> 7866 </a> 7867 </div> 7868 </h3> 7869 <div> 7870 <h4 7871 class=" css-1j2s5xo-h4-h4-STYLES_H4" 7872 data-components-heading="true" 7873 data-heading="true" 7874 > 7875 <div 7876 class="css-1rh3o5q-STYLES_PERMALINK" 7877 > 7878 <span 7879 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7880 id="returns" 7881 /> 7882 <a 7883 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7884 href="#returns" 7885 > 7886 <span 7887 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7888 > 7889 Returns 7890 </span> 7891 <span 7892 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7893 > 7894 <svg 7895 aria-label="permalink" 7896 class="anchor-icon" 7897 fill="none" 7898 height="24" 7899 viewBox="0 0 24 24" 7900 width="24" 7901 xmlns="http://www.w3.org/2000/svg" 7902 > 7903 <path 7904 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7905 stroke="#9B9B9B" 7906 stroke-linecap="round" 7907 stroke-linejoin="round" 7908 stroke-width="2" 7909 /> 7910 <path 7911 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 7912 stroke="#9B9B9B" 7913 stroke-linecap="round" 7914 stroke-linejoin="round" 7915 stroke-width="2" 7916 /> 7917 </svg> 7918 </span> 7919 </a> 7920 </div> 7921 </h4> 7922 <ul 7923 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 7924 data-text="true" 7925 > 7926 <li 7927 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 7928 > 7929 <code 7930 class="inline css-nuv12a-STYLES_INLINE_CODE" 7931 > 7932 <a 7933 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 7934 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 7935 rel="noopener noreferrer" 7936 > 7937 Promise 7938 </a> 7939 < 7940 <span> 7941 <a 7942 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 7943 href="/#permissionresponse" 7944 > 7945 PermissionResponse 7946 </a> 7947 </span> 7948 > 7949 </code> 7950 </li> 7951 </ul> 7952 </div> 7953 <hr /> 7954 </div> 7955 <div> 7956 <h3 7957 class="css-icxoph-h3-h3-STYLES_H3" 7958 data-heading="true" 7959 > 7960 <div 7961 class="css-1rh3o5q-STYLES_PERMALINK" 7962 > 7963 <span 7964 class="css-zonpcr-STYLES_PERMALINK_TARGET" 7965 id="getstepcountasyncstart-end" 7966 /> 7967 <a 7968 class="css-15lh5hg-STYLES_PERMALINK_LINK" 7969 href="#getstepcountasyncstart-end" 7970 > 7971 <span 7972 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 7973 > 7974 <code 7975 class="inline css-nuv12a-STYLES_INLINE_CODE" 7976 > 7977 getStepCountAsync(start, end) 7978 </code> 7979 </span> 7980 <span 7981 class="css-10vdcw8-STYLES_PERMALINK_ICON" 7982 > 7983 <svg 7984 aria-label="permalink" 7985 class="anchor-icon" 7986 fill="none" 7987 height="24" 7988 viewBox="0 0 24 24" 7989 width="24" 7990 xmlns="http://www.w3.org/2000/svg" 7991 > 7992 <path 7993 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 7994 stroke="#9B9B9B" 7995 stroke-linecap="round" 7996 stroke-linejoin="round" 7997 stroke-width="2" 7998 /> 7999 <path 8000 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8001 stroke="#9B9B9B" 8002 stroke-linecap="round" 8003 stroke-linejoin="round" 8004 stroke-width="2" 8005 /> 8006 </svg> 8007 </span> 8008 </a> 8009 </div> 8010 </h3> 8011 <h4 8012 class=" css-1j2s5xo-h4-h4-STYLES_H4" 8013 data-components-heading="true" 8014 data-heading="true" 8015 > 8016 <div 8017 class="css-1rh3o5q-STYLES_PERMALINK" 8018 > 8019 <span 8020 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8021 id="arguments" 8022 /> 8023 <a 8024 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8025 href="#arguments" 8026 > 8027 <span 8028 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8029 > 8030 Arguments 8031 </span> 8032 <span 8033 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8034 > 8035 <svg 8036 aria-label="permalink" 8037 class="anchor-icon" 8038 fill="none" 8039 height="24" 8040 viewBox="0 0 24 24" 8041 width="24" 8042 xmlns="http://www.w3.org/2000/svg" 8043 > 8044 <path 8045 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8046 stroke="#9B9B9B" 8047 stroke-linecap="round" 8048 stroke-linejoin="round" 8049 stroke-width="2" 8050 /> 8051 <path 8052 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8053 stroke="#9B9B9B" 8054 stroke-linecap="round" 8055 stroke-linejoin="round" 8056 stroke-width="2" 8057 /> 8058 </svg> 8059 </span> 8060 </a> 8061 </div> 8062 </h4> 8063 <ul 8064 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 8065 data-text="true" 8066 > 8067 <li 8068 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 8069 > 8070 <strong 8071 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 8072 > 8073 start 8074 ( 8075 <code 8076 class="inline css-nuv12a-STYLES_INLINE_CODE" 8077 > 8078 <a 8079 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8080 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 8081 rel="noopener noreferrer" 8082 > 8083 Date 8084 </a> 8085 </code> 8086 ) 8087 </strong> 8088 - 8089 <span> 8090 A date indicating the start of the range over which to measure steps. 8091 </span> 8092 </li> 8093 <li 8094 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 8095 > 8096 <strong 8097 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 8098 > 8099 end 8100 ( 8101 <code 8102 class="inline css-nuv12a-STYLES_INLINE_CODE" 8103 > 8104 <a 8105 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8106 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 8107 rel="noopener noreferrer" 8108 > 8109 Date 8110 </a> 8111 </code> 8112 ) 8113 </strong> 8114 - 8115 <span> 8116 A date indicating the end of the range over which to measure steps. 8117 </span> 8118 </li> 8119 </ul> 8120 <p 8121 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 8122 data-text="true" 8123 > 8124 Get the step count between two dates. 8125 </p> 8126 <div> 8127 <h4 8128 class=" css-1j2s5xo-h4-h4-STYLES_H4" 8129 data-components-heading="true" 8130 data-heading="true" 8131 > 8132 <div 8133 class="css-1rh3o5q-STYLES_PERMALINK" 8134 > 8135 <span 8136 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8137 id="returns-1" 8138 /> 8139 <a 8140 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8141 href="#returns-1" 8142 > 8143 <span 8144 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8145 > 8146 Returns 8147 </span> 8148 <span 8149 class="css-10vdcw8-STYLES_PERMALINK_ICON" 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 </div> 8178 </h4> 8179 <ul 8180 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 8181 data-text="true" 8182 > 8183 <li 8184 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 8185 > 8186 <code 8187 class="inline css-nuv12a-STYLES_INLINE_CODE" 8188 > 8189 <a 8190 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8191 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 8192 rel="noopener noreferrer" 8193 > 8194 Promise 8195 </a> 8196 < 8197 <span> 8198 <a 8199 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8200 href="/#pedometerresult" 8201 > 8202 PedometerResult 8203 </a> 8204 </span> 8205 > 8206 </code> 8207 </li> 8208 </ul> 8209 <p 8210 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 8211 data-text="true" 8212 > 8213 Returns a promise that fulfills with a 8214 <a 8215 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8216 href="/#pedometerresult" 8217 > 8218 <code 8219 class="inline css-nuv12a-STYLES_INLINE_CODE" 8220 > 8221 PedometerResult 8222 </code> 8223 </a> 8224 . 8225 </p> 8226 8227 8228 <p 8229 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 8230 data-text="true" 8231 > 8232 As 8233 <a 8234 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8235 href="https://developer.apple.com/documentation/coremotion/cmpedometer/1613946-querypedometerdatafromdate?language=objc" 8236 rel="noopener noreferrer" 8237 > 8238 Apple documentation states 8239 </a> 8240 : 8241 </p> 8242 8243 8244 <blockquote 8245 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 8246 data-text="true" 8247 > 8248 <div> 8249 <div 8250 style="margin-top: 2px;" 8251 > 8252 <svg 8253 aria-label="check" 8254 fill="none" 8255 height="16" 8256 viewBox="0 0 24 24" 8257 width="16" 8258 xmlns="http://www.w3.org/2000/svg" 8259 > 8260 <path 8261 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 8262 fill="var(--expo-theme-icon-default)" 8263 /> 8264 </svg> 8265 </div> 8266 </div> 8267 <div> 8268 8269 8270 Only the past seven days worth of data is stored and available for you to retrieve. Specifying 8271a start date that is more than seven days in the past returns only the available data. 8272 8273 8274 </div> 8275 </blockquote> 8276 </div> 8277 <hr /> 8278 </div> 8279 <div> 8280 <h3 8281 class="css-icxoph-h3-h3-STYLES_H3" 8282 data-heading="true" 8283 > 8284 <div 8285 class="css-1rh3o5q-STYLES_PERMALINK" 8286 > 8287 <span 8288 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8289 id="isavailableasync" 8290 /> 8291 <a 8292 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8293 href="#isavailableasync" 8294 > 8295 <span 8296 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8297 > 8298 <code 8299 class="inline css-nuv12a-STYLES_INLINE_CODE" 8300 > 8301 isAvailableAsync() 8302 </code> 8303 </span> 8304 <span 8305 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8306 > 8307 <svg 8308 aria-label="permalink" 8309 class="anchor-icon" 8310 fill="none" 8311 height="24" 8312 viewBox="0 0 24 24" 8313 width="24" 8314 xmlns="http://www.w3.org/2000/svg" 8315 > 8316 <path 8317 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8318 stroke="#9B9B9B" 8319 stroke-linecap="round" 8320 stroke-linejoin="round" 8321 stroke-width="2" 8322 /> 8323 <path 8324 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8325 stroke="#9B9B9B" 8326 stroke-linecap="round" 8327 stroke-linejoin="round" 8328 stroke-width="2" 8329 /> 8330 </svg> 8331 </span> 8332 </a> 8333 </div> 8334 </h3> 8335 <p 8336 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 8337 data-text="true" 8338 > 8339 Returns whether the pedometer is enabled on the device. 8340 </p> 8341 <div> 8342 <h4 8343 class=" css-1j2s5xo-h4-h4-STYLES_H4" 8344 data-components-heading="true" 8345 data-heading="true" 8346 > 8347 <div 8348 class="css-1rh3o5q-STYLES_PERMALINK" 8349 > 8350 <span 8351 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8352 id="returns-2" 8353 /> 8354 <a 8355 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8356 href="#returns-2" 8357 > 8358 <span 8359 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8360 > 8361 Returns 8362 </span> 8363 <span 8364 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8365 > 8366 <svg 8367 aria-label="permalink" 8368 class="anchor-icon" 8369 fill="none" 8370 height="24" 8371 viewBox="0 0 24 24" 8372 width="24" 8373 xmlns="http://www.w3.org/2000/svg" 8374 > 8375 <path 8376 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8377 stroke="#9B9B9B" 8378 stroke-linecap="round" 8379 stroke-linejoin="round" 8380 stroke-width="2" 8381 /> 8382 <path 8383 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8384 stroke="#9B9B9B" 8385 stroke-linecap="round" 8386 stroke-linejoin="round" 8387 stroke-width="2" 8388 /> 8389 </svg> 8390 </span> 8391 </a> 8392 </div> 8393 </h4> 8394 <ul 8395 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 8396 data-text="true" 8397 > 8398 <li 8399 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 8400 > 8401 <code 8402 class="inline css-nuv12a-STYLES_INLINE_CODE" 8403 > 8404 <a 8405 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8406 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 8407 rel="noopener noreferrer" 8408 > 8409 Promise 8410 </a> 8411 < 8412 <span> 8413 boolean 8414 </span> 8415 > 8416 </code> 8417 </li> 8418 </ul> 8419 <p 8420 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 8421 data-text="true" 8422 > 8423 Returns a promise that fulfills with a 8424 <code 8425 class="inline css-nuv12a-STYLES_INLINE_CODE" 8426 > 8427 boolean 8428 </code> 8429 , indicating whether the pedometer is 8430available on this device. 8431 </p> 8432 </div> 8433 <hr /> 8434 </div> 8435 <div> 8436 <h3 8437 class="css-icxoph-h3-h3-STYLES_H3" 8438 data-heading="true" 8439 > 8440 <div 8441 class="css-1rh3o5q-STYLES_PERMALINK" 8442 > 8443 <span 8444 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8445 id="requestpermissionsasync" 8446 /> 8447 <a 8448 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8449 href="#requestpermissionsasync" 8450 > 8451 <span 8452 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8453 > 8454 <code 8455 class="inline css-nuv12a-STYLES_INLINE_CODE" 8456 > 8457 requestPermissionsAsync() 8458 </code> 8459 </span> 8460 <span 8461 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8462 > 8463 <svg 8464 aria-label="permalink" 8465 class="anchor-icon" 8466 fill="none" 8467 height="24" 8468 viewBox="0 0 24 24" 8469 width="24" 8470 xmlns="http://www.w3.org/2000/svg" 8471 > 8472 <path 8473 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8474 stroke="#9B9B9B" 8475 stroke-linecap="round" 8476 stroke-linejoin="round" 8477 stroke-width="2" 8478 /> 8479 <path 8480 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8481 stroke="#9B9B9B" 8482 stroke-linecap="round" 8483 stroke-linejoin="round" 8484 stroke-width="2" 8485 /> 8486 </svg> 8487 </span> 8488 </a> 8489 </div> 8490 </h3> 8491 <div> 8492 <h4 8493 class=" css-1j2s5xo-h4-h4-STYLES_H4" 8494 data-components-heading="true" 8495 data-heading="true" 8496 > 8497 <div 8498 class="css-1rh3o5q-STYLES_PERMALINK" 8499 > 8500 <span 8501 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8502 id="returns-3" 8503 /> 8504 <a 8505 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8506 href="#returns-3" 8507 > 8508 <span 8509 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8510 > 8511 Returns 8512 </span> 8513 <span 8514 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8515 > 8516 <svg 8517 aria-label="permalink" 8518 class="anchor-icon" 8519 fill="none" 8520 height="24" 8521 viewBox="0 0 24 24" 8522 width="24" 8523 xmlns="http://www.w3.org/2000/svg" 8524 > 8525 <path 8526 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8527 stroke="#9B9B9B" 8528 stroke-linecap="round" 8529 stroke-linejoin="round" 8530 stroke-width="2" 8531 /> 8532 <path 8533 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8534 stroke="#9B9B9B" 8535 stroke-linecap="round" 8536 stroke-linejoin="round" 8537 stroke-width="2" 8538 /> 8539 </svg> 8540 </span> 8541 </a> 8542 </div> 8543 </h4> 8544 <ul 8545 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 8546 data-text="true" 8547 > 8548 <li 8549 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 8550 > 8551 <code 8552 class="inline css-nuv12a-STYLES_INLINE_CODE" 8553 > 8554 <a 8555 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8556 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 8557 rel="noopener noreferrer" 8558 > 8559 Promise 8560 </a> 8561 < 8562 <span> 8563 <a 8564 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8565 href="/#permissionresponse" 8566 > 8567 PermissionResponse 8568 </a> 8569 </span> 8570 > 8571 </code> 8572 </li> 8573 </ul> 8574 </div> 8575 <hr /> 8576 </div> 8577 <div> 8578 <h3 8579 class="css-icxoph-h3-h3-STYLES_H3" 8580 data-heading="true" 8581 > 8582 <div 8583 class="css-1rh3o5q-STYLES_PERMALINK" 8584 > 8585 <span 8586 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8587 id="watchstepcountcallback" 8588 /> 8589 <a 8590 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8591 href="#watchstepcountcallback" 8592 > 8593 <span 8594 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8595 > 8596 <code 8597 class="inline css-nuv12a-STYLES_INLINE_CODE" 8598 > 8599 watchStepCount(callback) 8600 </code> 8601 </span> 8602 <span 8603 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8604 > 8605 <svg 8606 aria-label="permalink" 8607 class="anchor-icon" 8608 fill="none" 8609 height="24" 8610 viewBox="0 0 24 24" 8611 width="24" 8612 xmlns="http://www.w3.org/2000/svg" 8613 > 8614 <path 8615 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8616 stroke="#9B9B9B" 8617 stroke-linecap="round" 8618 stroke-linejoin="round" 8619 stroke-width="2" 8620 /> 8621 <path 8622 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8623 stroke="#9B9B9B" 8624 stroke-linecap="round" 8625 stroke-linejoin="round" 8626 stroke-width="2" 8627 /> 8628 </svg> 8629 </span> 8630 </a> 8631 </div> 8632 </h3> 8633 <h4 8634 class=" css-1j2s5xo-h4-h4-STYLES_H4" 8635 data-components-heading="true" 8636 data-heading="true" 8637 > 8638 <div 8639 class="css-1rh3o5q-STYLES_PERMALINK" 8640 > 8641 <span 8642 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8643 id="arguments-1" 8644 /> 8645 <a 8646 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8647 href="#arguments-1" 8648 > 8649 <span 8650 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8651 > 8652 Arguments 8653 </span> 8654 <span 8655 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8656 > 8657 <svg 8658 aria-label="permalink" 8659 class="anchor-icon" 8660 fill="none" 8661 height="24" 8662 viewBox="0 0 24 24" 8663 width="24" 8664 xmlns="http://www.w3.org/2000/svg" 8665 > 8666 <path 8667 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8668 stroke="#9B9B9B" 8669 stroke-linecap="round" 8670 stroke-linejoin="round" 8671 stroke-width="2" 8672 /> 8673 <path 8674 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8675 stroke="#9B9B9B" 8676 stroke-linecap="round" 8677 stroke-linejoin="round" 8678 stroke-width="2" 8679 /> 8680 </svg> 8681 </span> 8682 </a> 8683 </div> 8684 </h4> 8685 <ul 8686 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 8687 data-text="true" 8688 > 8689 <li 8690 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 8691 > 8692 <strong 8693 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 8694 > 8695 callback 8696 ( 8697 <code 8698 class="inline css-nuv12a-STYLES_INLINE_CODE" 8699 > 8700 <a 8701 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8702 href="/#pedometerupdatecallback" 8703 > 8704 PedometerUpdateCallback 8705 </a> 8706 </code> 8707 ) 8708 </strong> 8709 - 8710 <span> 8711 A callback that is invoked when new step count data is available. The callback is 8712provided with a single argument that is 8713 <a 8714 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8715 href="/#pedometerresult" 8716 > 8717 <code 8718 class="inline css-nuv12a-STYLES_INLINE_CODE" 8719 > 8720 PedometerResult 8721 </code> 8722 </a> 8723 . 8724 </span> 8725 </li> 8726 </ul> 8727 <p 8728 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 8729 data-text="true" 8730 > 8731 Subscribe to pedometer updates. 8732 </p> 8733 <div> 8734 <h4 8735 class=" css-1j2s5xo-h4-h4-STYLES_H4" 8736 data-components-heading="true" 8737 data-heading="true" 8738 > 8739 <div 8740 class="css-1rh3o5q-STYLES_PERMALINK" 8741 > 8742 <span 8743 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8744 id="returns-4" 8745 /> 8746 <a 8747 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8748 href="#returns-4" 8749 > 8750 <span 8751 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8752 > 8753 Returns 8754 </span> 8755 <span 8756 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8757 > 8758 <svg 8759 aria-label="permalink" 8760 class="anchor-icon" 8761 fill="none" 8762 height="24" 8763 viewBox="0 0 24 24" 8764 width="24" 8765 xmlns="http://www.w3.org/2000/svg" 8766 > 8767 <path 8768 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8769 stroke="#9B9B9B" 8770 stroke-linecap="round" 8771 stroke-linejoin="round" 8772 stroke-width="2" 8773 /> 8774 <path 8775 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8776 stroke="#9B9B9B" 8777 stroke-linecap="round" 8778 stroke-linejoin="round" 8779 stroke-width="2" 8780 /> 8781 </svg> 8782 </span> 8783 </a> 8784 </div> 8785 </h4> 8786 <ul 8787 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 8788 data-text="true" 8789 > 8790 <li 8791 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 8792 > 8793 <code 8794 class="inline css-nuv12a-STYLES_INLINE_CODE" 8795 > 8796 <a 8797 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8798 href="/#subscription" 8799 > 8800 Subscription 8801 </a> 8802 </code> 8803 </li> 8804 </ul> 8805 <p 8806 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 8807 data-text="true" 8808 > 8809 Returns a 8810 <a 8811 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 8812 href="/#subscription" 8813 > 8814 <code 8815 class="inline css-nuv12a-STYLES_INLINE_CODE" 8816 > 8817 Subscription 8818 </code> 8819 </a> 8820 that enables you to call 8821 8822 <code 8823 class="inline css-nuv12a-STYLES_INLINE_CODE" 8824 > 8825 remove() 8826 </code> 8827 when you would like to unsubscribe the listener. 8828 </p> 8829 </div> 8830 </div> 8831 <h2 8832 class="css-1v5aebx-h2-h2-STYLES_H2" 8833 data-heading="true" 8834 > 8835 <div 8836 class="css-1rh3o5q-STYLES_PERMALINK" 8837 > 8838 <span 8839 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8840 id="types" 8841 /> 8842 <a 8843 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8844 href="#types" 8845 > 8846 <span 8847 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8848 > 8849 Types 8850 </span> 8851 <span 8852 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8853 > 8854 <svg 8855 aria-label="permalink" 8856 class="anchor-icon" 8857 fill="none" 8858 height="24" 8859 viewBox="0 0 24 24" 8860 width="24" 8861 xmlns="http://www.w3.org/2000/svg" 8862 > 8863 <path 8864 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8865 stroke="#9B9B9B" 8866 stroke-linecap="round" 8867 stroke-linejoin="round" 8868 stroke-width="2" 8869 /> 8870 <path 8871 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8872 stroke="#9B9B9B" 8873 stroke-linecap="round" 8874 stroke-linejoin="round" 8875 stroke-width="2" 8876 /> 8877 </svg> 8878 </span> 8879 </a> 8880 </div> 8881 </h2> 8882 <div> 8883 <h3 8884 class="css-icxoph-h3-h3-STYLES_H3" 8885 data-heading="true" 8886 > 8887 <div 8888 class="css-1rh3o5q-STYLES_PERMALINK" 8889 > 8890 <span 8891 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8892 id="pedometerresult" 8893 /> 8894 <a 8895 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8896 href="#pedometerresult" 8897 > 8898 <span 8899 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8900 > 8901 <code 8902 class="inline css-nuv12a-STYLES_INLINE_CODE" 8903 > 8904 PedometerResult 8905 8906 </code> 8907 </span> 8908 <span 8909 class="css-10vdcw8-STYLES_PERMALINK_ICON" 8910 > 8911 <svg 8912 aria-label="permalink" 8913 class="anchor-icon" 8914 fill="none" 8915 height="24" 8916 viewBox="0 0 24 24" 8917 width="24" 8918 xmlns="http://www.w3.org/2000/svg" 8919 > 8920 <path 8921 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 8922 stroke="#9B9B9B" 8923 stroke-linecap="round" 8924 stroke-linejoin="round" 8925 stroke-width="2" 8926 /> 8927 <path 8928 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 8929 stroke="#9B9B9B" 8930 stroke-linecap="round" 8931 stroke-linejoin="round" 8932 stroke-width="2" 8933 /> 8934 </svg> 8935 </span> 8936 </a> 8937 </div> 8938 </h3> 8939 <table> 8940 <thead> 8941 <tr> 8942 <th> 8943 Name 8944 </th> 8945 <th> 8946 Type 8947 </th> 8948 <th> 8949 Description 8950 </th> 8951 </tr> 8952 </thead> 8953 <tbody> 8954 <tr> 8955 <td> 8956 <strong 8957 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 8958 > 8959 steps 8960 </strong> 8961 </td> 8962 <td> 8963 <code 8964 class="inline css-nuv12a-STYLES_INLINE_CODE" 8965 > 8966 number 8967 </code> 8968 </td> 8969 <td> 8970 <span> 8971 Number of steps taken between the given dates. 8972 </span> 8973 </td> 8974 </tr> 8975 </tbody> 8976 </table> 8977 </div> 8978 <div> 8979 <h3 8980 class="css-icxoph-h3-h3-STYLES_H3" 8981 data-heading="true" 8982 > 8983 <div 8984 class="css-1rh3o5q-STYLES_PERMALINK" 8985 > 8986 <span 8987 class="css-zonpcr-STYLES_PERMALINK_TARGET" 8988 id="pedometerupdatecallback" 8989 /> 8990 <a 8991 class="css-15lh5hg-STYLES_PERMALINK_LINK" 8992 href="#pedometerupdatecallback" 8993 > 8994 <span 8995 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 8996 > 8997 <code 8998 class="inline css-nuv12a-STYLES_INLINE_CODE" 8999 > 9000 PedometerUpdateCallback 9001 () 9002 </code> 9003 </span> 9004 <span 9005 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9006 > 9007 <svg 9008 aria-label="permalink" 9009 class="anchor-icon" 9010 fill="none" 9011 height="24" 9012 viewBox="0 0 24 24" 9013 width="24" 9014 xmlns="http://www.w3.org/2000/svg" 9015 > 9016 <path 9017 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9018 stroke="#9B9B9B" 9019 stroke-linecap="round" 9020 stroke-linejoin="round" 9021 stroke-width="2" 9022 /> 9023 <path 9024 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9025 stroke="#9B9B9B" 9026 stroke-linecap="round" 9027 stroke-linejoin="round" 9028 stroke-width="2" 9029 /> 9030 </svg> 9031 </span> 9032 </a> 9033 </div> 9034 </h3> 9035 <div> 9036 <h4 9037 class=" css-1j2s5xo-h4-h4-STYLES_H4" 9038 data-components-heading="true" 9039 data-heading="true" 9040 > 9041 <div 9042 class="css-1rh3o5q-STYLES_PERMALINK" 9043 > 9044 <span 9045 class="css-zonpcr-STYLES_PERMALINK_TARGET" 9046 id="arguments-2" 9047 /> 9048 <a 9049 class="css-15lh5hg-STYLES_PERMALINK_LINK" 9050 href="#arguments-2" 9051 > 9052 <span 9053 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 9054 > 9055 Arguments 9056 </span> 9057 <span 9058 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9059 > 9060 <svg 9061 aria-label="permalink" 9062 class="anchor-icon" 9063 fill="none" 9064 height="24" 9065 viewBox="0 0 24 24" 9066 width="24" 9067 xmlns="http://www.w3.org/2000/svg" 9068 > 9069 <path 9070 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9071 stroke="#9B9B9B" 9072 stroke-linecap="round" 9073 stroke-linejoin="round" 9074 stroke-width="2" 9075 /> 9076 <path 9077 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9078 stroke="#9B9B9B" 9079 stroke-linecap="round" 9080 stroke-linejoin="round" 9081 stroke-width="2" 9082 /> 9083 </svg> 9084 </span> 9085 </a> 9086 </div> 9087 </h4> 9088 <ul 9089 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 9090 data-text="true" 9091 > 9092 <li 9093 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 9094 > 9095 <strong 9096 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 9097 > 9098 result 9099 ( 9100 <code 9101 class="inline css-nuv12a-STYLES_INLINE_CODE" 9102 > 9103 <a 9104 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 9105 href="/#pedometerresult" 9106 > 9107 PedometerResult 9108 </a> 9109 </code> 9110 ) 9111 </strong> 9112 </li> 9113 </ul> 9114 </div> 9115 </div> 9116 <div> 9117 <h3 9118 class="css-icxoph-h3-h3-STYLES_H3" 9119 data-heading="true" 9120 > 9121 <div 9122 class="css-1rh3o5q-STYLES_PERMALINK" 9123 > 9124 <span 9125 class="css-zonpcr-STYLES_PERMALINK_TARGET" 9126 id="permissionexpiration" 9127 /> 9128 <a 9129 class="css-15lh5hg-STYLES_PERMALINK_LINK" 9130 href="#permissionexpiration" 9131 > 9132 <span 9133 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 9134 > 9135 <code 9136 class="inline css-nuv12a-STYLES_INLINE_CODE" 9137 > 9138 PermissionExpiration 9139 </code> 9140 </span> 9141 <span 9142 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9143 > 9144 <svg 9145 aria-label="permalink" 9146 class="anchor-icon" 9147 fill="none" 9148 height="24" 9149 viewBox="0 0 24 24" 9150 width="24" 9151 xmlns="http://www.w3.org/2000/svg" 9152 > 9153 <path 9154 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9155 stroke="#9B9B9B" 9156 stroke-linecap="round" 9157 stroke-linejoin="round" 9158 stroke-width="2" 9159 /> 9160 <path 9161 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9162 stroke="#9B9B9B" 9163 stroke-linecap="round" 9164 stroke-linejoin="round" 9165 stroke-width="2" 9166 /> 9167 </svg> 9168 </span> 9169 </a> 9170 </div> 9171 </h3> 9172 <p 9173 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 9174 data-text="true" 9175 > 9176 Acceptable values are: 9177 9178 <span> 9179 <code 9180 class="inline css-nuv12a-STYLES_INLINE_CODE" 9181 > 9182 'never' 9183 </code> 9184 , 9185 </span> 9186 <span> 9187 <code 9188 class="inline css-nuv12a-STYLES_INLINE_CODE" 9189 > 9190 number 9191 </code> 9192 . 9193 </span> 9194 </p> 9195 </div> 9196 <div> 9197 <h3 9198 class="css-icxoph-h3-h3-STYLES_H3" 9199 data-heading="true" 9200 > 9201 <div 9202 class="css-1rh3o5q-STYLES_PERMALINK" 9203 > 9204 <span 9205 class="css-zonpcr-STYLES_PERMALINK_TARGET" 9206 id="subscription" 9207 /> 9208 <a 9209 class="css-15lh5hg-STYLES_PERMALINK_LINK" 9210 href="#subscription" 9211 > 9212 <span 9213 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 9214 > 9215 <code 9216 class="inline css-nuv12a-STYLES_INLINE_CODE" 9217 > 9218 Subscription 9219 9220 </code> 9221 </span> 9222 <span 9223 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9224 > 9225 <svg 9226 aria-label="permalink" 9227 class="anchor-icon" 9228 fill="none" 9229 height="24" 9230 viewBox="0 0 24 24" 9231 width="24" 9232 xmlns="http://www.w3.org/2000/svg" 9233 > 9234 <path 9235 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9236 stroke="#9B9B9B" 9237 stroke-linecap="round" 9238 stroke-linejoin="round" 9239 stroke-width="2" 9240 /> 9241 <path 9242 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9243 stroke="#9B9B9B" 9244 stroke-linecap="round" 9245 stroke-linejoin="round" 9246 stroke-width="2" 9247 /> 9248 </svg> 9249 </span> 9250 </a> 9251 </div> 9252 </h3> 9253 <table> 9254 <thead> 9255 <tr> 9256 <th> 9257 Name 9258 </th> 9259 <th> 9260 Type 9261 </th> 9262 <th> 9263 Description 9264 </th> 9265 </tr> 9266 </thead> 9267 <tbody> 9268 <tr> 9269 <td> 9270 <strong 9271 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 9272 > 9273 remove 9274 </strong> 9275 </td> 9276 <td> 9277 <code 9278 class="inline css-nuv12a-STYLES_INLINE_CODE" 9279 > 9280 () => 9281 9282 void 9283 </code> 9284 </td> 9285 <td> 9286 <span> 9287 A method to unsubscribe the listener. 9288 </span> 9289 </td> 9290 </tr> 9291 </tbody> 9292 </table> 9293 </div> 9294 <h2 9295 class="css-1v5aebx-h2-h2-STYLES_H2" 9296 data-heading="true" 9297 > 9298 <div 9299 class="css-1rh3o5q-STYLES_PERMALINK" 9300 > 9301 <span 9302 class="css-zonpcr-STYLES_PERMALINK_TARGET" 9303 id="interfaces" 9304 /> 9305 <a 9306 class="css-15lh5hg-STYLES_PERMALINK_LINK" 9307 href="#interfaces" 9308 > 9309 <span 9310 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 9311 > 9312 Interfaces 9313 </span> 9314 <span 9315 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9316 > 9317 <svg 9318 aria-label="permalink" 9319 class="anchor-icon" 9320 fill="none" 9321 height="24" 9322 viewBox="0 0 24 24" 9323 width="24" 9324 xmlns="http://www.w3.org/2000/svg" 9325 > 9326 <path 9327 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9328 stroke="#9B9B9B" 9329 stroke-linecap="round" 9330 stroke-linejoin="round" 9331 stroke-width="2" 9332 /> 9333 <path 9334 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9335 stroke="#9B9B9B" 9336 stroke-linecap="round" 9337 stroke-linejoin="round" 9338 stroke-width="2" 9339 /> 9340 </svg> 9341 </span> 9342 </a> 9343 </div> 9344 </h2> 9345 <div> 9346 <h3 9347 class="css-icxoph-h3-h3-STYLES_H3" 9348 data-heading="true" 9349 > 9350 <div 9351 class="css-1rh3o5q-STYLES_PERMALINK" 9352 > 9353 <span 9354 class="css-zonpcr-STYLES_PERMALINK_TARGET" 9355 id="permissionresponse" 9356 /> 9357 <a 9358 class="css-15lh5hg-STYLES_PERMALINK_LINK" 9359 href="#permissionresponse" 9360 > 9361 <span 9362 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 9363 > 9364 <code 9365 class="inline css-nuv12a-STYLES_INLINE_CODE" 9366 > 9367 PermissionResponse 9368 </code> 9369 </span> 9370 <span 9371 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9372 > 9373 <svg 9374 aria-label="permalink" 9375 class="anchor-icon" 9376 fill="none" 9377 height="24" 9378 viewBox="0 0 24 24" 9379 width="24" 9380 xmlns="http://www.w3.org/2000/svg" 9381 > 9382 <path 9383 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9384 stroke="#9B9B9B" 9385 stroke-linecap="round" 9386 stroke-linejoin="round" 9387 stroke-width="2" 9388 /> 9389 <path 9390 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9391 stroke="#9B9B9B" 9392 stroke-linecap="round" 9393 stroke-linejoin="round" 9394 stroke-width="2" 9395 /> 9396 </svg> 9397 </span> 9398 </a> 9399 </div> 9400 </h3> 9401 <table> 9402 <thead> 9403 <tr> 9404 <th> 9405 Name 9406 </th> 9407 <th> 9408 Type 9409 </th> 9410 <th> 9411 Description 9412 </th> 9413 </tr> 9414 </thead> 9415 <tbody> 9416 <tr> 9417 <td> 9418 <strong 9419 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 9420 > 9421 canAskAgain 9422 9423 </strong> 9424 </td> 9425 <td> 9426 <code 9427 class="inline css-nuv12a-STYLES_INLINE_CODE" 9428 > 9429 boolean 9430 </code> 9431 </td> 9432 <td> 9433 - 9434 </td> 9435 </tr> 9436 <tr> 9437 <td> 9438 <strong 9439 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 9440 > 9441 expires 9442 9443 </strong> 9444 </td> 9445 <td> 9446 <code 9447 class="inline css-nuv12a-STYLES_INLINE_CODE" 9448 > 9449 <a 9450 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 9451 href="/#permissionexpiration" 9452 > 9453 PermissionExpiration 9454 </a> 9455 </code> 9456 </td> 9457 <td> 9458 - 9459 </td> 9460 </tr> 9461 <tr> 9462 <td> 9463 <strong 9464 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 9465 > 9466 granted 9467 9468 </strong> 9469 </td> 9470 <td> 9471 <code 9472 class="inline css-nuv12a-STYLES_INLINE_CODE" 9473 > 9474 boolean 9475 </code> 9476 </td> 9477 <td> 9478 - 9479 </td> 9480 </tr> 9481 <tr> 9482 <td> 9483 <strong 9484 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 9485 > 9486 status 9487 9488 </strong> 9489 </td> 9490 <td> 9491 <code 9492 class="inline css-nuv12a-STYLES_INLINE_CODE" 9493 > 9494 <a 9495 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 9496 href="/#permissionstatus" 9497 > 9498 PermissionStatus 9499 </a> 9500 </code> 9501 </td> 9502 <td> 9503 - 9504 </td> 9505 </tr> 9506 </tbody> 9507 </table> 9508 </div> 9509 <h2 9510 class="css-1v5aebx-h2-h2-STYLES_H2" 9511 data-heading="true" 9512 > 9513 <div 9514 class="css-1rh3o5q-STYLES_PERMALINK" 9515 > 9516 <span 9517 class="css-zonpcr-STYLES_PERMALINK_TARGET" 9518 id="enums" 9519 /> 9520 <a 9521 class="css-15lh5hg-STYLES_PERMALINK_LINK" 9522 href="#enums" 9523 > 9524 <span 9525 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 9526 > 9527 Enums 9528 </span> 9529 <span 9530 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9531 > 9532 <svg 9533 aria-label="permalink" 9534 class="anchor-icon" 9535 fill="none" 9536 height="24" 9537 viewBox="0 0 24 24" 9538 width="24" 9539 xmlns="http://www.w3.org/2000/svg" 9540 > 9541 <path 9542 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9543 stroke="#9B9B9B" 9544 stroke-linecap="round" 9545 stroke-linejoin="round" 9546 stroke-width="2" 9547 /> 9548 <path 9549 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9550 stroke="#9B9B9B" 9551 stroke-linecap="round" 9552 stroke-linejoin="round" 9553 stroke-width="2" 9554 /> 9555 </svg> 9556 </span> 9557 </a> 9558 </div> 9559 </h2> 9560 <div> 9561 <h3 9562 class="css-icxoph-h3-h3-STYLES_H3" 9563 data-heading="true" 9564 > 9565 <div 9566 class="css-1rh3o5q-STYLES_PERMALINK" 9567 > 9568 <span 9569 class="css-zonpcr-STYLES_PERMALINK_TARGET" 9570 id="permissionstatus" 9571 /> 9572 <a 9573 class="css-15lh5hg-STYLES_PERMALINK_LINK" 9574 href="#permissionstatus" 9575 > 9576 <span 9577 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 9578 > 9579 <code 9580 class="inline css-nuv12a-STYLES_INLINE_CODE" 9581 > 9582 PermissionStatus 9583 </code> 9584 </span> 9585 <span 9586 class="css-10vdcw8-STYLES_PERMALINK_ICON" 9587 > 9588 <svg 9589 aria-label="permalink" 9590 class="anchor-icon" 9591 fill="none" 9592 height="24" 9593 viewBox="0 0 24 24" 9594 width="24" 9595 xmlns="http://www.w3.org/2000/svg" 9596 > 9597 <path 9598 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 9599 stroke="#9B9B9B" 9600 stroke-linecap="round" 9601 stroke-linejoin="round" 9602 stroke-width="2" 9603 /> 9604 <path 9605 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 9606 stroke="#9B9B9B" 9607 stroke-linecap="round" 9608 stroke-linejoin="round" 9609 stroke-width="2" 9610 /> 9611 </svg> 9612 </span> 9613 </a> 9614 </div> 9615 </h3> 9616 <ul 9617 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 9618 data-text="true" 9619 > 9620 <li 9621 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 9622 > 9623 <code 9624 class="inline css-nuv12a-STYLES_INLINE_CODE" 9625 > 9626 PermissionStatus 9627 . 9628 DENIED 9629 </code> 9630 : 9631 <code 9632 class="inline css-nuv12a-STYLES_INLINE_CODE" 9633 > 9634 "denied" 9635 </code> 9636 </li> 9637 <li 9638 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 9639 > 9640 <code 9641 class="inline css-nuv12a-STYLES_INLINE_CODE" 9642 > 9643 PermissionStatus 9644 . 9645 GRANTED 9646 </code> 9647 : 9648 <code 9649 class="inline css-nuv12a-STYLES_INLINE_CODE" 9650 > 9651 "granted" 9652 </code> 9653 </li> 9654 <li 9655 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 9656 > 9657 <code 9658 class="inline css-nuv12a-STYLES_INLINE_CODE" 9659 > 9660 PermissionStatus 9661 . 9662 UNDETERMINED 9663 </code> 9664 : 9665 <code 9666 class="inline css-nuv12a-STYLES_INLINE_CODE" 9667 > 9668 "undetermined" 9669 </code> 9670 </li> 9671 </ul> 9672 </div> 9673</div> 9674`; 9675 9676exports[`APISection no data 1`] = ` 9677<div> 9678 <p 9679 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 9680 data-text="true" 9681 > 9682 No API data file found, sorry! 9683 </p> 9684</div> 9685`; 9686