The onConnectionStateChange() event is generated in response to a change in the connection state.
The onMessage() event is generated in response to messages from the VMRC browser plug-in. The
message string included with the
onMessage() event contains information and other messages from the VMRC browser plug-in that pertain directly to the user of your web application. Your web application can display the
message string to the user using a dialog or other alert.
The onScreenSizeChange() event is generated in response to changes in the screen size of the currently connected virtual machine.
The onFullscreenChange() event is generated when the VMRC browser plug-in exits or enters full-screen mode.
The onGrabStateChange() event is generated when the VMRC browser plug-in input grab state, when guest input is either grabbed or released.
The onDeviceStateChange() event is generated in response to a change in the connection state of a virtual machine device.
The onVirtualDevicesChange() event is generated when there is a change to any virtual devices that are present on the target virtual machine, for any reason. This event contains no parameters.
When your Web application receives the onVirtualDevicesChange() event, you can use the
getVirtualDevices() API method to obtain the updated list of virtual device keys, and the
getVirtualDeviceDetails() API method to obtain updated detailed information on each virtual device. See
Calling VMRC API Methods on a Virtual Machine.
The onPhysicalClientDevicesChange() event is generated when there is a change to any physical devices that are present on the local client machine, for any reason. This event contains no parameters.
When your Web application receives the onPhysicalClientDevicesChange() event, you can use the
getPhysicalClientDevices() API method to obtain the updated list of physical device keys, and the
getPhysicalClientDeviceDetails() API method to obtain updated detailed information on each physical client device. See
Calling VMRC API Methods on a Virtual Machine.