Inherits from OlapicMediaList : NSObject
Declared in OlapicStreamMediaList.h

Overview

List all the media objects from a specific stream

Properties

listStream

The object from the stream from where the list will get the media

@property (nonatomic, strong) OlapicStreamEntity *listStream

Declared In

OlapicStreamMediaList.h

listStreamId

The ID of the stream from where the list will get the media

@property (nonatomic, strong) NSString *listStreamId

Declared In

OlapicStreamMediaList.h

Instance Methods

initForStream:delegate:

Initialize using a stream entity as reference

- (id)initForStream:(OlapicStreamEntity *)stream delegate:(id<OlapicMediaListDelegate> __weak)delegateObject

Parameters

stream

The stream entity to use as reference

delegateObject

The reference to the delegate object

Return Value

The OlapicStreamMediaList instance

Availability

v1.0

Declared In

OlapicStreamMediaList.h

initForStream:delegate:sort:

Initialize using a stream entity as reference and set the sorting type

- (id)initForStream:(OlapicStreamEntity *)stream delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort

Parameters

stream

The stream entity to use as reference

delegateObject

The reference to the delegate object

sort

The sorting type

Return Value

The OlapicStreamMediaList instance

Availability

v1.0

Declared In

OlapicStreamMediaList.h

initForStream:delegate:sort:mediaPerPage:

Initialize using a stream entity as reference, changing the sorting type and the amount of media per page that are going to be downloaded

- (id)initForStream:(OlapicStreamEntity *)stream delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort mediaPerPage:(NSInteger)perPage

Parameters

stream

The stream entity to use as reference

delegateObject

The reference to the delegate object

sort

The sorting type

perPage

The number of media per page

Return Value

The OlapicStreamMediaList instance

Availability

v1.0

Declared In

OlapicStreamMediaList.h

initForStream:delegate:sort:mediaPerPage:offset:

Initialize using a stream entity as reference, changing the sorting type, the amount of media per page and the offset

- (id)initForStream:(OlapicStreamEntity *)stream delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort mediaPerPage:(NSInteger)perPage offset:(NSInteger)offset

Parameters

stream

The stream entity to use as reference

delegateObject

The reference to the delegate object

sort

The sorting type

perPage

The number of media per page

offset

The offset to change the page

Return Value

The OlapicStreamMediaList instance

Availability

v1.0

Declared In

OlapicStreamMediaList.h

initWithStreamId:delegate:andURL:

Initialize using a stream ID and its URL

- (id)initWithStreamId:(NSString *)streamId delegate:(id<OlapicMediaListDelegate> __weak)delegateObject andURL:(NSString *)URL

Parameters

streamId

The stream ID

delegateObject

The reference to the delegate object

URL

The API URL

Return Value

The OlapicStreamMediaList instance

Availability

v1.0

Declared In

OlapicStreamMediaList.h

initWithStreamId:delegate:andURL:mediaPerPage:

Initialize using a stream ID and its URL, but also changing the amount of media per page that are going to be downloaded

- (id)initWithStreamId:(NSString *)streamId delegate:(id<OlapicMediaListDelegate> __weak)delegateObject andURL:(NSString *)URL mediaPerPage:(NSInteger)perPage

Parameters

streamId

The stream ID

delegateObject

The reference to the delegate object

URL

The API URL

perPage

The number of media per page

Return Value

The OlapicStreamMediaList instance

Availability

v1.0

Declared In

OlapicStreamMediaList.h

initWithStreamId:delegate:andURL:mediaPerPage:offset:

Initialize using stream ID and its URL, but also changing the amount of media per page and the offset

- (id)initWithStreamId:(NSString *)streamId delegate:(id<OlapicMediaListDelegate> __weak)delegateObject andURL:(NSString *)URL mediaPerPage:(NSInteger)perPage offset:(NSInteger)offset

Parameters

streamId

The stream ID

delegateObject

The reference to the delegate object

URL

The API URL

perPage

The number of media per page

offset

The offset to change the page

Return Value

The OlapicStreamMediaList instance

Availability

v1.0

Declared In

OlapicStreamMediaList.h