UTSAndroid
静态方法
onAppConfigChange(callback)
offAppConfigChange(callback?)
onAppTrimMemory(callback?)
offAppTrimMemory(callback?)
onAppActivityPause(callback)
offAppActivityPause(callback?)
onAppActivityResume(callback)
offAppActivityResume(callback?)
onAppActivityDestroy(callback)
offAppActivityDestroy(callback?)
onAppActivityResult(callback)
offAppActivityResult(callback?)
onAppActivityBack(callback)
offAppActivityBack(callback?)
getAppContext()
getUniActivity()
getResourcePath(resourceName)
exit()
getDispatcher(threadName)
getAppId()
getOsTheme()
isUniMp()
getAppName()
getAppVersion()
getInnerVersion()
isUniAppX()
rpx2px(rpx:number) : number;
rpx2px(rpx:number) : number;
devicePX2px(devicePX:number) : number;
isPrivacyAgree() : boolean;
setPrivacyAgree(state:boolean):void;
resetPrivacyAgree():void;
requestSystemPermission
checkSystemPermissionGranted
gotoSystemPermissionActivity
getSystemPermissionDenied
convert2AbsFullPath