-
Notifications
You must be signed in to change notification settings - Fork 188
03 基础模块
新版本根据不同功能分类至不同模块
Service.account.ID
Service.account.nickName
Service.account.avatarURL
Device.owner.ID
Device.deviceID
Device.model
Device.extra
废弃,可参考Package.Entrance
Host.apiLevel
废弃, 使用require直接引用文件
Host.isDebug
Package.entryInfo
Host.systemInfo
Device.isVoiceDevice
Events.packageViewWillAppear
Event.packageAuthorizationCancel
导航栏更新 参考迁移手册
导航栏更新 参考迁移手册
Events.deviceReceivedMessages
废弃
使用js原生emmit
Device.getDeviceWifi().subscribeMessages
Device.getDeviceWifi().callMethod
callMethodFromCloud or callMethod
Device.getDeviceWifi().localPing
废弃, 功能查询Service.smarthome 中提供的
Service.smarthome.getUserInfo
Device.getDeviceWifi().loadPropertiesFromCloud
Device.getDeviceWifi().loadProperties
废弃
Service.smarthome.batchGetDeviceDatas()
Service.getUTCFromServer
Host.ui.openAddDeviceGroupPage
Host.ui.openEditDeviceGroupPage
Host.ui.openTimerSettingPage
废弃
Host.ui.openTimerSettingPageWithVariousTypeParams
Host.ui.openDeviceUpgradePage
Device.getDeviceWifi().setFirmwareUpdateErrDic
Service.smarthome.getAvailableFirmwareForDids
Device.getDeviceWifi.startUpgradingFirmware
Package.exit
Host.ui.openDeleteDevice
Host.ui.openDeleteDevice
废弃,使用dialog
废弃,使用dialog
废弃,使用dialog
废弃,使用dialog
废弃
废弃
Host.ui.openShareListBar
废弃
废弃
Host.ui.openShareDevicePage
废弃
废弃
废弃,请使用Host.file截图后分享
Host.ui.openPrivacyLicense
Host.ui.privacyAndProtocolReview
Host.storage.saveInfo
废弃
Host.local.getlocation
Host.local.getlocation
Service.smarthome.reportLog
Package.exitInfo
Package.exitInfo
废弃
Host.ui.openDevice
Service.smarthome.applyForDeviceIDAndToken
废弃
Host.ui.getDevicesWithModel
参考spec https://miecosystem.github.io/miot-plugin-sdk/module-miot_service_spec.html
Device.getDeviceWifi().setFirmwareNotCheckUpdate
Service.getServerName
Host.ui.openPageWithClassName
Service.smarthome.getMiWatchConfig
Host.ui.openRoomManagementPage
Host.ui.openIftttAutoPage
Host.ui.openNewMorePage
Host.ui.openAddToDesktopPage
废弃
Service.storage.getUserConfigs
Service.storage.setUserConfigs
Host.local.timezone
Host.ui.openFeedbackInput
Host.ui.openVoiceCtrlDeviceAuthPage
Service.smarthome.getDeviceData
废弃
Service.security.shareSecureKey
Service.security.updateSecureKey
Service.security.deleteSecureKey
Service.security.getSecureKey
Host.ui.keepScreenNotLock
Host.getWifiInfo
Service.getServiceTokenWithSid
Device.getDeviceWifi().subscribeMessages
不支持