Intent.ACTION_HEADSET_PLUGBroadcast Action: Wired Headset plugged in or unplugged.
The intent will have the following extra values:
- state - 0 for unplugged, 1 for plugged.
- name - Headset type, human readable string
- microphone - 1 if headset has a microphone, 0 otherwise
Constant Value: "android.intent.action.HEADSET_PLUG"
阅读(649) | 评论(0) | 转发(0) |