IBridge

interface IBridge

IBridge provides a unified interface for accessing core Bluetooth-related services within the Bridge architecture. Implementations of this interface are responsible for managing the lifecycle and providing access to BlueLink, BLEProxy, and DFUService instances.

Note: PKOC services are not included in this interface due to differing types across platforms.

Implementations are typically provided via a Koin isolated context to ensure proper dependency management and lifecycle isolation for each bridge instance.

Inheritors

Functions

Link copied to clipboard
abstract fun getBLEProxy(): BLEProxy

Returns the BLEProxy service instance.

Link copied to clipboard
abstract fun getBlueLink(): BlueLink

Returns the BlueLink service instance.

Link copied to clipboard
abstract fun getDFUService(): DFUService

Returns the DFUService instance.

Link copied to clipboard
abstract fun setLogsEnabled(isEnabled: Boolean)

Enable or disable library logs