StreamLink for iOS
8.0.2.287281-045ba3c8
|
this protocol defines a model that represents a container. You need to implement it to process the updateModel callback in SLContainerDataEvent. More...
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... | |
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.
- (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.
element | The SLContainerElement to insert. |
index | The 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.
element | The SLContainerElement to remove. |
index | The index at which the SLContainerElement is currently located. |
toIndex | The 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.
element | The SLContainerElement to remove. |
index | The index at which to remove the SLContainerElement. |