setShakingThresholdForAndroid static method
Sets the threshold value of the shake gesture for android devices.
Default for android is an integer value equals 350.
you could increase the shaking difficulty level by
increasing the 350
value and vice versa
threshold
iPhoneShakingThreshold int
Implementation
static Future<void> setShakingThresholdForAndroid(int threshold) async {
if (IBGBuildInfo.instance.isAndroid) {
return _host.setShakingThresholdForAndroid(threshold);
}
}