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