RuntimeDevice
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 { RuntimeDevice } from '@ovok/native/bt-management';
TypeScript shape
interface RuntimeDevice {
id: string;
deviceData: DeviceData;
device: {
id: string;
deviceData: DeviceData;
connect: () => Promise<void>;
disconnect: () => Promise<void>;
};
status?: DeviceStatus;
latestResult?: RuntimeResult;
results?: readonly RuntimeResult[];
events?: readonly RuntimeConnectionEvent[];
}
This is a type-level export; it has no call parameters.
Public members
| Member | Type | Details |
|---|---|---|
id | string | — |
deviceData | DeviceData | — |
device | { id: string; deviceData: DeviceData; connect: () => Promise<void>; disconnect: () => Promise<void>; } | — |
status | DeviceStatus | Optional. — |
latestResult | RuntimeResult | Optional. — |
results | readonly RuntimeResult[] | Optional. — |
events | readonly RuntimeConnectionEvent[] | Optional. — |
Learn the workflow
Continue with Bluetooth for the workflow context and examples.