Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhardsletten committed Jun 27, 2016
1 parent 63ed20c commit f291c2d
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 @@ -50,16 +50,16 @@ The successCallback (first argument) is a boolean (true or false). Couldn't be e
If you need to respond to removal or added headset while your app i running, you can use the `HeadsetDetection.registerRemoteEvents` function and listen for either `headsetAdded` or `headsetRemove`:

```js
HeadsetDetection.registerRemoteEvents(function(status) {
window.HeadsetDetection.registerRemoteEvents(function(status) {
switch(status) {
case 'headsetAdded':
console.log('Headset was added');
break;
case 'headsetRemove':
console.log('Headset was removed');
break;
}
})
};
});
```

## 4. CREDITS ##
Expand Down

0 comments on commit f291c2d

Please sign in to comment.