Documentation for this section has not yet been entered.
Get method documentation [Android Documentation]
Checks whether a wired headset is connected or not.
This is not a valid indication that audio playback is
actually over the wired headset as audio routing depends on other conditions.
Set method documentation [Android Documentation]
Sets audio routing to the wired headset on or off.