PhoneBookSynchronizationStatusHelper

class PhoneBookSynchronizationStatusHelper(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviServiceProvider, staticConfigurationProvider: StaticConfigurationProvider)

A helper class that monitors connection states of PBAP Client to provide information about the status for PBAP synchronization.

Useful to observe the PBAP synchronization status:

private val phoneBookSynchronizationStatusHelper
= PhoneBookSynchronizationStatusHelper(
lifecycleOwner,
iviServiceProvider,
staticConfigurationProvider
)
phoneBookSynchronizationStatusHelper.phoneBookSynchronizationStatus.observe(this) {
// Here the code related to PBAP synchronization status
}

Constructors

Link copied to clipboard
constructor(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviServiceProvider, staticConfigurationProvider: StaticConfigurationProvider)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun startMonitoring(context: Context)

Starts the monitoring process to track the phonebook synchronization progress.

Link copied to clipboard
fun stopMonitoring(context: Context)

Stops the monitoring of the phonebook synchronization progress.