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