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 SourceSetTrackRatingAsync(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 SourceTrackRatingChanged
Occurs when the the track's rating has changed.
Declaration
event EventHandler<TrackRating> TrackRatingChanged
Event Type
| Type | Description |
|---|---|
| EventHandler<TrackRating> |