Version Update로 인해, 대응되는 API 리스트를 정의
1.x 버전 API | 2.x 버전 API |
---|---|
WNLog | M.tool.log |
WNSetVariable | M.data.global(key, value) |
WNGetVariable | M.data.global(key) |
WNListAllVariables | M.data.global |
WNResetAllVariables | M.data.removeGlobal |
WNSetVariableToStorage | M.data.storage(key,value) |
WNGetVariableFromStorage | M.data.storage(key) |
WNListAllStorageVariables | M.data.storage |
WNResetAllStorageVariables | M.data.removeStorage |
WNGetDeviceInfo | M.info.device |
WNHttpSendData | M.net.http.send |
WNSocketSendData | M.net.socket.send |
WNMakeVibration | M.sys.vibration |
WNExitProgram | M.sys.exit |
WNMoveToHtmlPage | M.page.html |
WNMoveToNativePage | M.page.native |
WNBackPage | M.page.back |
WNReplaceHtmlPage | M.page.replace |
WNGetPageInPStack | M.info.stack |
WNRemovePageInPStack | M.page.remove |
WNTabMoveToHtmlPage | M.page.tab.html |
WNTabBackPage | M.page.tab.back |
WNTabCount | M.page.tab.count |
WNTabRemovePage | M.page.tab.remove |
WNMakeCall | M.sys.call |
WNPopupDatePicker | M.pop.date |
WNPopupDatePickerEx | M.pop.date |
WNGetParameter | M.data.param(key) |
WNSetParameter | M.data.param(key,value) |
WNPutParameter | M.data.param(obj) |
WNListAllParameters | M.data.param() |
WNRemoveParameter | M.data.removeParam(key) |
WNRemoveAllParameter | M.data.removeParam() |
WNMoveToShowVideo | M.media.play |
WNMoveToTakePhoto | M.media.camera |
WNMoveToTakeMovie | M.media.camera |
WNGetCommonMediaFiles | M.media.library |
WNMoveToTakeVoice | M.media.record |
WNHttpFileUpload | M.net.http.upload |
WNFtpFileUpload | M.net.ftp.upload |
WNFtpFileDownload | M.net.ftp.download |
WNFtpListDownload | M.net.ftp.list |
WNPopupConfirm | M.pop.alert |
WNPopupNormalChoice | M.pop.list |
WNPopupSingleChoice | M.pop.list |
WNPopupMultiChoice | M.pop.list |
WNGetMediaFolderInfo | M.media.info |
WNGetMediaFilesInfo | M.media.info |
WNRemoveMediaFiles | M.media.removeLibrary |
WNShowInstanceMessage | M.popup.instance |
WNControlFlash | M.sys.flash(status) |
WNGetFlashState | M.sys.flash |
WNOpenWebBrowser | M.apps.browser |
WNMoveToSendMail | M.sys.mail |
WNMoveToSendSms | M.sys.sms(options) |
WNMoveToOpenAppStore | M.apps.store |
WNMoveToOpenOtherApp | M.apps.open |
WNCheckAppInstalled | M.apps.info(options) |
WNFileIoCreate | M.file.create |
WNFileIoDelete | M.file.remove |
WNFileIoRead | M.file.read |
WNFileIoWrite | M.file.write |
WNFileIoCopy | M.file.copy |
WNFileIoMove | M.file.move |
WNFileIoInfo | M.file.info |
WNFileIoList | M.file.info |
WNLocalDbCreate | M.db.create |
WNLocalDbDelete | M.db.remove |
WNLocalDbOpen | M.db.open |
WNLocalDbClose | M.db.close |
WNLocalDbExecuteSql | M.db.execute |
WNZip | M.zip.zip |
WNUnzip | M.zip.unzip |
WNHttpUpdateResources | M.net.res.update |
WNGetMemoryInfo | M.info.memory |
WNGetMorpheusInfo | M.info.app() |
WNEncryptString | M.sec.encrypt |
WNDecryptString | M.sec.decrypt |
WNMoveToTakeQRCode | M.qr.open |
WNImportEncryptedJS | 미지원 |
WNGetEncryptedFile | 미지원 |
WNGetResourcePath | 미지원 |