Interface IAlbumBase
A published album containing one or more tracks, discs, artist, etc.
Inherited Members
Namespace: StrixMusic.Sdk.BaseModels
Assembly: StrixMusic.Sdk.dll
Syntax
public interface IAlbumBase : IAlbumCollectionItemBase, IArtistCollectionBase, IArtistCollectionItemBase, ITrackCollectionBase, IPlayableCollectionBase, IPlayableCollectionItem, IPlayableBase, IUrlCollectionBase, ICollectionItemBase, IImageCollectionBase, IGenreCollectionBase, ICollectionBase
Properties
| Improve this Doc View SourceDatePublished
The date the album was released.
Declaration
DateTime? DatePublished { get; }
Property Value
Type | Description |
---|---|
DateTime? |
IsChangeDatePublishedAsyncAvailable
If true, ChangeDatePublishedAsync(DateTime, CancellationToken) is supported.
Declaration
bool IsChangeDatePublishedAsyncAvailable { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Improve this Doc View SourceChangeDatePublishedAsync(DateTime, CancellationToken)
Changes the DatePublished for this album.
Declaration
Task ChangeDatePublishedAsync(DateTime datePublished, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DateTime | datePublished | The new date the album was published. |
CancellationToken | cancellationToken | A cancellation token that may be used to cancel the ongoing task. |
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |
Events
| Improve this Doc View SourceDatePublishedChanged
Raised when DatePublished is changed.
Declaration
event EventHandler<DateTime?>? DatePublishedChanged
Event Type
Type | Description |
---|---|
EventHandler<DateTime?> |
IsChangeDatePublishedAsyncAvailableChanged
Raised when IsChangeDatePublishedAsyncAvailable is changed.
Declaration
event EventHandler<bool>? IsChangeDatePublishedAsyncAvailableChanged
Event Type
Type | Description |
---|---|
EventHandler<bool> |