MJSchemeAutomation

From wiki.jriver.com
Revision as of 23:52, 22 January 2007 by Gateley (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

interface for working with Media Library

Functions

string GetName()

Description: gets the name of the scheme item (i.e. "Classic Rock", "Artist\Album", etc.)
Return Value: a string containing the name of the scheme item

number GetNumberSchemes()

Description: gets the number of children schemes
Return Value: number of children schemes

MJSchemeAutomation * GetScheme(number nScheme)

Description: gets the specified child scheme
Parameters:

  • nScheme: the index of the child scheme to retrieve (0 to GetNumberSchemes() - 1)

Return Value: a MJSchemeAutomation interface for the specified child scheme

MJFilesAutomation * GetFiles()

Description: gets the collection of files in the scheme
Return Value: MJFilesAutomation interface of files

string GetSchemeName(number nScheme)

Description: gets the name of the specified child scheme (faster than GetScheme(...))
Parameters:

  • nScheme: the index of the child scheme to retrieve (0 to GetNumberSchemes() - 1)

Return Value: a string containing the name of the child scheme item