Interface IAimpServiceMenuManager
Menu manager interface. Implements the IAimpService
Inherited Members
Namespace: AIMP.SDK.MenuManager
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpServiceMenuManager : IAimpService
Methods
Add(IAimpMenuItem)
Adds the new menu item.
Declaration
AimpActionResult Add(IAimpMenuItem item)
Parameters
Type | Name | Description |
---|---|---|
IAimpMenuItem | item | Menu item IAimpMenuItem. |
Add(ParentMenuType, IAimpMenuItem)
Adds the new menu item..
Declaration
AimpActionResult Add(ParentMenuType parentMenuType, IAimpMenuItem item)
Parameters
Type | Name | Description |
---|---|---|
ParentMenuType | parentMenuType | Type of the parent menu. |
IAimpMenuItem | item | Menu item IAimpMenuItem. |
Delete(IAimpMenuItem)
Deletes the menu item.
Declaration
AimpActionResult Delete(IAimpMenuItem item)
Parameters
Type | Name | Description |
---|---|---|
IAimpMenuItem | item | The menu item. |
Delete(String)
Deletes the menu item.
Declaration
AimpActionResult Delete(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier. |
GetBuiltIn(ParentMenuType)
Gets the standard menu item.
Declaration
AimpActionResult<IAimpMenuItem> GetBuiltIn(ParentMenuType menuType)
Parameters
Type | Name | Description |
---|---|---|
ParentMenuType | menuType | Type of the menu. |
GetById(String)
Gets the by identifier.
Declaration
AimpActionResult<IAimpMenuItem> GetById(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier. |