new SubscribersController()
Methods
addSubscriber(subscriber) → {void}
Parameters:
Name |
Type |
Description |
subscriber |
Subscriber
|
subscriber |
Returns:
-
Type
-
void
removeAllManifestSubscribersById(subscriberId) → {void}
Remove all subscribers for certain manifest based on any subscriberId that belongs to this manifest
Parameters:
Name |
Type |
Description |
subscriberId |
Array
|
String
|
subscriber identifier |
Returns:
-
Type
-
void
removeSubscribersById(subscribersId) → {void}
Parameters:
Name |
Type |
Description |
subscribersId |
Array
|
String
|
subscriber identifier |
Returns:
-
Type
-
void
unsubscribe(manifestIds) → {void}
Parameters:
Name |
Type |
Description |
manifestIds |
Array
|
String
|
manifest or manifests identifier |
Returns:
-
Type
-
void
unsubscribeAll() → {void}
Returns:
-
Type
-
void