Hands free button detection

Martin Fernandez 1 Reputation point

Hi everyone. How can you detect when a handsfree button is pressed and trigger an on-screen button event?

A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,010 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 47,896 Reputation points Microsoft Vendor


    Welcome to our Microsoft Q&A platform!

    Do you want to detect the hand free button click when you make a call?

    If so, I am afraid this answer is No, due to the protect the users' privacy, Android and iOS do not provide this api to detect it.

    Best Regards,

    Leon Lu

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments