The notification on any addition or modification in the Audio Devices such as earphones or headphones connected to the Mobile device is provided through the following Callbacks:

Delegate Method:

- (void)didNotifyDeviceUpdate:(NSString*)updates; – Acknowledgment to the user when a switch to alternate media devices is made at run-time.

- (void)didNotifyDeviceUpdate:(NSString*)updates  {
  // Device attached or detached
}