Constructor
new FirebaseSubscriptionService(endpoint, keepUpIntervalnullable)
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
endpoint | 
            
            Endpoint | an endpoint to communicate with | |
keepUpInterval | 
            
            Duration | 
                
                
                    <nullable> | 
            
            
            a custom interval for sending subscription keep up requests | 
Classes
Methods
add(subscription)
    Add a subscription to the service to handle the keep-up requests and cancel in
case of unsubscribe.
    Parameters:
| Name | Type | Description | 
|---|---|---|
subscription | 
            
            SpineSubscription | an active subscription to keep running | 
cancelAllSubscriptions()
    Immediately cancels all active subscriptions previously created through this service.
        
            
    
    
    cancelSubscription(subscription)
    Immediately cancels the given subscription, including cancelling it on the server-side.
    Parameters:
| Name | Type | Description | 
|---|---|---|
subscription | 
            
            SubscriptionObject | the subscription to cancel |