Interface IDevice
A device that controls playback of an audio player.
Inherited Members
Namespace: StrixMusic.Sdk.AppModels
Assembly: StrixMusic.Sdk.dll
Syntax
public interface IDevice : IDeviceBase, IAudioPlayerBase, IAppModel
Properties
| Improve this Doc View SourceNowPlaying
The currently playing track.
Declaration
PlaybackItem? NowPlaying { get; }
Property Value
Type | Description |
---|---|
PlaybackItem |
PlaybackQueue
The complete list of tracks that are queued to play.
Declaration
ITrackCollection? PlaybackQueue { get; }
Property Value
Type | Description |
---|---|
ITrackCollection |
Source
The original ICoreDevice implementation, if any.
Declaration
ICoreDevice? Source { get; }
Property Value
Type | Description |
---|---|
ICoreDevice |
SourceCore
The core that created this device, if any.
Declaration
ICore? SourceCore { get; }
Property Value
Type | Description |
---|---|
ICore |
Events
| Improve this Doc View SourceNowPlayingChanged
Fires when NowPlaying changes.
Declaration
event EventHandler<PlaybackItem>? NowPlayingChanged
Event Type
Type | Description |
---|---|
EventHandler<PlaybackItem> |