Enum MusicPlayerTransitionType
Transition strategy applied by the music player when moving from the currently playing track to a newly requested track.
Namespace: Serenity.MusicPlayer.Domain.Types
Assembly: Serenity.MusicPlayer.Domain.dll
Syntax
public enum MusicPlayerTransitionType
Remarks
Concrete behavior of each mode is defined by the platform implementation. Implementations must fall back to CUT when they cannot safely perform FADEIN_FADEOUT or CROSS_FADE (for example when no secondary audio channel is available).
Fields
| Name | Description |
|---|---|
| CROSS_FADE | Fades the new track in while the current track fades out simultaneously. |
| CUT | Stops the current track immediately and starts the new track immediately. |
| FADEIN_FADEOUT | Fades out the current track, releases it, then fades the new track in from silence. |