dt-common-device
Version:
A secure and robust device management library for IoT applications
11 lines (10 loc) • 487 B
TypeScript
import { IDevice } from "../entities/device/local/interfaces";
import { BaseEventHandler } from "./BaseEventHandler";
import { DeviceEvent } from "./interfaces/DeviceEvent";
export declare class DeviceEventHandler extends BaseEventHandler {
private readonly localHubService;
constructor();
onEvent(event: DeviceEvent): Promise<void>;
updateDeviceEventData(deviceData: IDevice, event: DeviceEvent): Promise<void>;
extractHubDetails(device: IDevice): Promise<any[]>;
}