Mountain View
Jabber SDK API Documentation

Class: WindowController

WindowController

WindowController is responsible for managing native and in-browser video windows.

Constructor

new WindowController()

This class cannot be instantiated.
Since:
  • 11.7.0

Methods

(static) createVideoWindow(windowType, htmlElement, DOMWindowopt) → {ScreenShareWindow|PreviewWindow|ConversationWindow}

Create video window object. In order to create a video window object, HTML element that will serve as container must be specified. This HTML element can be a part of the same DOMWindow in which CWIC is initialized or it can be a separate child window or IFrame.
Parameters:
Name Type Attributes Description
windowType WindowType Type of video window it will be created.
htmlElement HTMLElement HTML element that will represent window container.
DOMWindow Window <optional>
DOM window that owns HTML element
Since:
  • 11.7.0
Returns:
Type
ScreenShareWindow | PreviewWindow | ConversationWindow

(static) getNativeConversationWindow() → {NativeConversationWindow}

Retrieve native window that renders conversation video.
Since:
  • 11.7.0
Returns:
Type
NativeConversationWindow

(static) getNativePreviewWindow() → {NativePreviewWindow}

Retrieve native window that renders local camera feed.
Since:
  • 11.7.0
Returns:
Type
NativePreviewWindow

(static) getNativeScreenShareWindow() → {NativeScreenShareWindow}

Retrieve native window that renders screen share video.
Since:
  • 11.7.0
Returns:
Type
NativeScreenShareWindow