Detect headset button click on iPhone SDK

0 votes

Is it possible to hear the play/pause button on the headset click?

I was able to hear the clicking of the volume controls using:

AudioSessionAddPropertyListener( kAudioSessionProperty_CurrentHardwareOutputVolume , audioVolumeChangeListenerCallback, self );

But I can't find an AudioSessionProperty for the centre button. What's the way to do that?

Sep 28 in IOS by Soham
• 9,670 points
45 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In IOS

0 votes
1 answer

HTTP live streaming server on iPhone

If you don't encode the raw h264 ...READ MORE

answered Sep 20 in IOS by Aditya
• 7,660 points
116 views
0 votes
1 answer

Is it possible to run .APK/Android apps on iPad/iPhone devices?

It is not possible to run Android ...READ MORE

answered Sep 20 in IOS by Aditya
• 7,660 points
271 views
0 votes
1 answer

what font face of clock on lock screen of iPhone (iOS 9)?

San Francisco is the default font in ...READ MORE

answered Sep 20 in IOS by Aditya
• 7,660 points
89 views
0 votes
1 answer

How is a rounded rect view with transparency done on iphone?

view.layer.cornerRadius = radius; The difficult technique is to ...READ MORE

answered Sep 22 in IOS by Rahul
• 9,680 points
43 views
0 votes
1 answer

Is there a way to to check if a picture was taken on that iPhone?

Actually, the model and manufacturer information is ...READ MORE

answered Sep 22 in IOS by Rahul
• 9,680 points
40 views
0 votes
0 answers

How to connect iphone to a local server running on mac?

I am running a django server at ...READ MORE

Sep 22 in IOS by Soham
• 9,670 points
54 views
+3 votes
3 answers
0 votes
1 answer

Failure uploading Image on AmazonS3 with PHP SDK

Try this, I took it out from ...READ MORE

answered May 4, 2018 in AWS by Cloud gunner
• 4,660 points
2,524 views
0 votes
1 answer
0 votes
1 answer

AWS HTTP error: Client error: 403 RequestTimeTooSkewed. How to solve this error

This error has occurred because your servers ...READ MORE

answered Jul 24, 2018 in Cloud Computing by sunshine
• 1,280 points
1,628 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP