Integrate SDK
It is recommended that you refer to the sample to use the remote dependency integration SDK for subsequent updates.
SDK
LPMusicKit SDK
Linkplay Music Kit is the app side SDK for Linkplay Home Audio solution;you can use it to implement our solution into your product.
MusicKit mainly solves 2 issues:
Maintain the commnunication protocol with our firmware so that your app could interact with the device without concerning the comlexity of the lower layers.
Wrapper the complexity of cloud services (includes music services and voice services etc.) so that you can intergtate them rapidly and don't bother the details.
The following are the main functions of LPMusicKit SDK:
- Device discovery
LPDeviceManager.getInstance().search(null);
Device online and offline delegate
LPDeviceManager.getInstance().addObserver(LPDeviceManagerObserver observer) // delegate LPDeviceOnline LPDeviceRemove LPDeviceUpdate
Device playback control: Through LPDevicePlayer to realize the playback processing of the device
- Device information display: Display device information through LPDeviceInfo and LPDeviceStatus
- Device media information display: display device media information through LPMediaInfo
The device's preset, alarm clock, timed sleep function
OTA function of the device