Adaptr iOS SDK Reference

(if you haven’t already, take a look at our welcome document that gives you an overview of the Adaptr service and concepts)

The Adaptr SDK centers around a singleton instance of the AdaptrAudioPlayer class, which has simple methods for selecting music stations and starting and stopping playback. The class emits events via the NSNotificationCenter for easy monitoring. By default the AdaptrAudioPlayer briefly displays metadata about new songs as they start playback in the notification area of the iPhone. This can be disabled by setting AdaptrAudioPlayer.disableSongStartNotifications to false.

The *Button, *View, and *Label classes are example UI elements that listen to AdaptrAudioPlayer events and update their state automatically. Full source code for these classes are available on github.

If you have questions or discover a bug, please contact support@adaptr.com