import { AnyObj } from "../api/index.d" ; const plainApisEnums = [ "onUnhandledRejection" , "onPageNotFound" , "onError" , "onAudioInterruptionEnd" , "onAudioInterruptionBegin" , "onAppShow" , "onAppHide" , "offUnhandledRejection" , "offPageNotFound" , "offError" , "offAudioInterruptionEnd" , "offAudioInterruptionBegin" , "offAppShow" , "offAppHide" , "onWindowResize" , "offWindowResize" , "onKeyboardHeightChange" , "onSocketOpen" , "onSocketMessage" , "onSocketError" , "onSocketClose" , "onLocalServiceResolveFail" , "onLocalServiceLost" , "onLocalServiceFound" , "onLocalServiceDiscoveryStop" , "offLocalServiceResolveFail" , "offLocalServiceLost" , "offLocalServiceFound" , "offLocalServiceDiscoveryStop" , "setStorageSync" , "removeStorageSync" , "getStorageSync" , "getStorageInfoSync" , "clearStorageSync" , "onBackgroundAudioStop" , "onBackgroundAudioPlay" , "onBackgroundAudioPause" , "onLocationChange" , "offLocationChange" , "reportPerformance" , "onBluetoothDeviceFound" , "onBluetoothAdapterStateChange" , "offBluetoothDeviceFound" , "offBluetoothAdapterStateChange" , "onBeaconUpdate" , "onBeaconServiceChange" , "offBeaconUpdate" , "offBeaconServiceChange" , "onWifiConnected" , "onGetWifiList" , "offWifiConnected" , "offGetWifiList" , "onBLEConnectionStateChange" , "onBLECharacteristicValueChange" , "offBLEConnectionStateChange" , "offBLECharacteristicValueChange" , "getBatteryInfoSync" , "onHCEMessage" , "offHCEMessage" , "onNetworkStatusChange" , "offNetworkStatusChange" , "onUserCaptureScreen" , "offUserCaptureScreen" , "onAccelerometerChange" , "offAccelerometerChange" , "onCompassChange" , "offCompassChange" , "onDeviceMotionChange" , "offDeviceMotionChange" , "onGyroscopeChange" , "offGyroscopeChange" , "onMemoryWarning" , "offMemoryWarning" , ] ; const plainApis = { } ; plainApisEnums . forEach ( api => { plainApis [ api ] = function ( ) { } ; } ) ; export default plainApis ;