LPMDPKit (LinkPlay Media Data Process Kit)
It is an intermediate plug-in for data format conversion, because the data format of the device SDK LPMusicKitiOSinterface interaction is LinkPlay's custom XML. The XML level is very complicated. If users try to parse and splice XML, it will be very troublesome and later Upgrading and maintaining XML is not user friendly.
Therefore, a set of standard data format models is defined and this plug-in is developed. After you obtain XML from the device SDK LPMusicKitiOSinterface, call the corresponding interface provided by the middle-tier plug-in to get the standard model data .
At the same time, the audio sources provided by LinkPlay, such as: local music, TuneIn. The data format returned by their API interface is based on the data encapsulation of the standard model, when you need to play music:
- Call the middle layer plug-in to convert to the XML required by the device SDK LPMusicKitiOS,
- Pass this XML to the interface of the device SDK LPMusicKitiOS.
You can complete the playback function.
Therefore, you don't need to care about the custom XML format of LinkPlay. You only need to call the parsing and splicing methods provided by the middle-layer plug-in to convert the XML to the basic model.
You can find documentation on the website.
- Download LPMDPKitiOS and import SDK to your project
- iOS >= 10.0
The SDK is used in conjunction with the audio source or device SDK, there is no need to download and import separately. When installing the audio source or device SDK, you will be asked to import the SDK
LinkPlay, ios_team@linkplay.com