willDisplayUpgrade property

WillDisplayUpgradeCallback? willDisplayUpgrade
getter/setter pair

Called when HcUpgradeNewVersion determines that an upgrade may or may not be displayed. The value parameter will be true when it should be displayed, and false when it should not be displayed. One good use for this callback is logging metrics for your app.

Implementation

WillDisplayUpgradeCallback? willDisplayUpgrade;