PhoneBookSynchronizationStatusHelper
A helper class that monitors connection states of PBAP Client and other Bluetooth profiles to provide information about the status for PBAP synchronization.
onCreate shall be called before usage. onDestroy shall be called when no more usage needed.
Useful to observe the PBAP synchronization status:
private val phoneBookSynchronizationStatusHelper = PhoneBookSynchronizationStatusHelper()
phoneBookSynchronizationStatusHelper.phoneBookSynchronizationStatus.observe(this) {
// Here the code related to PBAP synchronization status
}
Content copied to clipboard