Skip to main content

AndroidBluetoothForegroundServiceOptions

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Interface
Package: @ovok/native

Import​

import { AndroidBluetoothForegroundServiceOptions } from '@ovok/native/background-sync';

TypeScript shape​

interface AndroidBluetoothForegroundServiceOptions {
notificationTitle?: string;
notificationBody?: string;
requestBatteryOptimizationExemption?: boolean;
}

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
notificationTitlestringOptional. —
notificationBodystringOptional. —
requestBatteryOptimizationExemptionbooleanOptional. Ask Android to exempt this app from Doze when the service starts or returns to the foreground.

Learn the workflow​

Continue with Background Sync for the workflow context and examples.

Source​

View the declaration in the SDK source.