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

     1  - File: webext/chrome/tts_engine.json
     2    Dict:
     3      Name: AudioBuffer
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - ttsEngine
     9      Fields:
    10        - Name: audioBuffer
    11          Required: true
    12          Type:
    13            Name: Uint8Array
    14          ExtAttrs:
    15            - Name: Namespace
    16              Values:
    17                - chrome
    18                - ttsEngine
    19        - Name: charIndex
    20          Type:
    21            Name: long long
    22          ExtAttrs:
    23            - Name: Namespace
    24              Values:
    25                - chrome
    26                - ttsEngine
    27        - Name: isLastBuffer
    28          Type:
    29            Name: boolean
    30          ExtAttrs:
    31            - Name: Namespace
    32              Values:
    33                - chrome
    34                - ttsEngine
    35  - File: webext/chrome/tts_engine.json
    36    Dict:
    37      Name: AudioStreamOptions
    38      ExtAttrs:
    39        - Name: Namespace
    40          Values:
    41            - chrome
    42            - ttsEngine
    43      Fields:
    44        - Name: bufferSize
    45          Required: true
    46          Type:
    47            Name: long long
    48          ExtAttrs:
    49            - Name: Namespace
    50              Values:
    51                - chrome
    52                - ttsEngine
    53        - Name: sampleRate
    54          Required: true
    55          Type:
    56            Name: long long
    57          ExtAttrs:
    58            - Name: Namespace
    59              Values:
    60                - chrome
    61                - ttsEngine
    62  - File: webext/chrome/tts_engine.json
    63    Callback:
    64      Name: OnSpeakArgSendTtsEvent
    65      Args:
    66        - Name: event
    67          Type:
    68            Name: TtsEvent
    69            ExtAttrs:
    70              - Name: Namespace
    71                Values:
    72                  - chrome
    73                  - tts
    74      Returns:
    75        - Name: undefined
    76      ExtAttrs:
    77        - Name: Namespace
    78          Values:
    79            - chrome
    80            - ttsEngine
    81  - File: webext/chrome/tts_engine.json
    82    Callback:
    83      Name: OnSpeakWithAudioStreamArgSendError
    84      Args:
    85        - Name: errorMessage
    86          Optional: true
    87          Type:
    88            Name: DOMString
    89      Returns:
    90        - Name: undefined
    91      ExtAttrs:
    92        - Name: Namespace
    93          Values:
    94            - chrome
    95            - ttsEngine
    96  - File: webext/chrome/tts_engine.json
    97    Callback:
    98      Name: OnSpeakWithAudioStreamArgSendTtsAudio
    99      Args:
   100        - Name: audioBufferParams
   101          Type:
   102            Name: AudioBuffer
   103            ExtAttrs:
   104              - Name: Namespace
   105                Values:
   106                  - chrome
   107                  - ttsEngine
   108      Returns:
   109        - Name: undefined
   110      ExtAttrs:
   111        - Name: Namespace
   112          Values:
   113            - chrome
   114            - ttsEngine
   115  - File: webext/chrome/tts_engine.json
   116    Dict:
   117      Name: SpeakOptions
   118      ExtAttrs:
   119        - Name: Namespace
   120          Values:
   121            - chrome
   122            - ttsEngine
   123      Fields:
   124        - Name: gender
   125          Type:
   126            Name: VoiceGender
   127            ExtAttrs:
   128              - Name: Namespace
   129                Values:
   130                  - chrome
   131                  - ttsEngine
   132          ExtAttrs:
   133            - Name: Namespace
   134              Values:
   135                - chrome
   136                - ttsEngine
   137        - Name: lang
   138          Type:
   139            Name: DOMString
   140          ExtAttrs:
   141            - Name: Namespace
   142              Values:
   143                - chrome
   144                - ttsEngine
   145        - Name: pitch
   146          Type:
   147            Name: double
   148          ExtAttrs:
   149            - Name: Namespace
   150              Values:
   151                - chrome
   152                - ttsEngine
   153        - Name: rate
   154          Type:
   155            Name: double
   156          ExtAttrs:
   157            - Name: Namespace
   158              Values:
   159                - chrome
   160                - ttsEngine
   161        - Name: voiceName
   162          Type:
   163            Name: DOMString
   164          ExtAttrs:
   165            - Name: Namespace
   166              Values:
   167                - chrome
   168                - ttsEngine
   169        - Name: volume
   170          Type:
   171            Name: double
   172          ExtAttrs:
   173            - Name: Namespace
   174              Values:
   175                - chrome
   176                - ttsEngine
   177  - File: webext/chrome/tts_engine.json
   178    Enum:
   179      Name: VoiceGender
   180      Values:
   181        - male
   182        - female
   183      ExtAttrs:
   184        - Name: Namespace
   185          Values:
   186            - chrome
   187            - ttsEngine
   188  - File: webext/chrome/tts_engine.json
   189    WebextEvent:
   190      Name: onPause
   191      Returns:
   192        - Name: undefined
   193      ExtAttrs:
   194        - Name: Namespace
   195          Values:
   196            - chrome
   197            - ttsEngine
   198  - File: webext/chrome/tts_engine.json
   199    WebextEvent:
   200      Name: onResume
   201      Returns:
   202        - Name: undefined
   203      ExtAttrs:
   204        - Name: Namespace
   205          Values:
   206            - chrome
   207            - ttsEngine
   208  - File: webext/chrome/tts_engine.json
   209    WebextEvent:
   210      Name: onSpeak
   211      Args:
   212        - Name: utterance
   213          Type:
   214            Name: DOMString
   215        - Name: options
   216          Type:
   217            Name: SpeakOptions
   218            ExtAttrs:
   219              - Name: Namespace
   220                Values:
   221                  - chrome
   222                  - ttsEngine
   223        - Name: sendTtsEvent
   224          Type:
   225            Name: OnSpeakArgSendTtsEvent
   226            ExtAttrs:
   227              - Name: Namespace
   228                Values:
   229                  - chrome
   230                  - ttsEngine
   231      Returns:
   232        - Name: undefined
   233      ExtAttrs:
   234        - Name: Namespace
   235          Values:
   236            - chrome
   237            - ttsEngine
   238  - File: webext/chrome/tts_engine.json
   239    WebextEvent:
   240      Name: onSpeakWithAudioStream
   241      Args:
   242        - Name: utterance
   243          Type:
   244            Name: DOMString
   245        - Name: options
   246          Type:
   247            Name: SpeakOptions
   248            ExtAttrs:
   249              - Name: Namespace
   250                Values:
   251                  - chrome
   252                  - ttsEngine
   253        - Name: audioStreamOptions
   254          Type:
   255            Name: AudioStreamOptions
   256            ExtAttrs:
   257              - Name: Namespace
   258                Values:
   259                  - chrome
   260                  - ttsEngine
   261        - Name: sendTtsAudio
   262          Type:
   263            Name: OnSpeakWithAudioStreamArgSendTtsAudio
   264            ExtAttrs:
   265              - Name: Namespace
   266                Values:
   267                  - chrome
   268                  - ttsEngine
   269        - Name: sendError
   270          Type:
   271            Name: OnSpeakWithAudioStreamArgSendError
   272            ExtAttrs:
   273              - Name: Namespace
   274                Values:
   275                  - chrome
   276                  - ttsEngine
   277      Returns:
   278        - Name: undefined
   279      ExtAttrs:
   280        - Name: Namespace
   281          Values:
   282            - chrome
   283            - ttsEngine
   284  - File: webext/chrome/tts_engine.json
   285    WebextEvent:
   286      Name: onStop
   287      Returns:
   288        - Name: undefined
   289      ExtAttrs:
   290        - Name: Namespace
   291          Values:
   292            - chrome
   293            - ttsEngine
   294  - File: webext/chrome/tts_engine.json
   295    WebextFunc:
   296      Name: sendTtsAudio
   297      Args:
   298        - Name: requestId
   299          Type:
   300            Name: long long
   301        - Name: audio
   302          Type:
   303            Name: AudioBuffer
   304            ExtAttrs:
   305              - Name: Namespace
   306                Values:
   307                  - chrome
   308                  - ttsEngine
   309      Returns:
   310        - Name: undefined
   311      ExtAttrs:
   312        - Name: Namespace
   313          Values:
   314            - chrome
   315            - ttsEngine
   316  - File: webext/chrome/tts_engine.json
   317    WebextFunc:
   318      Name: sendTtsEvent
   319      Args:
   320        - Name: requestId
   321          Type:
   322            Name: long long
   323        - Name: event
   324          Type:
   325            Name: TtsEvent
   326            ExtAttrs:
   327              - Name: Namespace
   328                Values:
   329                  - chrome
   330                  - tts
   331      Returns:
   332        - Name: undefined
   333      ExtAttrs:
   334        - Name: Namespace
   335          Values:
   336            - chrome
   337            - ttsEngine
   338  - File: webext/chrome/tts_engine.json
   339    WebextFunc:
   340      Name: updateVoices
   341      Args:
   342        - Name: voices
   343          Type:
   344            Name: sequence
   345            Params:
   346              - Name: TtsVoice
   347                ExtAttrs:
   348                  - Name: Namespace
   349                    Values:
   350                      - chrome
   351                      - tts
   352            ExtAttrs:
   353              - Name: Namespace
   354                Values:
   355                  - chrome
   356                  - ttsEngine
   357      Returns:
   358        - Name: undefined
   359      ExtAttrs:
   360        - Name: Namespace
   361          Values:
   362            - chrome
   363            - ttsEngine