dynamsoft.dcsEnv.ondcsneedupgrade

Description

This event is triggered when Dynamsoft camera service is connected to successfully but needs an upgrade.

Syntax

dynamsoft.dcsEnv.ondcsneedupgrade = ...;

Return value

bool

Remarks

If you want to customize the upgrade dialog, you can register this event.

Example

dynamsoft.dcsEnv.ondcsneedupgrade = function()
{
/// show a customized dialog
    return true;  // if return false, Dynamsoft's own dialog will be shown.
}