Skip to content

An easy Cordova/Phonegap plugin to detect if headphones are plugged in at your mobile or tablet.

Notifications You must be signed in to change notification settings

GOYUSO/HeadPhonesDetect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeadPhonesDetect

A easy Cordova/Phonegap plugin to detect if headphones are plugged in at your mobile or tablet.

How to use?

hphone.detect(function(isPlugged){
    alert("isPlugged?: " + isPlugged);
});

About

An easy Cordova/Phonegap plugin to detect if headphones are plugged in at your mobile or tablet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published