Add event handler for busyLightChange device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for downloadFirmwareProgress device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onBTParingListChange device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onGNPBtnEvent device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onBatteryStatusUpdate device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for remoteMmi events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onDevLogEvent device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for one of the different device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843*
Add event handler for one of the different device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843*
Add event handler for btnPress device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843*
Add event handler for busyLightChange device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for downloadFirmwareProgress device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onBTParingListChange device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onGNPBtnEvent device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onBatteryStatusUpdate device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for remoteMmi events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for onDevLogEvent device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843
Add event handler for one of the different device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843*
Add event handler for one of the different device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843*
Cancels the firmware download (Async).
void if successful otherwise Reject with error.Check if Firmware update available for device.
boolean if successful otherwise Reject with error.true - if a new firmware update is available (existing firmware not up to date), false otherwise (existing firmware up to date).Clear a device from paired device list.
name of device to be connected.
BTAddress of device to be connected.
current status of device to be connected.
void if successful otherwise Reject with error.Clear list of paired BT devices from BT adapter.
void if successful otherwise Reject with error.Connect/Reconnect Bluetooth device to the Yealink Bluetooth adapter. Ensure the Bluetooth device is switched on and within range.
void if successful otherwise Reject with error.Connect a new device.
name of device to be connected.
BTAddress of device to be connected.
current status of device to be connected.
void if successful otherwise Reject with error.Connect a device which was already paired.
name of device to be connected.
BTAddress of device to be connected.
current status of device to be connected.
void if successful otherwise Reject with error.Disconnect Bluetooth device from Bluetooth adapter.
void if successful otherwise Reject with error.Disconnect a paired device.
name of device to be disconnected.
BTAddress of device to be disconnected.
current status of device to be disconnected.
void if successful otherwise Reject with error.Downloads the specified firmware version file.
Version for which file download needs to be initiated.
void if successful otherwise Reject with error.Get Auto pairing mode enable or disable.
boolean if successful otherwise Reject with error.true if auto pairing mode is enabled, false otherwise.Get name of connected BT device with BT Adapter(Async).
string if successful otherwise Reject with error.Get the file path of the downloaded file.
Version for which the path is required.
string if successful otherwise Reject with error.downloadFirmwareAsync first to ensure that data is currentGet firmware version of the device.
string if successful otherwise Reject with error.Gets details of the latest firmware present in cloud.
object if successful otherwise Reject with error.Gets the list of devices which are paired previously.
array if successful otherwise Reject with error.Gets the focus of the remote MMI specified. Once a remote MMI has focus, the normal functionality of the MMI (button/LED) is suppressed until #releaseRemoteMmiFocusAsync is called. If only the LED output MMI functionality is required, action can be specified as MMI_ACTION_NONE.
Type of remote MMI to get focus of.
Action to get focus of, acts as a filter/mask for the actions on the RemoteMmiCallback callback
Priority of focus.
void if successful otherwise Reject with error.Gets the list of new devices which are available to pair & connect.
array if successful otherwise Reject with error.isConnected, flag in Pairing List Object, will always be false as device does not give connection status for the found device.Gets the unique setting identified by a GUID of a device.
the unique setting identifier.
array if successful otherwise Reject with error.Gets the complete settings details (all groups and its settings) for a device.
array if successful otherwise Reject with error.Checks if pairing list is supported by the device.
boolean if successful otherwise Reject with error.true if pairing list is supported, false if device does not support pairing list.Gets the status of the remote MMI focus.
Type of remote MMI to get focus status of.
returns true if in focus, false if not.
Releases the focus of the remote MMI specified. Note that focus on all actions are removed.
Type of remote MMI to release focus of.
void if successful otherwise Reject with error.Search for available Bluetooth devices which are switched on, within range and ready to connect.
void if successful otherwise Reject with error.When Bluetooth adapter is plugged into the PC it will attempt to connect with the last connected Bluetooth device. If it cannot connect, it will automatically search for new Bluetooth devices to connect to.
enable or disable for auto pairing.
void if successful otherwise Reject with error.Set the bluetooth device in pairing mode.
void if successful otherwise Reject with error.Sets an output action on the remote MMI. Note that getRemoteMmiFocusAsync must be called once for the enumRemoteMmiType in question prior to setting the output action, else YealinkError is returned.
type Type of remote MMI to set action of.
returns true if in focus, false if not.
Sets all the settings( including all groups and its settings) for a device.
pass only changed settings in an array
void if successful otherwise Reject with error, reboot etc.Nb. Currently this method returns an error with code=24 if rebooting as bi-result. TODO: Change signature to return reboot information normally instead.
Stop search for available Bluetooth devices.
void if successful otherwise Reject with error.Upgrades / Updates the firmware for the target device with specified version.
firmware file path.
void if successful otherwise Reject with error.Generated using TypeDoc
Add event handler for btnPress device events. Please make sure your callback arguments matches the event type or you will get a misleading typescript error. See also 30843*