startAndroidBluetoothForegroundService
Starts the Android connected-device foreground service. Mount this alongside the BTProvider that owns the scan; the service keeps that app process alive while Android has the app in the background.
Kind: Function
Package: @ovok/native
Import
import { startAndroidBluetoothForegroundService } from '@ovok/native/background-sync';
TypeScript signatures
(options?: AndroidBluetoothForegroundServiceOptions): Promise<void>
| Parameter | Type | Details |
|---|---|---|
options | AndroidBluetoothForegroundServiceOptions | — |
Returns: Promise<void>.
Learn the workflow
Continue with Background Sync for the workflow context and examples.