StreamLink for iOS  8.0.2.287281-045ba3c8
<SLSubscription > Protocol Reference

Represents a unique subscription to a subject. More...

Inheritance diagram for <SLSubscription >:

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...
 

Detailed Description

Represents a unique subscription to a subject.

Method Documentation

- (void SLSubscription) clearWindow

Available only on container subscriptions to allow the container window to be cleared.

Exceptions
Anexception 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.

Parameters
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.
Exceptions
Anexception 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.


Generated on Tue Jul 23 2024 16:34:40 for StreamLink for iOS