OlapicCustomerMediaList Class Reference
| Inherits from | OlapicMediaList : NSObject |
| Declared in | OlapicCustomerMediaList.h |
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 *listCustomerDeclared In
OlapicCustomerMediaList.hInstance Methods
initForCustomer:delegate:
Initialize using a customer entity as reference
- (id)initForCustomer:(OlapicCustomerEntity *)customer delegate:(id<OlapicMediaListDelegate> __weak)delegateObjectParameters
- 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.hinitForCustomer: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)sortParameters
- 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.hinitForCustomer: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)perPageParameters
- 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.hinitForCustomer: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)offsetParameters
- 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