github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/bluetooth/apis.js.wasm.yaml (about)

     1  - File: webext/bluetooth.idl
     2    Dict:
     3      Name: AdapterState
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - bluetooth
     9      Fields:
    10        - Name: address
    11          Type:
    12            Name: DOMString
    13            ExtAttrs:
    14              - Name: Namespace
    15                Values:
    16                  - chrome
    17                  - bluetooth
    18          ExtAttrs:
    19            - Name: Namespace
    20              Values:
    21                - chrome
    22                - bluetooth
    23        - Name: name
    24          Type:
    25            Name: DOMString
    26            ExtAttrs:
    27              - Name: Namespace
    28                Values:
    29                  - chrome
    30                  - bluetooth
    31          ExtAttrs:
    32            - Name: Namespace
    33              Values:
    34                - chrome
    35                - bluetooth
    36        - Name: powered
    37          Type:
    38            Name: boolean
    39            ExtAttrs:
    40              - Name: Namespace
    41                Values:
    42                  - chrome
    43                  - bluetooth
    44          ExtAttrs:
    45            - Name: Namespace
    46              Values:
    47                - chrome
    48                - bluetooth
    49        - Name: available
    50          Type:
    51            Name: boolean
    52            ExtAttrs:
    53              - Name: Namespace
    54                Values:
    55                  - chrome
    56                  - bluetooth
    57          ExtAttrs:
    58            - Name: Namespace
    59              Values:
    60                - chrome
    61                - bluetooth
    62        - Name: discovering
    63          Type:
    64            Name: boolean
    65            ExtAttrs:
    66              - Name: Namespace
    67                Values:
    68                  - chrome
    69                  - bluetooth
    70          ExtAttrs:
    71            - Name: Namespace
    72              Values:
    73                - chrome
    74                - bluetooth
    75  - File: webext/bluetooth.idl
    76    Callback:
    77      Name: AdapterStateCallback
    78      Args:
    79        - Name: adapterInfo
    80          Type:
    81            Name: AdapterState
    82            ExtAttrs:
    83              - Name: Namespace
    84                Values:
    85                  - chrome
    86                  - bluetooth
    87          ExtAttrs:
    88            - Name: Namespace
    89              Values:
    90                - chrome
    91                - bluetooth
    92      Returns:
    93        - Name: void
    94          ExtAttrs:
    95            - Name: Namespace
    96              Values:
    97                - chrome
    98                - bluetooth
    99      ExtAttrs:
   100        - Name: Namespace
   101          Values:
   102            - chrome
   103            - bluetooth
   104  - File: webext/bluetooth.idl
   105    Dict:
   106      Name: BluetoothFilter
   107      ExtAttrs:
   108        - Name: Namespace
   109          Values:
   110            - chrome
   111            - bluetooth
   112      Fields:
   113        - Name: filterType
   114          Type:
   115            Name: FilterType
   116            Nullable: true
   117            ExtAttrs:
   118              - Name: Namespace
   119                Values:
   120                  - chrome
   121                  - bluetooth
   122          ExtAttrs:
   123            - Name: Namespace
   124              Values:
   125                - chrome
   126                - bluetooth
   127        - Name: limit
   128          Type:
   129            Name: long
   130            Nullable: true
   131            ExtAttrs:
   132              - Name: Namespace
   133                Values:
   134                  - chrome
   135                  - bluetooth
   136          ExtAttrs:
   137            - Name: Namespace
   138              Values:
   139                - chrome
   140                - bluetooth
   141  - File: webext/bluetooth.idl
   142    Dict:
   143      Name: Device
   144      ExtAttrs:
   145        - Name: Namespace
   146          Values:
   147            - chrome
   148            - bluetooth
   149      Fields:
   150        - Name: address
   151          Type:
   152            Name: DOMString
   153            ExtAttrs:
   154              - Name: Namespace
   155                Values:
   156                  - chrome
   157                  - bluetooth
   158          ExtAttrs:
   159            - Name: Namespace
   160              Values:
   161                - chrome
   162                - bluetooth
   163        - Name: name
   164          Type:
   165            Name: DOMString
   166            Nullable: true
   167            ExtAttrs:
   168              - Name: Namespace
   169                Values:
   170                  - chrome
   171                  - bluetooth
   172          ExtAttrs:
   173            - Name: Namespace
   174              Values:
   175                - chrome
   176                - bluetooth
   177        - Name: deviceClass
   178          Type:
   179            Name: long
   180            Nullable: true
   181            ExtAttrs:
   182              - Name: Namespace
   183                Values:
   184                  - chrome
   185                  - bluetooth
   186          ExtAttrs:
   187            - Name: Namespace
   188              Values:
   189                - chrome
   190                - bluetooth
   191        - Name: vendorIdSource
   192          Type:
   193            Name: VendorIdSource
   194            Nullable: true
   195            ExtAttrs:
   196              - Name: Namespace
   197                Values:
   198                  - chrome
   199                  - bluetooth
   200          ExtAttrs:
   201            - Name: Namespace
   202              Values:
   203                - chrome
   204                - bluetooth
   205        - Name: vendorId
   206          Type:
   207            Name: long
   208            Nullable: true
   209            ExtAttrs:
   210              - Name: Namespace
   211                Values:
   212                  - chrome
   213                  - bluetooth
   214          ExtAttrs:
   215            - Name: Namespace
   216              Values:
   217                - chrome
   218                - bluetooth
   219        - Name: productId
   220          Type:
   221            Name: long
   222            Nullable: true
   223            ExtAttrs:
   224              - Name: Namespace
   225                Values:
   226                  - chrome
   227                  - bluetooth
   228          ExtAttrs:
   229            - Name: Namespace
   230              Values:
   231                - chrome
   232                - bluetooth
   233        - Name: deviceId
   234          Type:
   235            Name: long
   236            Nullable: true
   237            ExtAttrs:
   238              - Name: Namespace
   239                Values:
   240                  - chrome
   241                  - bluetooth
   242          ExtAttrs:
   243            - Name: Namespace
   244              Values:
   245                - chrome
   246                - bluetooth
   247        - Name: type
   248          Type:
   249            Name: DeviceType
   250            Nullable: true
   251            ExtAttrs:
   252              - Name: Namespace
   253                Values:
   254                  - chrome
   255                  - bluetooth
   256          ExtAttrs:
   257            - Name: Namespace
   258              Values:
   259                - chrome
   260                - bluetooth
   261        - Name: paired
   262          Type:
   263            Name: boolean
   264            Nullable: true
   265            ExtAttrs:
   266              - Name: Namespace
   267                Values:
   268                  - chrome
   269                  - bluetooth
   270          ExtAttrs:
   271            - Name: Namespace
   272              Values:
   273                - chrome
   274                - bluetooth
   275        - Name: connected
   276          Type:
   277            Name: boolean
   278            Nullable: true
   279            ExtAttrs:
   280              - Name: Namespace
   281                Values:
   282                  - chrome
   283                  - bluetooth
   284          ExtAttrs:
   285            - Name: Namespace
   286              Values:
   287                - chrome
   288                - bluetooth
   289        - Name: connecting
   290          Type:
   291            Name: boolean
   292            Nullable: true
   293            ExtAttrs:
   294              - Name: Namespace
   295                Values:
   296                  - chrome
   297                  - bluetooth
   298          ExtAttrs:
   299            - Name: Namespace
   300              Values:
   301                - chrome
   302                - bluetooth
   303        - Name: connectable
   304          Type:
   305            Name: boolean
   306            Nullable: true
   307            ExtAttrs:
   308              - Name: Namespace
   309                Values:
   310                  - chrome
   311                  - bluetooth
   312          ExtAttrs:
   313            - Name: Namespace
   314              Values:
   315                - chrome
   316                - bluetooth
   317        - Name: uuids
   318          Type:
   319            Name: sequence
   320            Params:
   321              - Name: DOMString
   322                ExtAttrs:
   323                  - Name: Namespace
   324                    Values:
   325                      - chrome
   326                      - bluetooth
   327            Nullable: true
   328            ExtAttrs:
   329              - Name: Namespace
   330                Values:
   331                  - chrome
   332                  - bluetooth
   333          ExtAttrs:
   334            - Name: Namespace
   335              Values:
   336                - chrome
   337                - bluetooth
   338        - Name: inquiryRssi
   339          Type:
   340            Name: long
   341            Nullable: true
   342            ExtAttrs:
   343              - Name: Namespace
   344                Values:
   345                  - chrome
   346                  - bluetooth
   347          ExtAttrs:
   348            - Name: Namespace
   349              Values:
   350                - chrome
   351                - bluetooth
   352        - Name: inquiryTxPower
   353          Type:
   354            Name: long
   355            Nullable: true
   356            ExtAttrs:
   357              - Name: Namespace
   358                Values:
   359                  - chrome
   360                  - bluetooth
   361          ExtAttrs:
   362            - Name: Namespace
   363              Values:
   364                - chrome
   365                - bluetooth
   366        - Name: transport
   367          Type:
   368            Name: Transport
   369            Nullable: true
   370            ExtAttrs:
   371              - Name: Namespace
   372                Values:
   373                  - chrome
   374                  - bluetooth
   375          ExtAttrs:
   376            - Name: Namespace
   377              Values:
   378                - chrome
   379                - bluetooth
   380        - Name: batteryPercentage
   381          Type:
   382            Name: long
   383            Nullable: true
   384            ExtAttrs:
   385              - Name: Namespace
   386                Values:
   387                  - chrome
   388                  - bluetooth
   389          ExtAttrs:
   390            - Name: Namespace
   391              Values:
   392                - chrome
   393                - bluetooth
   394  - File: webext/bluetooth.idl
   395    Enum:
   396      Name: DeviceType
   397      Values:
   398        - computer
   399        - phone
   400        - modem
   401        - audio
   402        - carAudio
   403        - video
   404        - peripheral
   405        - joystick
   406        - gamepad
   407        - keyboard
   408        - mouse
   409        - tablet
   410        - keyboardMouseCombo
   411      ExtAttrs:
   412        - Name: Namespace
   413          Values:
   414            - chrome
   415            - bluetooth
   416  - File: webext/bluetooth.idl
   417    Enum:
   418      Name: FilterType
   419      Values:
   420        - all
   421        - known
   422      ExtAttrs:
   423        - Name: Namespace
   424          Values:
   425            - chrome
   426            - bluetooth
   427  - File: webext/bluetooth.idl
   428    Callback:
   429      Name: GetDeviceCallback
   430      Args:
   431        - Name: deviceInfo
   432          Type:
   433            Name: Device
   434            ExtAttrs:
   435              - Name: Namespace
   436                Values:
   437                  - chrome
   438                  - bluetooth
   439          ExtAttrs:
   440            - Name: Namespace
   441              Values:
   442                - chrome
   443                - bluetooth
   444      Returns:
   445        - Name: void
   446          ExtAttrs:
   447            - Name: Namespace
   448              Values:
   449                - chrome
   450                - bluetooth
   451      ExtAttrs:
   452        - Name: Namespace
   453          Values:
   454            - chrome
   455            - bluetooth
   456  - File: webext/bluetooth.idl
   457    Callback:
   458      Name: GetDevicesCallback
   459      Args:
   460        - Name: deviceInfos
   461          Type:
   462            Name: sequence
   463            Params:
   464              - Name: Device
   465                ExtAttrs:
   466                  - Name: Namespace
   467                    Values:
   468                      - chrome
   469                      - bluetooth
   470            ExtAttrs:
   471              - Name: Namespace
   472                Values:
   473                  - chrome
   474                  - bluetooth
   475          ExtAttrs:
   476            - Name: Namespace
   477              Values:
   478                - chrome
   479                - bluetooth
   480      Returns:
   481        - Name: void
   482          ExtAttrs:
   483            - Name: Namespace
   484              Values:
   485                - chrome
   486                - bluetooth
   487      ExtAttrs:
   488        - Name: Namespace
   489          Values:
   490            - chrome
   491            - bluetooth
   492  - File: webext/bluetooth.idl
   493    Callback:
   494      Name: StartDiscoveryCallback
   495      Returns:
   496        - Name: void
   497          ExtAttrs:
   498            - Name: Namespace
   499              Values:
   500                - chrome
   501                - bluetooth
   502      ExtAttrs:
   503        - Name: Namespace
   504          Values:
   505            - chrome
   506            - bluetooth
   507  - File: webext/bluetooth.idl
   508    Callback:
   509      Name: StopDiscoveryCallback
   510      Returns:
   511        - Name: void
   512          ExtAttrs:
   513            - Name: Namespace
   514              Values:
   515                - chrome
   516                - bluetooth
   517      ExtAttrs:
   518        - Name: Namespace
   519          Values:
   520            - chrome
   521            - bluetooth
   522  - File: webext/bluetooth.idl
   523    Enum:
   524      Name: Transport
   525      Values:
   526        - invalid
   527        - classic
   528        - le
   529        - dual
   530      ExtAttrs:
   531        - Name: Namespace
   532          Values:
   533            - chrome
   534            - bluetooth
   535  - File: webext/bluetooth.idl
   536    Enum:
   537      Name: VendorIdSource
   538      Values:
   539        - bluetooth
   540        - usb
   541      ExtAttrs:
   542        - Name: Namespace
   543          Values:
   544            - chrome
   545            - bluetooth
   546  - File: webext/bluetooth.idl
   547    WebextFunc:
   548      Name: getAdapterState
   549      Modifier: static
   550      Returns:
   551        - Name: Promise
   552          Params:
   553            - Name: AdapterState
   554              ExtAttrs:
   555                - Name: Namespace
   556                  Values:
   557                    - chrome
   558                    - bluetooth
   559      ExtAttrs:
   560        - Name: supportsPromises
   561        - Name: Namespace
   562          Values:
   563            - chrome
   564            - bluetooth
   565  - File: webext/bluetooth.idl
   566    WebextFunc:
   567      Name: getDevice
   568      Modifier: static
   569      Args:
   570        - Name: deviceAddress
   571          Type:
   572            Name: DOMString
   573            ExtAttrs:
   574              - Name: Namespace
   575                Values:
   576                  - chrome
   577                  - bluetooth
   578          ExtAttrs:
   579            - Name: Namespace
   580              Values:
   581                - chrome
   582                - bluetooth
   583      Returns:
   584        - Name: Promise
   585          Params:
   586            - Name: Device
   587              ExtAttrs:
   588                - Name: Namespace
   589                  Values:
   590                    - chrome
   591                    - bluetooth
   592      ExtAttrs:
   593        - Name: supportsPromises
   594        - Name: Namespace
   595          Values:
   596            - chrome
   597            - bluetooth
   598  - File: webext/bluetooth.idl
   599    WebextFunc:
   600      Name: getDevices
   601      Modifier: static
   602      Args:
   603        - Name: filter
   604          Optional: true
   605          Type:
   606            Name: BluetoothFilter
   607            ExtAttrs:
   608              - Name: Namespace
   609                Values:
   610                  - chrome
   611                  - bluetooth
   612          ExtAttrs:
   613            - Name: Namespace
   614              Values:
   615                - chrome
   616                - bluetooth
   617      Returns:
   618        - Name: Promise
   619          Params:
   620            - Name: sequence
   621              Params:
   622                - Name: Device
   623                  ExtAttrs:
   624                    - Name: Namespace
   625                      Values:
   626                        - chrome
   627                        - bluetooth
   628              ExtAttrs:
   629                - Name: Namespace
   630                  Values:
   631                    - chrome
   632                    - bluetooth
   633      ExtAttrs:
   634        - Name: supportsPromises
   635        - Name: Namespace
   636          Values:
   637            - chrome
   638            - bluetooth
   639  - File: webext/bluetooth.idl
   640    WebextEvent:
   641      Name: onAdapterStateChanged
   642      Modifier: static
   643      Args:
   644        - Name: state
   645          Type:
   646            Name: AdapterState
   647            ExtAttrs:
   648              - Name: Namespace
   649                Values:
   650                  - chrome
   651                  - bluetooth
   652          ExtAttrs:
   653            - Name: Namespace
   654              Values:
   655                - chrome
   656                - bluetooth
   657      Returns:
   658        - Name: void
   659          ExtAttrs:
   660            - Name: Namespace
   661              Values:
   662                - chrome
   663                - bluetooth
   664      ExtAttrs:
   665        - Name: Namespace
   666          Values:
   667            - chrome
   668            - bluetooth
   669  - File: webext/bluetooth.idl
   670    WebextEvent:
   671      Name: onDeviceAdded
   672      Modifier: static
   673      Args:
   674        - Name: device
   675          Type:
   676            Name: Device
   677            ExtAttrs:
   678              - Name: Namespace
   679                Values:
   680                  - chrome
   681                  - bluetooth
   682          ExtAttrs:
   683            - Name: Namespace
   684              Values:
   685                - chrome
   686                - bluetooth
   687      Returns:
   688        - Name: void
   689          ExtAttrs:
   690            - Name: Namespace
   691              Values:
   692                - chrome
   693                - bluetooth
   694      ExtAttrs:
   695        - Name: Namespace
   696          Values:
   697            - chrome
   698            - bluetooth
   699  - File: webext/bluetooth.idl
   700    WebextEvent:
   701      Name: onDeviceChanged
   702      Modifier: static
   703      Args:
   704        - Name: device
   705          Type:
   706            Name: Device
   707            ExtAttrs:
   708              - Name: Namespace
   709                Values:
   710                  - chrome
   711                  - bluetooth
   712          ExtAttrs:
   713            - Name: Namespace
   714              Values:
   715                - chrome
   716                - bluetooth
   717      Returns:
   718        - Name: void
   719          ExtAttrs:
   720            - Name: Namespace
   721              Values:
   722                - chrome
   723                - bluetooth
   724      ExtAttrs:
   725        - Name: Namespace
   726          Values:
   727            - chrome
   728            - bluetooth
   729  - File: webext/bluetooth.idl
   730    WebextEvent:
   731      Name: onDeviceRemoved
   732      Modifier: static
   733      Args:
   734        - Name: device
   735          Type:
   736            Name: Device
   737            ExtAttrs:
   738              - Name: Namespace
   739                Values:
   740                  - chrome
   741                  - bluetooth
   742          ExtAttrs:
   743            - Name: Namespace
   744              Values:
   745                - chrome
   746                - bluetooth
   747      Returns:
   748        - Name: void
   749          ExtAttrs:
   750            - Name: Namespace
   751              Values:
   752                - chrome
   753                - bluetooth
   754      ExtAttrs:
   755        - Name: Namespace
   756          Values:
   757            - chrome
   758            - bluetooth
   759  - File: webext/bluetooth.idl
   760    WebextFunc:
   761      Name: startDiscovery
   762      Modifier: static
   763      Returns:
   764        - Name: Promise
   765          Params:
   766            - Name: void
   767      ExtAttrs:
   768        - Name: supportsPromises
   769        - Name: Namespace
   770          Values:
   771            - chrome
   772            - bluetooth
   773  - File: webext/bluetooth.idl
   774    WebextFunc:
   775      Name: stopDiscovery
   776      Modifier: static
   777      Returns:
   778        - Name: Promise
   779          Params:
   780            - Name: void
   781      ExtAttrs:
   782        - Name: supportsPromises
   783        - Name: Namespace
   784          Values:
   785            - chrome
   786            - bluetooth