refreshCache

abstract suspend fun refreshCache(): Boolean

Refreshes services cache.

Return

True if the operation was successfully; false otherwise.

Throws

If BLUETOOTH_CONNECT permission is denied.

If refreshing cache failed.

If the peripheral was closed.