@kaarot_kalel_90/react-native-tuya
Version:
React Native bindings for the Tuya SDK 6.11 (Device Panel included)
6 lines (5 loc) • 341 B
TypeScript
export declare type StartOtaParams = {
devId: string;
};
export declare function startOta(params: StartOtaParams, onSuccess: (data: any) => void, onFailure: (data: any) => void, onProgress: (data: any) => void): import("react-native").EmitterSubscription;
export declare function getOtaInfo(params: StartOtaParams): Promise<any[]>;