class MediaLibrary : System.Object, System.IDisposable
readonly AlbumCollection Albums
readonly bool IsDisposed
readonly MediaSource MediaSource
readonly SongCollection Songs
public void Load(System.Action<Int32> progressCallback)

Load the contents of MediaLibrary. This blocking call might take up to a few minutes depending on the platform and the size of the user’s music library.

  • progressCallback (System.Action<Int32>) – Callback that reports back the progress of the music library loading in percents (0-100).
public void Dispose()