App Inventor Extensions: Headset Plug Status | Pura Vida Apps

App Inventor Extensions


Headset Plug Status Extension

See the App Inventor Extensions document about how to use an App Inventor Extension.

For questions about this extension or bug reports please start a new thread in the App Inventor Extensions forum. Thank you.

For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.

Feb 15th, 2018: Version 1: initial release

Description

Extension to get the headset plug status (unplugged, plugged or unknown).
Required permissions: android.permission.MODIFY_AUDIO_SETTINGS
Thank you Caleb for being the sponsor of this extension!

Properties


Returns the headset plug status. Possible values are: unplugged, plugged or unknown.

Events


Event indicating that headset plug status changed. Possible values are: unplugged, plugged or unknown.

Example App: Headset Status Test


Test

Tested successfully on Nexus 5X running Android 8.1.

For questions about App Inventor,
please ask in the App Inventor forum.Thank you.

Terms and Conditions

Download


Developing and maintaining snippets, tutorials and extensions for App Inventor takes a lot of time.
I hope it saved some of your time. If yes, then you might consider to donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:
1Jd8kXLHu2Vkuhi15TWHiQm4uE9AGPYxi8
Bitcoin

Thank you! Taifun
 

Download Headset extension (aix file)
Download Headset Status Test (aia file)

Back to top of page ...

Creative Commons License
This work by Pura Vida Apps is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.


Home | Snippets | Tutorials | Extensions | News | Forums | Links | Search | Contact