Skip to main content

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​

MemberTypeDetails
idstring—
deviceDataDeviceData—
device{ id: string; deviceData: DeviceData; connect: () => Promise<void>; disconnect: () => Promise<void>; }—
statusDeviceStatusOptional. —
latestResultRuntimeResultOptional. —
resultsreadonly RuntimeResult[]Optional. —
eventsreadonly RuntimeConnectionEvent[]Optional. —

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.