1

如何更新句柄当前专辑图像?

库:https ://github.com/martijn00/XamarinMediaManager

var webImage = new Image { Source = ImageSource.FromUri(new Uri("https://secure.meetupstatic.com/photos/event/4/7/b/8/600_455178360.jpeg")) };

        CrossMediaManager.Current.Queue.Current.Title = "Changed Title";
        CrossMediaManager.Current.Queue.Current.Artist= "Changed Artist";
        CrossMediaManager.Current.Queue.Current.AlbumImage = webImage;
        CrossMediaManager.Current.Queue.Current.AlbumImageUri = "https://secure.meetupstatic.com/photos/event/4/7/b/8/600_455178360.jpeg";
        CrossMediaManager.Current.Queue.Current.DisplayImage = webImage;
        CrossMediaManager.Current.Queue.Current.DisplayImageUri = "https://secure.meetupstatic.com/photos/event/4/7/b/8/600_455178360.jpeg";
        CrossMediaManager.Current.Queue.Current.Image = webImage;
        CrossMediaManager.Current.Queue.Current.ImageUri = "https://secure.meetupstatic.com/photos/event/4/7/b/8/600_455178360.jpeg";

        CrossMediaManager.Current.Notification.UpdateNotification();

        Console.WriteLine("Changed");

Android中没有图片:http: //prntscr.com/qvlln8

插件媒体管理器:0.9.6

4

0 回答 0