Show / Hide Table of Contents

    Interface ISupportsRatings

    Indicates that this audio source supports ratings on tracks.

    Namespace: AudioBand.AudioSource
    Assembly: AudioBand.AudioSource.dll
    Syntax
    public interface ISupportsRatings

    Methods

    | Improve this Doc View Source

    SetTrackRatingAsync(TrackRating)

    Called when a new rating is being set.

    Declaration
    Task SetTrackRatingAsync(TrackRating newRating)
    Parameters
    Type Name Description
    TrackRating newRating

    The new rating of the track.

    Returns
    Type Description
    Task

    A Task representing the asynchronous set rating operation.

    Events

    | Improve this Doc View Source

    TrackRatingChanged

    Occurs when the the track's rating has changed.

    Declaration
    event EventHandler<TrackRating> TrackRatingChanged
    Event Type
    Type Description
    EventHandler<TrackRating>
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX