ZennoLab Assemblies Documentation
ShowWebRTCDevice Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class : ShowWebRTCDevice Method

Type: ZennoLab.CommandCenter.WebRtcDeviceItem

WebRtcDevice object for showing. If it not exist in devices collection, it will be added to colllection.

Show the webrtc device. Device emulation works only if WebRTCWorkMode sets to Emulate.
Syntax
public void ShowWebRTCDevice( 
   WebRtcDeviceItem device
)

Parameters

device

Type: ZennoLab.CommandCenter.WebRtcDeviceItem

WebRtcDevice object for showing. If it not exist in devices collection, it will be added to colllection.

Example
The following code example demonstrates uses of the ShowWebRTCDevice method.
// create device item
var device = new ZennoLab.CommandCenter.WebRtcDeviceItem("WebRtcDevice name", "{0.0.0.00000000}" + Guid.NewGuid().ToString("B"), ZennoLab.InterfacesLibrary.Enums.Browser.WebRtcDeviceKind.Video);
// add and show device
instance.ShowWebRTCDevice(device);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members