How to listen to that property?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-05-02T13:32:48Z Indexed on 2010/05/02 13:37 UTC
Read the original article Hit count: 204

Filed under:
|
|
@constant       kAudioSessionProperty_AudioInputAvailable 
                    A UInt32 with a value other than zero when audio input is available.
                    Use this property, rather than the device model, to determine if audio input is available.
                    A listener will notify you when audio input becomes available.  For instance, when a headset is attached
                    to the second generation iPod Touch, audio input becomes available via the wired microphone. 

So, if I wanted to get notified about kAudioSessionProperty_AudioInputAvailable, how would I do that?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about audiosession