onEvent

abstract fun onEvent(event: ServerGattEvent)

Internal function for propagating events to event shared flow. For internal usage only.

Parameters

event

Equivalent of a callback method from BluetoothGattServerCallback.