Skip to content

Commit

Permalink
doc: correct some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
spoeck authored Jul 24, 2017
1 parent 03c4a43 commit b3adbeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Import ApiAi:
import ApiAi from "react-native-api-ai";
```

Set the `clientAccessToken` and the language in your contructor:
Set the `clientAccessToken` and the language in your constructor:
```javascript
constructor(props) {
super(props);
Expand Down Expand Up @@ -73,7 +73,7 @@ Usage of `onListeningStarted`, `onListeningCanceled`, `onListeningFinished` and
}}
/>
```
Note: Make sure you are setting the callbacks before startListening again every single time. Don't set in e.g. constructor or componentsDidMount if you are executing startListening more than one times.
Note: Make sure you are setting the callbacks before startListening every single time again. Don't set the callbacks in e.g. constructor or componentsDidMount if you are executing startListening more than one times.

Using your own speech recognition:
```javascript
Expand Down Expand Up @@ -115,4 +115,4 @@ ApiAi.setConfiguration("4xxxxxxxe90xxxxxxxxc372", ApiAi.LANG_GERMAN);
| `onListeningStarted` | callback: ()=>{} | | |
| `onListeningCanceled` | callback: ()=>{} || |
| `onListeningFinished` | callback: ()=>{} | | |
| `onAudioLevel` | callback: (level: number)=>{} || |
| `onAudioLevel` | callback: (level: number)=>{} || |

0 comments on commit b3adbeb

Please sign in to comment.