Class MediaLibrary
public class MediaLibrary : IDisposable
- Inheritance
-
MediaLibrary
- Implements
- Inherited Members
Constructors
MediaLibrary()
public MediaLibrary()
MediaLibrary(MediaSource)
public MediaLibrary(MediaSource mediaSource)
Parameters
mediaSource
MediaSource
Properties
Albums
public AlbumCollection Albums { get; }
Property Value
IsDisposed
public bool IsDisposed { get; }
Property Value
MediaSource
public MediaSource MediaSource { get; }
Property Value
Songs
public SongCollection Songs { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Load(Action<int>)
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.
public void Load(Action<int> progressCallback = null)