Skip to content

SDK Open 开发参考

SDK Open 的业务方法通过 Command WS 调用,请求 envelope 固定为 request_idmethodparamsclient。除 system.*auth.create_session 外,业务方法都要求当前 Command WS 连接已有有效 session 和对应 capability。

Command 方法清单

模块方法
systemsystem.pingsystem.infosystem.capabilities
authauth.create_sessionauth.get_contextauth.refresh_sessionauth.activate_offlineauth.destroy_session
devicedevice.listdevice.getdevice.opendevice.close
capturecapture.takecapture.getcapture.set_turn_detect
videovideo.startvideo.stopvideo.set_formatvideo.set_profile
imageimage.processimage.process_pageimage.apply_color_mode
image enhanceimage.enhance_capabilitiesimage.enhanceimage.enhance_getimage.enhance_cancelimage.enhance_workflow_listimage.enhance_workflow_getimage.enhance_workflow_saveimage.enhance_workflow_delete
OCR/recognitionocr.recognizeocr.getocr.cancelocr.extract_textrecognition.barcode_detect
filefile.convert
SANEsane.statussane.listsane.watch_startsane.watch_stopsane.opensane.closesane.get_optionssane.set_optionssane.profile_listsane.profile_savesane.profile_applysane.profile_deletesane.scansane.scan_getsane.scan_cancel

参考页

CZUR Open Platform Documentation