Search Results for

    Show / Hide Table of Contents

    Interface ITrack

    Represents an audio stream with metadata that belongs to an ITrackCollection.

    Inherited Members
    ITrackBase.Type
    ITrackBase.TrackNumber
    ITrackBase.DiscNumber
    ITrackBase.Language
    ITrackBase.IsExplicit
    ITrackBase.IsChangeAlbumAsyncAvailable
    ITrackBase.IsChangeTrackNumberAsyncAvailable
    ITrackBase.IsChangeLanguageAsyncAvailable
    ITrackBase.IsChangeLyricsAsyncAvailable
    ITrackBase.IsChangeIsExplicitAsyncAvailable
    ITrackBase.ChangeTrackNumberAsync(int?, CancellationToken)
    ITrackBase.ChangeLanguageAsync(CultureInfo, CancellationToken)
    ITrackBase.ChangeIsExplicitAsync(bool, CancellationToken)
    ITrackBase.TrackNumberChanged
    ITrackBase.LanguageChanged
    ITrackBase.IsExplicitChanged
    IArtistCollection.PlayArtistCollectionAsync(IArtistCollectionItem, CancellationToken)
    IArtistCollection.GetArtistItemsAsync(int, int, CancellationToken)
    IArtistCollection.AddArtistItemAsync(IArtistCollectionItem, int, CancellationToken)
    IArtistCollection.ArtistItemsChanged
    IArtistCollectionBase.TotalArtistItemsCount
    IArtistCollectionBase.IsPlayArtistCollectionAsyncAvailable
    IArtistCollectionBase.IsPauseArtistCollectionAsyncAvailable
    IArtistCollectionBase.PlayArtistCollectionAsync(CancellationToken)
    IArtistCollectionBase.PauseArtistCollectionAsync(CancellationToken)
    IArtistCollectionBase.RemoveArtistItemAsync(int, CancellationToken)
    IArtistCollectionBase.IsAddArtistItemAvailableAsync(int, CancellationToken)
    IArtistCollectionBase.IsRemoveArtistItemAvailableAsync(int, CancellationToken)
    IArtistCollectionBase.IsPlayArtistCollectionAsyncAvailableChanged
    IArtistCollectionBase.IsPauseArtistCollectionAsyncAvailableChanged
    IArtistCollectionBase.ArtistItemsCountChanged
    IPlayableCollectionItem.AddedAt
    IMerged<ICoreArtistCollectionItem>.Sources
    IEquatable<ICoreArtistCollectionItem>.Equals(ICoreArtistCollectionItem)
    IEquatable<ICoreArtistCollection>.Equals(ICoreArtistCollection)
    IGenreCollection.GetGenresAsync(int, int, CancellationToken)
    IGenreCollection.AddGenreAsync(IGenre, int, CancellationToken)
    IGenreCollection.GenresChanged
    IGenreCollectionBase.TotalGenreCount
    IGenreCollectionBase.RemoveGenreAsync(int, CancellationToken)
    IGenreCollectionBase.IsAddGenreAvailableAsync(int, CancellationToken)
    IGenreCollectionBase.IsRemoveGenreAvailableAsync(int, CancellationToken)
    IGenreCollectionBase.GenresCountChanged
    IEquatable<ICoreGenreCollection>.Equals(ICoreGenreCollection)
    IPlayableBase.Id
    IPlayableBase.Name
    IPlayableBase.Description
    IPlayableBase.LastPlayed
    IPlayableBase.PlaybackState
    IPlayableBase.Duration
    IPlayableBase.IsChangeNameAsyncAvailable
    IPlayableBase.IsChangeDescriptionAsyncAvailable
    IPlayableBase.IsChangeDurationAsyncAvailable
    IPlayableBase.ChangeNameAsync(string, CancellationToken)
    IPlayableBase.ChangeDescriptionAsync(string, CancellationToken)
    IPlayableBase.ChangeDurationAsync(TimeSpan, CancellationToken)
    IPlayableBase.PlaybackStateChanged
    IPlayableBase.NameChanged
    IPlayableBase.DescriptionChanged
    IPlayableBase.DurationChanged
    IPlayableBase.LastPlayedChanged
    IPlayableBase.IsChangeNameAsyncAvailableChanged
    IPlayableBase.IsChangeDescriptionAsyncAvailableChanged
    IPlayableBase.IsChangeDurationAsyncAvailableChanged
    IDownloadable.DownloadInfo
    IDownloadable.StartDownloadOperationAsync(DownloadOperation, CancellationToken)
    IDownloadable.DownloadInfoChanged
    IImageCollection.GetImagesAsync(int, int, CancellationToken)
    IImageCollection.AddImageAsync(IImage, int, CancellationToken)
    IImageCollection.ImagesChanged
    IImageCollectionBase.IsAddImageAvailableAsync(int, CancellationToken)
    IImageCollectionBase.IsRemoveImageAvailableAsync(int, CancellationToken)
    IImageCollectionBase.RemoveImageAsync(int, CancellationToken)
    IImageCollectionBase.TotalImageCount
    IImageCollectionBase.ImagesCountChanged
    IEquatable<ICoreImageCollection>.Equals(ICoreImageCollection)
    IUrlCollection.GetUrlsAsync(int, int, CancellationToken)
    IUrlCollection.AddUrlAsync(IUrl, int, CancellationToken)
    IUrlCollection.UrlsChanged
    IUrlCollectionBase.TotalUrlCount
    IUrlCollectionBase.RemoveUrlAsync(int, CancellationToken)
    IUrlCollectionBase.IsAddUrlAvailableAsync(int, CancellationToken)
    IUrlCollectionBase.IsRemoveUrlAvailableAsync(int, CancellationToken)
    IUrlCollectionBase.UrlsCountChanged
    IEquatable<ICoreUrlCollection>.Equals(ICoreUrlCollection)
    IEquatable<ICoreTrack>.Equals(ICoreTrack)
    IMerged.SourcesChanged
    Namespace: StrixMusic.Sdk.AppModels
    Assembly: StrixMusic.Sdk.dll
    Syntax
    public interface ITrack : ITrackBase, IArtistCollection, IArtistCollectionBase, IPlayableCollectionBase, IArtistCollectionItem, IArtistCollectionItemBase, IPlayableCollectionItem, ICollectionItemBase, IMerged<ICoreArtistCollectionItem>, IEquatable<ICoreArtistCollectionItem>, IMerged<ICoreArtistCollection>, IEquatable<ICoreArtistCollection>, IGenreCollection, IGenreCollectionBase, IMerged<ICoreGenreCollection>, IEquatable<ICoreGenreCollection>, IPlayable, IPlayableBase, IDownloadable, IImageCollection, IImageCollectionBase, IMerged<ICoreImageCollection>, IEquatable<ICoreImageCollection>, IUrlCollection, IUrlCollectionBase, ICollectionBase, IMerged<ICoreUrlCollection>, IEquatable<ICoreUrlCollection>, IAppModel, IMerged<ICoreTrack>, IEquatable<ICoreTrack>, IMerged
    Remarks

    Instances of this class may contain data merged from one or more sources.

    Properties

    | Improve this Doc View Source

    Album

    An IAlbum object that this track belongs to.

    Declaration
    IAlbum? Album { get; }
    Property Value
    Type Description
    IAlbum
    | Improve this Doc View Source

    Lyrics

    The lyrics for this track.

    Declaration
    ILyrics? Lyrics { get; }
    Property Value
    Type Description
    ILyrics
    | Improve this Doc View Source

    RelatedItems

    An IPlayableCollectionGroup of items related to this item.

    Declaration
    IPlayableCollectionGroup? RelatedItems { get; }
    Property Value
    Type Description
    IPlayableCollectionGroup

    Methods

    | Improve this Doc View Source

    ChangeAlbumAsync(IAlbum?, CancellationToken)

    Changes the album for this track.

    Declaration
    Task ChangeAlbumAsync(IAlbum? album, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IAlbum album

    The new album.

    CancellationToken cancellationToken

    A cancellation token that may be used to cancel the ongoing task.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    | Improve this Doc View Source

    ChangeLyricsAsync(ILyrics?, CancellationToken)

    Changes the Lyrics for this track.

    Declaration
    Task ChangeLyricsAsync(ILyrics? lyrics, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ILyrics lyrics

    The new lyrics data.

    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 Source

    AlbumChanged

    Fires when the Album metadata changes.

    Declaration
    event EventHandler<IAlbum?>? AlbumChanged
    Event Type
    Type Description
    EventHandler<IAlbum>
    | Improve this Doc View Source

    LyricsChanged

    Fires when the Lyrics metadata changes.

    Declaration
    event EventHandler<ILyrics?>? LyricsChanged
    Event Type
    Type Description
    EventHandler<ILyrics>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2022 Arlo Godfrey