StreamLink for iOS
8.0.2.287281-045ba3c8
|
Represents a unique subscription to a subject. More...
Instance Methods | |
(NSString *) | - subject |
Returns the subject of this subscription. More... | |
(id< SLSubscriptionListener >) | - subscriptionListener |
Returns the SLSubscriptionListener for this subscription. More... | |
(void) | - unsubscribe |
Unsubscribes from the subscription. Once unsubscribed, data updates relating to the subject are no longer sent to the associated SLSubscriptionListener. More... | |
(void) | - setContainerWindowStart:size: |
Available only on container subscriptions to allow the window on the content of the container to be changed. More... | |
(void) | - clearWindow |
Available only on container subscriptions to allow the container window to be cleared. More... | |
Represents a unique subscription to a subject.
- (void SLSubscription) clearWindow |
Available only on container subscriptions to allow the container window to be cleared.
An | exception will the thrown if this method is called for a non-container subscription. |
- (void SLSubscription) setContainerWindowStart: | (int) | start | |
size: | (int) | size | |
Available only on container subscriptions to allow the window on the content of the container to be changed.
start | - The index value, within the contrainer, of the first element to appear in the window. Note that the first element with the container has an index value of zero (0). |
size | - The size of the container window in elements. |
An | exception will the thrown if this method is called for a non-container subscription. |
- (NSString* SLSubscription) subject |
Returns the subject of this subscription.
- (id<SLSubscriptionListener> SLSubscription) subscriptionListener |
Returns the SLSubscriptionListener for this subscription.
- (void SLSubscription) unsubscribe |
Unsubscribes from the subscription. Once unsubscribed, data updates relating to the subject are no longer sent to the associated SLSubscriptionListener.