showNativeTouchCalibration method
Displays the native touch calibration UX for the display with |id| as display id. This will show an overlay on the screen with required instructions on how to proceed. The callback will be invoked in case of successful calibration only. If the calibration fails, this will throw an error. |id|: The display's unique identifier. |callback|: Optional callback to inform the caller that the touch calibration has ended. The argument of the callback informs if the calibration was a success or not.
Implementation
Future<bool> showNativeTouchCalibration(String id) async {
var $res = await promiseToFuture<bool>(
$js.chrome.system.display.showNativeTouchCalibration(id));
return $res;
}