Initial commit of akmon project
This commit is contained in:
9
uni_modules/ak-sbsrv/utssdk/app-harmony/dfu_manager.uts
Normal file
9
uni_modules/ak-sbsrv/utssdk/app-harmony/dfu_manager.uts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { DfuManagerType, DfuOptions } from '../interface.uts';
|
||||
|
||||
class HarmonyDfuManager implements DfuManagerType {
|
||||
async startDfu(_deviceId: string, _firmwareBytes: Uint8Array, _options?: DfuOptions): Promise<void> {
|
||||
throw new Error('鸿蒙平台暂未实现 DFU 功能');
|
||||
}
|
||||
}
|
||||
|
||||
export const dfuManager = new HarmonyDfuManager();
|
||||
Reference in New Issue
Block a user