Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonsu committed May 27, 2019
1 parent 042c5aa commit e1dda2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -49,7 +49,7 @@ try {
## Functions

### `playSound(fileName: string, fileType: string)`
### `playSoundFile(fileName: string, fileType: string)`

Play the sound file named `fileName` with file type `fileType`.

Expand Down Expand Up @@ -91,7 +91,7 @@ Supported events are:

// Subscribe to event(s) you want when component mounted
componentDidMount() {
_onFinishedPlayingSubscription = SoundPlayer.addEventListener('FinishedPlyaing', ({ success }) => {
_onFinishedPlayingSubscription = SoundPlayer.addEventListener('FinishedPlaying', ({ success }) => {
console.log('finished playing', success)
})
_onFinishedLoadingSubscription = SoundPlayer.addEventListener('FinishedLoading', ({ success }) => {
Expand Down

0 comments on commit e1dda2c

Please sign in to comment.