Search Results for

    Show / Hide Table of Contents

    Interface ITrackBase

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

    Inherited Members
    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
    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
    IImageCollectionBase.IsAddImageAvailableAsync(int, CancellationToken)
    IImageCollectionBase.IsRemoveImageAvailableAsync(int, CancellationToken)
    IImageCollectionBase.RemoveImageAsync(int, CancellationToken)
    IImageCollectionBase.TotalImageCount
    IImageCollectionBase.ImagesCountChanged
    IUrlCollectionBase.TotalUrlCount
    IUrlCollectionBase.RemoveUrlAsync(int, CancellationToken)
    IUrlCollectionBase.IsAddUrlAvailableAsync(int, CancellationToken)
    IUrlCollectionBase.IsRemoveUrlAvailableAsync(int, CancellationToken)
    IUrlCollectionBase.UrlsCountChanged
    IGenreCollectionBase.TotalGenreCount
    IGenreCollectionBase.RemoveGenreAsync(int, CancellationToken)
    IGenreCollectionBase.IsAddGenreAvailableAsync(int, CancellationToken)
    IGenreCollectionBase.IsRemoveGenreAvailableAsync(int, CancellationToken)
    IGenreCollectionBase.GenresCountChanged
    Namespace: StrixMusic.Sdk.BaseModels
    Assembly: StrixMusic.Sdk.dll
    Syntax
    public interface ITrackBase : IArtistCollectionBase, IPlayableCollectionBase, IArtistCollectionItemBase, IPlayableCollectionItem, IPlayableBase, IImageCollectionBase, IUrlCollectionBase, ICollectionItemBase, IGenreCollectionBase, ICollectionBase

    Properties

    | Improve this Doc View Source

    DiscNumber

    The disc number (usually 1 unless the album consists of more than one disc).

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

    IsChangeAlbumAsyncAvailable

    If true, changing albums is supported.

    Declaration
    bool IsChangeAlbumAsyncAvailable { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsChangeIsExplicitAsyncAvailable

    If true, ChangeIsExplicitAsync(bool, CancellationToken) is supported.

    Declaration
    bool IsChangeIsExplicitAsyncAvailable { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsChangeLanguageAsyncAvailable

    If true, ChangeLanguageAsync(CultureInfo, CancellationToken) is supported.

    Declaration
    bool IsChangeLanguageAsyncAvailable { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsChangeLyricsAsyncAvailable

    If true, changing lyrics is supported.

    Declaration
    bool IsChangeLyricsAsyncAvailable { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsChangeTrackNumberAsyncAvailable

    If true, ChangeTrackNumberAsync(int?, CancellationToken) is supported.

    Declaration
    bool IsChangeTrackNumberAsyncAvailable { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsExplicit

    If this track contains explicit language.

    Declaration
    bool IsExplicit { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    Language

    The language for this track.

    Declaration
    CultureInfo? Language { get; }
    Property Value
    Type Description
    CultureInfo
    Remarks

    If track has no spoken words (instrumental), value is InvariantCulture. If unknown, value is null.

    | Improve this Doc View Source

    TrackNumber

    Position in the album.

    Declaration
    int? TrackNumber { get; }
    Property Value
    Type Description
    int?
    Remarks

    If an album has several discs, the track number is the number on the specified disc.

    | Improve this Doc View Source

    Type

    Used to identify what kind of content an audio stream contains.

    Declaration
    TrackType Type { get; }
    Property Value
    Type Description
    TrackType

    Methods

    | Improve this Doc View Source

    ChangeIsExplicitAsync(bool, CancellationToken)

    Changes the IsExplicit for this track.

    Declaration
    Task ChangeIsExplicitAsync(bool isExplicit, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    bool isExplicit

    The new value.

    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

    ChangeLanguageAsync(CultureInfo, CancellationToken)

    Changes the Language for this track.

    Declaration
    Task ChangeLanguageAsync(CultureInfo language, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CultureInfo language

    The new language for this track.

    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

    ChangeTrackNumberAsync(int?, CancellationToken)

    Changes the TrackNumber on this track.

    Declaration
    Task ChangeTrackNumberAsync(int? trackNumber, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? trackNumber

    The new track number.

    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

    IsExplicitChanged

    Fires when the IsExplicit metadata changes.

    Declaration
    event EventHandler<bool>? IsExplicitChanged
    Event Type
    Type Description
    EventHandler<bool>
    | Improve this Doc View Source

    LanguageChanged

    Fires when the Language metadata changes.

    Declaration
    event EventHandler<CultureInfo?>? LanguageChanged
    Event Type
    Type Description
    EventHandler<CultureInfo>
    | Improve this Doc View Source

    TrackNumberChanged

    Fires when the TrackNumber metadata changes.

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