ASAlbum Class Reference
| Inherits from | ASObject : NSObject |
| Declared in | ASAlbum.h |
Tasks
-
tracksCollection of tracks on this ASAlbum. The method loadTracksWithSuccess:failure: is used to create and populate this attribute.
property -
– loadTracksWithSuccess:failure:Issue a request to load the paginated collection of ASTrack instances belonging to this ASAlbum.
Properties
tracks
Collection of tracks on this ASAlbum. The method loadTracksWithSuccess:failure: is used to create and populate this attribute.
@property (nonatomic) ASPaginator *tracksDeclared In
ASAlbum.hInstance Methods
loadTracksWithSuccess:failure:
Issue a request to load the paginated collection of ASTrack instances belonging to this ASAlbum.
- (ASPaginator *)loadTracksWithSuccess:(void ( ^ ) ( ASAlbum *album ))success failure:(void ( ^ ) ( NSError *))failureParameters
- success
Callback to invoke when the request to load tracks has been successful. ‘self’ instance of ASAlbum is passed to the block.
- failure
Callback to invoke when an error has occurred.
Return Value
this.tracks. Note: when first returned this paginator is not very useful. However after the success callback has been invoked you may then access the objects fetched as well as page through to additional results.
Declared In
ASAlbum.h