Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Add background scan period APIs for Android #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ktanaka101
Copy link

Summary

This PR introduces two new APIs, setBackgroundScanPeriod and setBackgroundBetweenScanPeriod, to customize beacon scanning behavior when the application is running in the background on Android devices.
These methods complement the existing setScanPeriod and setBetweenScanPeriod APIs, which configure scanning while the app is in the foreground.

Added Methods:

  • Future setBackgroundScanPeriod(int scanPeriod): Sets the duration for beacon scanning in the background.
  • Future setBackgroundBetweenScanPeriod(int scanPeriod): Sets the wait time between consecutive beacon scans in the background.

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant