Inherits from OlapicMediaEntity : OlapicEntity : NSObject
Declared in OlapicCurationMediaEntity.h

Overview

Represents Olapic Curation Media Entity in the SDK

Instance Methods

linkStream:onSuccess:onFailure:

Link the media object a specific stream

- (void)linkStream:(OlapicStreamEntity *)stream onSuccess:(void ( ^ ) ( NSArray *result ))success onFailure:(void ( ^ ) ( NSError *error ))failure

Parameters

stream

The stream to link

success

A callback block for when the connection is successfully done. The result is a list with the requested links, its information and if the operations were completed

failure

A callback block in case the operation fails

Availability

v1.0

Declared In

OlapicCurationMediaEntity.h

linkStreams:onSuccess:onFailure:

Link the media object to a list of streams

- (void)linkStreams:(NSArray *)streams onSuccess:(void ( ^ ) ( NSArray *result ))success onFailure:(void ( ^ ) ( NSError *error ))failure

Parameters

streams

A list of streams to link

success

A callback block for when the connection is successfully done. The result is a list with the requested links, its information and if the operations were completed

failure

A callback block in case the operation fails

Availability

v1.0

Declared In

OlapicCurationMediaEntity.h

setStatus:onSuccess:onFailure:

Add or change the status of the media object

- (void)setStatus:(OlapicMediaStatus *)status onSuccess:(void ( ^ ) ( NSDictionary *result ))success onFailure:(void ( ^ ) ( NSError *error ))failure

Parameters

status

The new status

success

A callback block for when the status is successfully changed

failure

A callback block in case the operation fails

Availability

v1.0

Declared In

OlapicCurationMediaEntity.h

unlinkStream:onSuccess:onFailure:

Remove a linked stream from the media object

- (void)unlinkStream:(OlapicStreamEntity *)stream onSuccess:(void ( ^ ) ( NSArray *result ))success onFailure:(void ( ^ ) ( NSError *error ))failure

Parameters

stream

The stream to remove

success

A callback block for when the connection is successfully done. The result is a list with the requested unlinks, its information and if the operations were completed

failure

A callback block in case the operation fails

Availability

v1.0

Declared In

OlapicCurationMediaEntity.h

unlinkStreams:onSuccess:onFailure:

Remove a list of linked streams from the media object

- (void)unlinkStreams:(NSArray *)streams onSuccess:(void ( ^ ) ( NSArray *result ))success onFailure:(void ( ^ ) ( NSError *error ))failure

Parameters

streams

A list of streams to remove

success

A callback block for when the connection is successfully done. The result is a list with the requested unlinks, its information and if the operations were completed

failure

A callback block in case the operation fails

Availability

v1.0

Declared In

OlapicCurationMediaEntity.h