Interface IAimpPlaylistQueue
This interface provides an access to playback queue.
Namespace: AIMP.SDK.Playlist
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpPlaylistQueue : IAimpPlaylistQueueListener
Properties
IsSuspended
Gets or sets a value indicating whether the queue is suspended.
Declaration
bool IsSuspended { get; set; }
Methods
Add(IAimpPlaylistItem, Boolean)
Adds the specified item.
Declaration
AimpActionResult Add(IAimpPlaylistItem item, bool insertAtBeginning)
Parameters
Type | Name | Description |
---|---|---|
IAimpPlaylistItem | item | The item. |
System.Boolean | insertAtBeginning | if set to |
AddList(IList<IAimpPlaylistItem>, Boolean)
Adds the list of items.
Declaration
AimpActionResult AddList(IList<IAimpPlaylistItem> items, bool insertAtBeginning)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<IAimpPlaylistItem> | items | The list of the IAimpPlaylistItem items. |
System.Boolean | insertAtBeginning | if set to |
Delete(IAimpPlaylist)
Deletes the specified play list.
Declaration
AimpActionResult Delete(IAimpPlaylist playList)
Parameters
Type | Name | Description |
---|---|---|
IAimpPlaylist | playList | The play list. |
Delete(IAimpPlaylistItem)
Deletes the specified item.
Declaration
AimpActionResult Delete(IAimpPlaylistItem item)
Parameters
Type | Name | Description |
---|---|---|
IAimpPlaylistItem | item | The item. |
GetItem(Int32)
Gets the item from specified index.
Declaration
AimpActionResult<IAimpPlaylistItem> GetItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
GetItemCount()
Gets the item count.
Declaration
int GetItemCount()
Move(IAimpPlaylistItem, Int32)
Moves the specified item.
Declaration
AimpActionResult Move(IAimpPlaylistItem item, int index)
Parameters
Type | Name | Description |
---|---|---|
IAimpPlaylistItem | item | The item. |
System.Int32 | index | The index. |
Move(Int32, Int32)
Moves item from index to target index.
Declaration
AimpActionResult Move(int index, int targetIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
System.Int32 | targetIndex | Index of the target. |