Inherits from OlapicMediaList : NSObject
Declared in OlapicCustomerMediaList.h

Overview

List all the media objects from a specific customer

Properties

listCustomer

A reference to the customer from where the list will get the media. Its a weak reference because, there’s only one customer object on the SDK, and its the one you get with [[OlapicSDK sharedOlapicSDK] customer]

@property (nonatomic, weak) OlapicCustomerEntity *listCustomer

Declared In

OlapicCustomerMediaList.h

Instance Methods

initForCustomer:delegate:

Initialize using a customer entity as reference

- (id)initForCustomer:(OlapicCustomerEntity *)customer delegate:(id<OlapicMediaListDelegate> __weak)delegateObject

Parameters

customer

The customer entity to use as reference

delegateObject

The reference to the delegate object

Return Value

The OlapicCustomerMediaList instance

Availability

v1.0

Declared In

OlapicCustomerMediaList.h

initForCustomer:delegate:sort:

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

- (id)initForCustomer:(OlapicCustomerEntity *)customer delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort

Parameters

customer

The customer entity to use as reference

delegateObject

The reference to the delegate object

sort

The sorting type

Return Value

The OlapicCustomerMediaList instance

Availability

v1.0

Declared In

OlapicCustomerMediaList.h

initForCustomer:delegate:sort:mediaPerPage:

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

- (id)initForCustomer:(OlapicCustomerEntity *)customer delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort mediaPerPage:(NSInteger)perPage

Parameters

customer

The customer 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 OlapicCustomerMediaList instance

Availability

v1.0

Declared In

OlapicCustomerMediaList.h

initForCustomer:delegate:sort:mediaPerPage:offset:

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

- (id)initForCustomer:(OlapicCustomerEntity *)customer delegate:(id<OlapicMediaListDelegate> __weak)delegateObject sort:(OlapicMediaListSortingType)sort mediaPerPage:(NSInteger)perPage offset:(NSInteger)offset

Parameters

customer

The customer 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 OlapicCustomerMediaList instance

Availability

v1.0

Declared In

OlapicCustomerMediaList.h