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

What a hosting controller learns from a music tile's gestures and buttons. More...

#include <MusicView.h>

Inheritance diagram for <MusicViewDelegate>:
Collaboration diagram for <MusicViewDelegate>:

Instance Methods

(void) - musicViewTapped:
 The tile was tapped.
(void) - musicViewPressed:
 The tile received a long press.
(BOOL) - musicViewGetPlaylistActionType:
 Whether the tile's tune is already in the playlist, choosing the remove artwork over add.
(void) - musicViewPlaylistAction:
 The playlist add/remove button was tapped.
(void) - musicViewSelectBgmAction:
 The BGM-select button was tapped.

Detailed Description

What a hosting controller learns from a music tile's gestures and buttons.

Method Documentation

◆ musicViewGetPlaylistActionType:

- (BOOL) musicViewGetPlaylistActionType: (nonnull MusicView *) view
optionalrequired

Whether the tile's tune is already in the playlist, choosing the remove artwork over add.

Parameters
viewThe tile asking.
Returns
YES to show the remove button, NO to show the add button.

◆ musicViewPlaylistAction:

- (void) musicViewPlaylistAction: (nonnull MusicView *) view
optionalrequired

The playlist add/remove button was tapped.

Parameters
viewThe tile whose button fired.

◆ musicViewPressed:

- (void) musicViewPressed: (nonnull MusicView *) view
optionalrequired

The tile received a long press.

Parameters
viewThe pressed tile.

◆ musicViewSelectBgmAction:

- (void) musicViewSelectBgmAction: (nonnull MusicView *) view
optionalrequired

The BGM-select button was tapped.

Parameters
viewThe tile whose button fired.

◆ musicViewTapped:

- (void) musicViewTapped: (nonnull MusicView *) view
optional

The tile was tapped.

Parameters
viewThe tapped tile.

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