Learn how to evaluate and integrate the VNC SDK
MessagingManager¶
-
vncsdk.
MessagingManager
¶ Enables a Viewer or Server to send custom messages.
Nested Classes¶
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Sends a message. |
|
Registers a callback notifying when messages are received. |
Methods¶
-
MessagingManager.
sendMessage
(buffer, connection)¶ Sends a message.
For more information, see
vnc_MessagingManager_sendMessage()
.Arguments: - buffer (Uint8Array or Array<number>) –
- connection (
vncsdk.Connection
) –
Throws: vncsdk.VncException
on error
-
MessagingManager.
setCallback
(callback)¶ Registers a callback notifying when messages are received.
For more information, see
vnc_MessagingManager_setCallback()
.Arguments: - callback (
vncsdk.MessagingManager.Callback
or null) –
Throws: vncsdk.VncException
on error- callback (