JubeatPlus 3.9.11
Loading...
Searching...
No Matches
<MusicPlaylistViewControllerDelegate> Protocol Reference

Receives selection and close events from a MusicPlaylistViewController . More...

#include <MusicPlaylistViewController.h>

Inheritance diagram for <MusicPlaylistViewControllerDelegate>:
Collaboration diagram for <MusicPlaylistViewControllerDelegate>:

Instance Methods

(NSInteger) - musicPlaylistViewControllerCurrentSelection:
 Asks the delegate which selection is currently active.
(void) - musicPlaylistViewController:playlistSelected:selectedMusicID:
 Tells the delegate the user picked a filter, level, or playlist.
(void) - musicPlaylistViewControllerWillClosed:
 Tells the delegate the user tapped the Close button (phone idiom only).

Detailed Description

Receives selection and close events from a MusicPlaylistViewController .

Method Documentation

◆ musicPlaylistViewController:playlistSelected:selectedMusicID:

- (void) musicPlaylistViewController: (MusicPlaylistViewController *) controller
playlistSelected: (NSInteger) selection
selectedMusicID: (NSUInteger) musicID 
optionalrequired

Tells the delegate the user picked a filter, level, or playlist.

Parameters
controllerThe controller.
selectionA playlist row index, or a negative sentinel for a built-in filter or the level filter.
musicIDThe music identifier the selection applies to.

◆ musicPlaylistViewControllerCurrentSelection:

- (NSInteger) musicPlaylistViewControllerCurrentSelection: (MusicPlaylistViewController *) controller
optional

Asks the delegate which selection is currently active.

The value is either a playlist row index or one of the negative sentinels the controller compares against (for example the "All Songs" and level sentinels), so the currently-selected row can be checkmarked and protected from deletion. Sent only when the delegate implements it.

Parameters
controllerThe controller asking.
Returns
The active selection identifier.

◆ musicPlaylistViewControllerWillClosed:

- (void) musicPlaylistViewControllerWillClosed: (MusicPlaylistViewController *) controller
optionalrequired

Tells the delegate the user tapped the Close button (phone idiom only).

Parameters
controllerThe controller closing.

The documentation for this protocol was generated from the following file: