Inherits from NSObject
Conforms to NSURLSessionDelegate
Declared in FSParsePlaylistRequest.h

Overview

FSParsePlaylistRequest is a class for parsing a playlist. It supports the M3U and PLS formats.

To use the class, define the URL for retrieving the playlist using the url property. Then, define the onCompletion and onFailure handlers. To start the request, use the start method.

Properties

onCompletion

Called when the playlist parsing is completed.

@property (copy) void ( ^ ) ( ) onCompletion

Discussion

Called when the playlist parsing is completed.

Declared In

FSParsePlaylistRequest.h

onFailure

Called if the playlist parsing failed.

@property (copy) void ( ^ ) ( ) onFailure

Discussion

Called if the playlist parsing failed.

Declared In

FSParsePlaylistRequest.h

playlistItems

The playlist items stored in the FSPlaylistItem class.

@property (readonly) NSMutableArray *playlistItems

Discussion

The playlist items stored in the FSPlaylistItem class.

Declared In

FSParsePlaylistRequest.h

url

The URL of this request.

@property (nonatomic, copy) NSURL *url

Discussion

The URL of this request.

Declared In

FSParsePlaylistRequest.h

Instance Methods

cancel

Cancels the request.

- (void)cancel

Discussion

Cancels the request.

Declared In

FSParsePlaylistRequest.h

start

Starts the request.

- (void)start

Discussion

Starts the request.

Declared In

FSParsePlaylistRequest.h