Flutter教程

Extended Device Information

Contents

Retrieves additional device information from the Device Hardware

  • memory
  • cpumhz
  • totalstorage
  • freestorage
https://github.com/danielehrhardt/cordova-plugin-extended-device-information

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic Extended Device Information插件的安装(Installation)

ionic cordova plugin add cordova-plugin-extended-device-information npm install @ionic-native/extended-device-information
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/extended-device-information

Ionic Extended Device Information插件支持的平台(Supported Platforms)

  • Android

Ionic Extended Device Information插件的用法(Usage)

import { ExtendedDeviceInformation } from '@ionic-native/extended-device-information/ngx';


constructor(private extendedDeviceInformation: ExtendedDeviceInformation) { }

...

console.log('The Memory is: ' + this.extendedDeviceInformation.memory);