Difference between revisions of "Album Applet"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 7: Line 7:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Name || Arg value || PlayStartupSound
+
! Name || Arg value || PlayStartupSound || Description
 
|-
 
|-
| <code>ShowAlbumFiles</code> || 0 || false
+
| <code>ShowAlbumFiles</code> || 0 || false || Only displays AlbumFiles associated with the title which launched the Album applet, with the filter button disabled.
 
|-
 
|-
| <code>ShowAllAlbumFiles</code> || 1 || false
+
| <code>ShowAllAlbumFiles</code> || 1 || false || Displays all AlbumFiles, with filtering allowed.
 
|-
 
|-
| <code>ShowAllAlbumFilesForHomeMenu</code> || 2 || true
+
| <code>ShowAllAlbumFilesForHomeMenu</code> || 2 || true || Similar to ShowAllAlbumFiles.
 
|}
 
|}
  
 
[[Category:Library Applets]]
 
[[Category:Library Applets]]

Revision as of 01:30, 9 September 2019

This is the Album (PhotoViewer) applet launched by Home Menu. See AM_services#Library_Applets.

Usage

User-processes should push a common arguments struct (version=0x10000) as well as u8 arg. See below for the commonargs PlayStartupSound flag value. After starting the applet, official sw immediately closes it (no output storage is handled).

Name Arg value PlayStartupSound Description
ShowAlbumFiles 0 false Only displays AlbumFiles associated with the title which launched the Album applet, with the filter button disabled.
ShowAllAlbumFiles 1 false Displays all AlbumFiles, with filtering allowed.
ShowAllAlbumFilesForHomeMenu 2 true Similar to ShowAllAlbumFiles.