Home > sip.js > Subscriber > (constructor)
Constructor.
Signature:
constructor(userAgent: UserAgent, targetURI: URI, eventType: string, options?: SubscriberOptions);
Parameter | Type | Description |
---|---|---|
userAgent | UserAgent |
User agent. See UserAgent for details. |
targetURI | URI |
The request URI identifying the subscribed event. |
eventType | string |
The event type identifying the subscribed event. |
options | SubscriberOptions |
Options bucket. See SubscriberOptions for details. |