I'm working on a .Net MAUI application for Zebra TC22 (Android), using EMDK (EMDK for Xamarin v8.0). Is there a way to programmatically control volume of the beep the device emits on a scan?
How to programmatically control scan beep in EMDK ?// Expert user has replied. |
3 Replies
Can you please elaborate the use case? There is a MX feature Audio Volume UI Manager - TechDocs which can be accessed programmatically via EMDK ProfileManager API. But need to confirm the feasibility of controlling the volume of scan decode beep.
>Can you please elaborate the use case?
When I started using this tablet, whenever the device was making the scan, it beeped, quite loud. Then at some point it stopped doing that. I tried to find the setting that controls that, hoping to turn the beep back on, but maybe not so loud, but I did not find anything in Zebra utilities pre-installed on the tablet, also did not find it in the documentation.
Regardless, I thought that it would be nice feature to allow the user of my application to specify in app Settings whether he wants the beep or not, and the volume. The application then would use the EMDK to set that in the tablet.
You can achieve your desired use case by configuring the audio-related parameters in the scanner settings. Specifically, to adjust or turn off the volume, you can use a URI pointing to either a silent audio file or a loud audio file.
Refer to the following fields in the scanner settings for implementation:
decode_audio_feedback_uri
– This parameter allows you to specify the URI for the audio feedback file, which can be silent or contain specific audio cues.volume_slider_type
– Use this parameter to chose the type of the notification.For more detailed instructions, please refer to the official documentation available at the link below: https://techdocs.zebra.com/datawedge/latest/guide/api/setconfig/
Let me know whether you can achieve your need by setting these parameters.