문제

How can I save a song to Music+Video Hub?

I know how to get songs:

MediaLibrary library = new MediaLibrary();
var songs = library.Songs;

and also how to add a music to new list:

MediaHistory.Instance.WriteAcquiredItem(mediaHistoryItem);

But How can I add the actual file to Music + video Hub so the user can play it like other songs.

도움이 되었습니까?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top