OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 "optional": true, | 508 "optional": true, |
509 "description": "The language name for synthesis specified in the
form <language>-<locale>, e.g. en-US, en-GB, fr-CA, zh-CN, etc." | 509 "description": "The language name for synthesis specified in the
form <language>-<locale>, e.g. en-US, en-GB, fr-CA, zh-CN, etc." |
510 }, | 510 }, |
511 "gender": { | 511 "gender": { |
512 "type": "string", | 512 "type": "string", |
513 "optional": true, | 513 "optional": true, |
514 "description": "Gender of voice for synthesized speech.", | 514 "description": "Gender of voice for synthesized speech.", |
515 "enum": ["male", "female"] | 515 "enum": ["male", "female"] |
516 }, | 516 }, |
517 "rate": { | 517 "rate": { |
518 "type": "float", | 518 "type": "number", |
519 "optional": true, | 519 "optional": true, |
520 "minimum": 0, | 520 "minimum": 0, |
521 "maximum": 1, | 521 "maximum": 1, |
522 "description": "Speaking speed between 0 and 1 inclusive, with 0
being slowest and 1 being fastest." | 522 "description": "Speaking speed between 0 and 1 inclusive, with 0
being slowest and 1 being fastest." |
523 }, | 523 }, |
524 "pitch": { | 524 "pitch": { |
525 "type": "float", | 525 "type": "number", |
526 "optional": true, | 526 "optional": true, |
527 "minimum": 0, | 527 "minimum": 0, |
528 "maximum": 1, | 528 "maximum": 1, |
529 "description": "Speaking pitch between 0 and 1 inclusive, with 0
being lowest and 1 being highest." | 529 "description": "Speaking pitch between 0 and 1 inclusive, with 0
being lowest and 1 being highest." |
530 }, | 530 }, |
531 "volume": { | 531 "volume": { |
532 "type": "float", | 532 "type": "number", |
533 "optional": true, | 533 "optional": true, |
534 "minimum": 0, | 534 "minimum": 0, |
535 "maximum": 1, | 535 "maximum": 1, |
536 "description": "Speaking volume between 0 and 1 inclusive, with
0 being lowest and 1 being highest." | 536 "description": "Speaking volume between 0 and 1 inclusive, with
0 being lowest and 1 being highest." |
537 } | 537 } |
538 } | 538 } |
539 }, | 539 }, |
540 { | 540 { |
541 "type": "function", | 541 "type": "function", |
542 "name": "callback", | 542 "name": "callback", |
(...skipping 3298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3841 { | 3841 { |
3842 "name": "onInputCancelled", | 3842 "name": "onInputCancelled", |
3843 "perExtensionEvent": true, | 3843 "perExtensionEvent": true, |
3844 "type": "function", | 3844 "type": "function", |
3845 "description": "User has ended the keyword input session without accepti
ng the input.", | 3845 "description": "User has ended the keyword input session without accepti
ng the input.", |
3846 "parameters": [] | 3846 "parameters": [] |
3847 } | 3847 } |
3848 ] | 3848 ] |
3849 } | 3849 } |
3850 ] | 3850 ] |
OLD | NEW |