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