if you change the stations), you have to call this: public void ReloadStations() ![]() If (DeviceInfo.DeviceType = DeviceType.Virtual) We have to define the menu items count and how a menu item is displayed (name, icon, …): internal class PlayableContentDataSource : MPPlayableContentDataSource In my example I added radio stations with name and url. PlayableContentDataSource playableContentDataSource = new PlayableContentDataSource() PlayableContentDelegate playableContentDelegate = new PlayableContentDelegate() The delegates are registered as follow: public class CarIntegrationBridge : ICarIntegrationBridge ![]() ![]() In our iOS project we init the delegates in the AppDelegate.cs with CarIntegrationBridge.Init(). I made a blog post and an example on GitHub.
0 Comments
Leave a Reply. |