setBackgroundScanPeriodForAndroid static method
Future<void>
setBackgroundScanPeriodForAndroid(
{ - int backgroundScanPeriod = 1100,
- int backgroundBetweenScanPeriod = 0,
})
Implementation
static Future<void> setBackgroundScanPeriodForAndroid(
{int backgroundScanPeriod = 1100,
int backgroundBetweenScanPeriod = 0}) async {
final String? result = await channel
.invokeMethod('setBackgroundScanPeriodForAndroid', <String, dynamic>{
'backgroundScanPeriod': backgroundScanPeriod,
'backgroundBetweenScanPeriod': backgroundBetweenScanPeriod
});
printDebugMessage(result, 2);
}