OlapicCurationMediaEntity Class Reference
| Inherits from | OlapicMediaEntity : OlapicEntity : NSObject |
| Declared in | OlapicCurationMediaEntity.h |
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 ))failureParameters
- 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.hlinkStreams:onSuccess:onFailure:
Link the media object to a list of streams
- (void)linkStreams:(NSArray *)streams onSuccess:(void ( ^ ) ( NSArray *result ))success onFailure:(void ( ^ ) ( NSError *error ))failureParameters
- 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.hsetStatus:onSuccess:onFailure:
Add or change the status of the media object
- (void)setStatus:(OlapicMediaStatus *)status onSuccess:(void ( ^ ) ( NSDictionary *result ))success onFailure:(void ( ^ ) ( NSError *error ))failureParameters
- 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.hunlinkStream:onSuccess:onFailure:
Remove a linked stream from the media object
- (void)unlinkStream:(OlapicStreamEntity *)stream onSuccess:(void ( ^ ) ( NSArray *result ))success onFailure:(void ( ^ ) ( NSError *error ))failureParameters
- 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.hunlinkStreams: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 ))failureParameters
- 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