bluetoothHealthCheckInterval property

Duration bluetoothHealthCheckInterval
getter/setter pair

How often a connected Bluetooth printer is verified.

The print_bluetooth_thermal plugin has no connection stream: its health check writes a single space to the socket. Keep the interval reasonably long to avoid filling the printer's line buffer, or set it to Duration.zero to disable the watchdog and rely on print failures plus app-resume checks.

Implementation

static Duration bluetoothHealthCheckInterval = const Duration(seconds: 15);