A publisher publishes a publication (outgoing PUBLISH).
Signature:
export declare class Publisher | Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(userAgent, targetURI, eventType, options) | Constructs a new instance of the Publisher class. |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| state | PublisherState |
The publication state. | |
| stateChange | Emitter<PublisherState> |
Emits when the publisher state changes. |
| Method | Modifiers | Description |
|---|---|---|
| dispose() | Destructor. | |
| publish(content, options) | Publish. | |
| unpublish(options) | Unpublish. |