Usage

Usage

Call the API when needed, for example, if you want to ShutDown, call and remember to add using space.

QwrDeviceManager.PowerManager.AndroidShutDown();

Requirements

  1. Android API requirement: minSdkVersion 19, targetSdkVersion 19, if your project is not consistent with this version, you can follow steps below try to fix it, first, pull the AndroidManifest.xml out of the libQWRDeviceManager.aar, fix minsdkVersion andtargetsdkVersionto your own version, if yourminsdkversionis less than 24, recommend to remove stringandroid:directBootAware="true"in AndroidManifest.xml, after that, push it to zip file libQWRDeviceManager.aar to replace the original file, then try to build again.

Next Previous

Last updated