tags:

views:

74

answers:

2

is it available in iphone sdk ? if yes could you show me some example?

A: 

No, it's not available.

It maybe possible if you're using an external accessory or hardware.

Here's the API: http://developer.apple.com/iphone/library/documentation/ExternalAccessory/Reference/EAAccessory_class/Reference/Reference.html

Jesse Armand
thanks Jesse for your suggestion
RAGOpoR
Having worked with it, I can guarantee you that the External Accessory framework does *not* provide this information.
St3fan
thanks for your suggestion St3fan
RAGOpoR
+2  A: 

Yes, but there's no public API for it (you need IOKit to communicate with the hardwares).

KennyTM
thanks Kenny for your suggestion
RAGOpoR