< PLJukeboxDataSource > Protocol Reference

#import <Jukebox.h>

List of all members.

Public Member Functions

(void) - jukeboxView:requestImagesForIndexRange:quality:
(UIImage *) - placeholder


Detailed Description

Cover Flow data source protocol

Member Function Documentation

- (void) jukeboxView: (PLJukeboxView *)  jukeboxView
requestImagesForIndexRange: (NSRange)  range
quality: (PLJukeboxImageQuality)  quality 

Called when the Jukebox view requires cover images for the given index range. The data source implementation should not perform any blocking calls in this method -- including loading images from disk -- as this will delay animation response. The data source must provide the images via setImage:atIndex: (PLJukeboxView).

If an image request can not be fufilled (no image is available, or an error occurs) setImage:atIndex: (PLJukeboxView) must be called with a nil image parameter.

Parameters:
jukeboxView The requesting PLJukeboxView.
range The range of indices being requested.
quality The image quality requested. Images presented at an angle will be requested with lower quality, while images presented in the center layer will be requested with higher quality.
Note:
In the current implementation, only PLJukeboxImageQualityHigh will be specified.

- (UIImage *) placeholder  

Return the placeholder cover image. Used if a cover is unavailable or has not yet been loaded.


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

Generated on Wed Aug 18 09:29:23 2010 for PlausibleJukeboxView by  doxygen 1.5.5