setForgroundScanPeriod is not waiting for given time period

I am passing two parameter in foreground scan period . But not found any pause interval in scanning .(see below)

beaconManager.setForegroundScanPeriod(2000, 50000);

Please help me to solve that problem.

Yes it have some problem, it will be solve in next version.

The problem is solved.
You can download the sdk1.6.0 https://github.com/AprilBrother/AprilBeacon-Android-SDK

Thank you for resolving problem