DeviceConnectionEvent
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 { DeviceConnectionEvent } from '@ovok/native/bt-management';
TypeScript shape
interface DeviceConnectionEvent {
deviceData: DeviceData;
kind: DeviceConnectionEventKind;
pairingCodeRequired?: boolean;
progress?: {
current: number;
total?: number;
};
batteryLevel?: number;
clockAt?: Date;
phoneUtcOffsetMinutes?: number;
}
This is a type-level export; it has no call parameters.
Public members
| Member | Type | Details |
|---|---|---|
deviceData | DeviceData | — |
kind | DeviceConnectionEventKind | — |
pairingCodeRequired | boolean | Optional. True when the platform is waiting for the user to confirm or enter a pairing code. |
progress | { current: number; total?: number; } | Optional. Progress for a history transfer when the protocol exposes record counts. |
batteryLevel | number | Optional. Battery percentage when the device exposes the standard Battery Service. |
clockAt | Date | Optional. Local time written to a device clock, when the protocol reports an acknowledgement. |
phoneUtcOffsetMinutes | number | Optional. Phone's UTC offset in minutes east of UTC at the clock write. |
Learn the workflow
Continue with Bluetooth for the workflow context and examples.