Mountain View
Jabber SDK API Documentation

Class: Speaker

Speaker

Speaker device plugged into PC.

Constructor

new Speaker()

This class cannot be instantiated.
Since:
  • 11.7.0

Extends

Members

(static) volume :number

Speaker's output volume level.
Type:
  • number
Since:
  • 11.7.0

deviceID :String

Unique device ID given by operating system.
Type:
  • String
Since:
  • 11.7.0
Inherited From:

hardwareID :String

Unique hardwareID of device.
Type:
  • String
Since:
  • 11.7.0
Inherited From:

isSelected :Boolean

Indicates whether this device is selected or not.
Type:
  • Boolean
Since:
  • 11.7.0
Inherited From:

name :String

Name of the device.
Type:
  • String
Since:
  • 11.7.0
Inherited From:

vendorID :String

Unique ID for device given by vendor.
Type:
  • String
Since:
  • 11.7.0
Inherited From:

Methods

(static) setVolume(volume, errorHandleropt)

Sets a new output volume level of the ringer.
Parameters:
Name Type Attributes Description
volume Number New volume level that will be set. Allowed values are 0 - 100.
errorHandler function <optional>
Called if error has occurred in add-on.
Since:
  • 11.7.0