Module: MusicLibraryView

Methods


<static> ItemDataLoaded(msg)

Handle loaded data, and add to Grid

Parameters:
Name Type Description
msg dynamic
Source:
Returns:
Type
void

<static> LogoImageLoaded(msg)

Logo Image Loaded Event Handler

Parameters:
Name Type Description
msg dynamic
Source:
Returns:
Type
void

<static> OnScreenHidden()

Source:
Returns:
Type
void

<static> OnScreenShown()

Source:
Returns:
Type
void

<static> SetAlbumCount(totalCount)

Set Selected Artist Album Count

Parameters:
Name Type Description
totalCount dynamic
Source:
Returns:
Type
void

<static> SetBackground(backgroundUri)

Set Background Image

Parameters:
Name Type Description
backgroundUri string
Source:
Returns:
Type
void

<static> SetGenres(artistGenres)

Set Selected Artist Genres

Parameters:
Name Type Description
artistGenres dynamic
Source:
Returns:
Type
void

<static> SetName(artistName)

Set Selected Artist Name

Parameters:
Name Type Description
artistName string
Source:
Returns:
Type
void

<static> SetSongCount(totalCount)

Set Selected Artist Song Count

Parameters:
Name Type Description
totalCount dynamic
Source:
Returns:
Type
void

<static> SetUpOptions()

Data to display when options button selected

Source:
Returns:
Type
void

<static> getCollectionType()

Return parent collection type

Source:
Returns:
Type
string

<static> getItemFocused()

Returns Focused Item

Source:
Returns:
Type
dynamic

<static> inStringArray(array, searchValue)

Search string array for search value. Return if it's found

Parameters:
Name Type Description
array dynamic
searchValue dynamic
Source:
Returns:
Type
boolean

<static> init()

Source:
Returns:
Type
void

<static> loadInitialItems()

Load initial set of Data

Source:
Returns:
Type
void

<static> loadMoreData()

Load next set of items

Source:
Returns:
Type
void

<static> newBGLoaded()

When Image Loading Status changes

Source:
Returns:
Type
void

<static> onChannelSelected(msg)

Parameters:
Name Type Description
msg dynamic
Source:
Returns:
Type
void

<static> onGenreItemFocused()

Genre Item Focused

Source:
Returns:
Type
void

<static> onGenreItemSelected()

Genre Item Selected

Source:
Returns:
Type
void

<static> onItemFocused()

Handle new item being focused

Source:
Returns:
Type
void

<static> onItemSelected()

Item Selected

Source:
Returns:
Type
void

<static> onItemalphaSelected()

Source:
Returns:
Type
void

<static> onKeyEvent(key, press)

Parameters:
Name Type Description
key string
press boolean
Source:
Returns:
Type
boolean

<static> onvoiceFilter()

Source:
Returns:
Type
void

<static> optionsClosed()

Check if options updated and any reloading required

Source:
Returns:
Type
void

<static> setFieldText(field, value)

Parameters:
Name Type Description
field dynamic
value dynamic
Source:
Returns:
Type
void

<static> setMusicOptions(options)

Set Music view, sort, and filter options

Parameters:
Name Type Description
options dynamic
Source:
Returns:
Type
void

<static> setupNodes()

Source:
Returns:
Type
void

<static> swapDone()

Swap Complete

Source:
Returns:
Type
void