
const { registerUTSInterface, initUTSProxyClass, initUTSProxyFunction, initUTSPackageName, initUTSIndexClassName, initUTSClassName } = uni
const name = 'wrsUtsKeepalive'
const moduleName = 'app后台保活、后台定位、支持熄屏、支持Android和ios'
const moduleType = ''
const errMsg = ``
const is_uni_modules = true
const pkg = /*#__PURE__*/ initUTSPackageName(name, is_uni_modules)
const cls = /*#__PURE__*/ initUTSIndexClassName(name, is_uni_modules)

const exports = { __esModule: true }



exports.UTSKeepalive = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'UTSKeepaliveByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"playMusicByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"}]},"stopMusicByJs":{"async":false,"keepAlive":false,"params":[]},"requestLocationAuthorizationByJs":{"async":false,"keepAlive":false,"params":[]},"startLocationByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"}]},"stopLocationByJs":{"async":false,"keepAlive":false,"params":[]},"destoryByJs":{"async":false,"keepAlive":false,"params":[]}},"staticMethods":{"setCallbackByJs":{"async":false,"keepAlive":true,"params":[{"name":"callback","type":"UTSCallback"}]},"callbackByJs":{"async":false,"keepAlive":false,"params":[{"name":"result","type":"UTSJSONObject"}]},"getAuthorizationStatusByJs":{"async":false,"keepAlive":false,"params":[]},"setCategoryByJs":{"async":false,"keepAlive":false,"params":[{"name":"category","type":"string"}]},"beginBackgroundTaskByJs":{"async":false,"keepAlive":false,"params":[]},"endBackgroundTaskByJs":{"async":false,"keepAlive":false,"params":[]},"listenerAppByJs":{"async":false,"keepAlive":true,"params":[{"name":"callback","type":"UTSCallback"}]},"enterForegroundByJs":{"async":false,"keepAlive":false,"params":[]},"enterBackgroundByJs":{"async":false,"keepAlive":false,"params":[]},"goToAppSettingsByJs":{"async":false,"keepAlive":false,"params":[]},"startForegroundServiceByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"}]},"startLocstionServiceByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"}]},"checkSelfPermissionByJs":{"async":false,"keepAlive":false,"params":[{"name":"permission","type":"string"}]},"startLocalServiceByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"}]},"startRemoteServiceByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"}]},"startServiceByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"},{"name":"intent","type":"Intent"}]},"startJobServiceByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"UTSJSONObject"}]},"startScreenLockReceiverByJs":{"async":false,"keepAlive":false,"params":[]},"hideSysTaskListByJs":{"async":false,"keepAlive":false,"params":[]},"toWhiteListPageByJs":{"async":false,"keepAlive":false,"params":[]}},"props":["locationManager","locationManagerDelegate","player"],"staticProps":["taskIdentify","appLiftCallback","handle"],"setters":{"locationManager":{"name":"locationManager","type":"CLLocationManager","default":"UTSNull"},"locationManagerDelegate":{"name":"locationManagerDelegate","type":"UTSSDKModulesWrsUtsKeepaliveUTSCLLocationManagerDelegateJSONObject"},"player":{"name":"player","type":"AVAudioPlayer","default":"UTSNull"}},"staticSetters":{"taskIdentify":{"name":"taskIdentify","type":"UIBackgroundTaskIdentifier","default":"UTSNull"},"appLiftCallback":{"name":"appLiftCallback","type":"UTSCallback","default":"UTSNull"},"handle":{"name":"handle","type":"UTSCallback","default":"UTSNull"}}} ))
exports.CLLocationToJSON = /*#__PURE__*/ initUTSProxyFunction(false, { moduleName, moduleType, errMsg, main: true, package: pkg, class: cls, name: 'CLLocationToJSONByJs', keepAlive: false, params: [{"name":"model","type":"CLLocation","default":"UTSNull"}], return: ""})
exports.ForegroundService = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'ForegroundServiceByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onStartCommandByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"},{"name":"flags","type":"Int"},{"name":"startId","type":"Int"}]},"onBindByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"}]},"onDestroyByJs":{"async":false,"keepAlive":false,"params":[]}},"staticMethods":{},"props":[],"staticProps":[],"setters":{},"staticSetters":{}} ))
exports.LocationService = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'LocationServiceByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onStartCommandByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"},{"name":"flags","type":"Int"},{"name":"startId","type":"Int"}]},"onBindByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"}]},"onDestroyByJs":{"async":false,"keepAlive":false,"params":[]}},"staticMethods":{},"props":["locationManager","locationListener"],"staticProps":[],"setters":{"locationManager":{"name":"locationManager","type":"LocationManager","default":"UTSNull"},"locationListener":{"name":"locationListener","type":"UTSSDKModulesWrsUtsKeepaliveUTSLocationListenerJSONObject"}},"staticSetters":{}} ))
exports.LocalForegroundService = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'LocalForegroundServiceByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onDestroyByJs":{"async":false,"keepAlive":false,"params":[]},"onCreateByJs":{"async":false,"keepAlive":false,"params":[]},"onStartCommandByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"},{"name":"flags","type":"Int"},{"name":"startId","type":"Int"}]},"onBindByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"}]}},"staticMethods":{},"props":["myBinder","connection","onStartCommandIntent"],"staticProps":[],"setters":{"myBinder":{"name":"myBinder","type":"UTSSDKModulesWrsUtsKeepaliveMyBinderJSONObject"},"connection":{"name":"connection","type":"UTSSDKModulesWrsUtsKeepaliveUTSServiceConnectionJSONObject"},"onStartCommandIntent":{"name":"onStartCommandIntent","type":"Intent","default":"UTSNull"}},"staticSetters":{}} ))
exports.LocalForegroundCancelNotificationService = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'LocalForegroundCancelNotificationServiceByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onBindByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"}]}},"staticMethods":{},"props":[],"staticProps":[],"setters":{},"staticSetters":{}} ))
exports.RemoteForegroundService = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'RemoteForegroundServiceByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onDestroyByJs":{"async":false,"keepAlive":false,"params":[]},"onCreateByJs":{"async":false,"keepAlive":false,"params":[]},"onStartCommandByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"},{"name":"flags","type":"Int"},{"name":"startId","type":"Int"}]},"onBindByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"}]}},"staticMethods":{},"props":["myBinder","connection","onStartCommandIntent"],"staticProps":[],"setters":{"myBinder":{"name":"myBinder","type":"UTSSDKModulesWrsUtsKeepaliveMyBinderJSONObject"},"connection":{"name":"connection","type":"UTSSDKModulesWrsUtsKeepaliveUTSServiceConnectionJSONObject"},"onStartCommandIntent":{"name":"onStartCommandIntent","type":"Intent","default":"UTSNull"}},"staticSetters":{}} ))
exports.RemoteForegroundCancelNotificationService = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'RemoteForegroundCancelNotificationServiceByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onBindByJs":{"async":false,"keepAlive":false,"params":[{"name":"intent","type":"Intent","default":"UTSNull"}]}},"staticMethods":{},"props":[],"staticProps":[],"setters":{},"staticSetters":{}} ))
exports.KeepAliveJobService = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'KeepAliveJobServiceByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onDestroyByJs":{"async":false,"keepAlive":false,"params":[]},"onStartJobByJs":{"async":false,"keepAlive":false,"params":[{"name":"params","type":"JobParameters","default":"UTSNull"}]},"onStopJobByJs":{"async":false,"keepAlive":false,"params":[{"name":"p0","type":"JobParameters","default":"UTSNull"}]}},"staticMethods":{},"props":[],"staticProps":[],"setters":{},"staticSetters":{}} ))
exports.ScreenLockReceiver = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'ScreenLockReceiverByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onReceiveByJs":{"async":false,"keepAlive":false,"params":[{"name":"context","type":"Context"},{"name":"intent","type":"Intent"}]}},"staticMethods":{},"props":[],"staticProps":[],"setters":{},"staticSetters":{}} ))
exports.HooliganActivity = /*#__PURE__*/ initUTSProxyClass(Object.assign({ moduleName, moduleType, errMsg, package: pkg, class: initUTSClassName(name, 'HooliganActivityByJs', is_uni_modules) }, {"constructor":{"params":[]},"methods":{"onCreateByJs":{"async":false,"keepAlive":false,"params":[{"name":"savedInstanceState","type":"Bundle"}]},"onDestroyByJs":{"async":false,"keepAlive":false,"params":[]}},"staticMethods":{"killHooliganByJs":{"async":false,"keepAlive":false,"params":[]},"startHooliganByJs":{"async":false,"keepAlive":false,"params":[]}},"props":[],"staticProps":["instance"],"setters":{},"staticSetters":{"instance":{"name":"instance","type":"UTSSDKModulesWrsUtsKeepaliveHooliganActivityJSONObject","default":"UTSNull"}}} ))
uni.registerUTSPlugin('uni_modules/wrs-uts-keepalive', exports)
