Class StrixDataRootPluginWrapper
Inheritance
StrixDataRootPluginWrapper
Assembly: StrixMusic.Sdk.dll
Syntax
public class StrixDataRootPluginWrapper : IStrixDataRoot, IAppModel, IMerged<ICore>, IEquatable<ICore>, IMerged, IAsyncInit, IAsyncDisposable, IPluginWrapper
Constructors
|
Improve this Doc
View Source
StrixDataRootPluginWrapper(IStrixDataRoot, params SdkModelPlugin[])
Declaration
public StrixDataRootPluginWrapper(IStrixDataRoot strixDataRoot, params SdkModelPlugin[] plugins)
Parameters
Type |
Name |
Description |
IStrixDataRoot |
strixDataRoot |
An existing instance to wrap around and provide plugins on top of.
|
SdkModelPlugin[] |
plugins |
The plugins to import and apply to everything returned from this wrapper.
|
Properties
|
Improve this Doc
View Source
ActivePlugins
All plugins that were imported and activated for this instance.
Declaration
public SdkModelPlugin ActivePlugins { get; }
Property Value
See Also
|
Improve this Doc
View Source
AppliedPlugins
The plugins that were provided to the constructor. Can be applied to any other plugin-enabled wrapper.
Declaration
public SdkModelPlugin[] AppliedPlugins { get; }
Property Value
|
Improve this Doc
View Source
Devices
Declaration
public IReadOnlyList<IDevice> Devices { get; }
Property Value
|
Improve this Doc
View Source
Discoverables
Used to browse and discover new music.
Declaration
public IDiscoverables? Discoverables { get; }
Property Value
|
Improve this Doc
View Source
IsInitialized
Declaration
public bool IsInitialized { get; }
Property Value
|
Improve this Doc
View Source
Library
Declaration
public ILibrary Library { get; }
Property Value
|
Improve this Doc
View Source
MergeConfig
Configuration options for merging collections items together.
Declaration
public MergedCollectionConfig MergeConfig { get; }
Property Value
|
Improve this Doc
View Source
Pins
A list of pinned playable items.
Declaration
public IPlayableCollectionGroup? Pins { get; }
Property Value
|
Improve this Doc
View Source
RecentlyPlayed
Gets the recently played items for this .
Declaration
public IRecentlyPlayed? RecentlyPlayed { get; }
Property Value
|
Improve this Doc
View Source
Search
Contains various search-related data and activities.
Declaration
public ISearch? Search { get; }
Property Value
|
Improve this Doc
View Source
Sources
The sources that make up this merged item.
Declaration
public IReadOnlyList<ICore> Sources { get; }
Property Value
Methods
|
Improve this Doc
View Source
DisposeAsync()
Declaration
public ValueTask DisposeAsync()
Returns
|
Improve this Doc
View Source
Equals(ICore?)
Declaration
public bool Equals(ICore? other)
Parameters
Type |
Name |
Description |
ICore |
other |
|
Returns
|
Improve this Doc
View Source
InitAsync(CancellationToken)
Declaration
public Task InitAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Events
|
Improve this Doc
View Source
DevicesChanged
Raised when the contents of Devices is changed.
Declaration
public event CollectionChangedEventHandler<IDevice>? DevicesChanged
Event Type
Type |
Description |
CollectionChangedEventHandler<IDevice> |
|
|
Improve this Doc
View Source
DiscoverablesChanged
Declaration
public event EventHandler<IDiscoverables>? DiscoverablesChanged
Event Type
|
Improve this Doc
View Source
PinsChanged
Raised when Pins is changed.
Declaration
public event EventHandler<IPlayableCollectionGroup>? PinsChanged
Event Type
|
Improve this Doc
View Source
RecentlyPlayedChanged
Declaration
public event EventHandler<IRecentlyPlayed>? RecentlyPlayedChanged
Event Type
|
Improve this Doc
View Source
SearchChanged
Raised when Search is changed.
Declaration
public event EventHandler<ISearch>? SearchChanged
Event Type
|
Improve this Doc
View Source
SourcesChanged
Raised when any of the sources have changed.
Declaration
public event EventHandler? SourcesChanged
Event Type
Implements
OwlCore.ComponentModel.IAsyncInit