StreamLink for iOS  8.0.0.233163-35883203
<SLContainerModel > Protocol Reference

this protocol defines a model that represents a container. You need to implement it to process the updateModel callback in SLContainerDataEvent. More...

Inheritance diagram for <SLContainerModel >:

Instance Methods

(void) - clear
 Called to indicate that you should clear your model of the container. More...
 
(void) - insertElement:atIndex:
 Called to indicate that you should insert the ContainerElement at the specified position. More...
 
(void) - removeElement:atIndex:
 Called to indicate that you should remove the ContainerElement at the specified position. More...
 
(void) - moveElement:atIndex:toIndex:
 Called to indicaet that you should move the specified SLContainerElement. More...
 

Detailed Description

this protocol defines a model that represents a container. You need to implement it to process the updateModel callback in SLContainerDataEvent.

The methods on this interfae will be called in the correct order to ensure that your representation is correct.

Method Documentation

- (void SLContainerModel) clear

Called to indicate that you should clear your model of the container.

- (void SLContainerModel) insertElement: (id< SLContainerElement >)  element
atIndex: (int)  index 

Called to indicate that you should insert the ContainerElement at the specified position.

Parameters
elementThe SLContainerElement to insert.
indexThe index at which to insert the SLContainerElement.
- (void SLContainerModel) moveElement: (id< SLContainerElement >)  element
atIndex: (int)  index
toIndex: (int)  toIndex 

Called to indicaet that you should move the specified SLContainerElement.

Parameters
elementThe SLContainerElement to remove.
indexThe index at which the SLContainerElement is currently located.
toIndexThe index at which the SLContainerElement should be moved to.
- (void SLContainerModel) removeElement: (id< SLContainerElement >)  element
atIndex: (int)  index 

Called to indicate that you should remove the ContainerElement at the specified position.

Parameters
elementThe SLContainerElement to remove.
indexThe index at which to remove the SLContainerElement.

Generated on Tue Apr 23 2024 11:14:03 for StreamLink for iOS