Home
last modified time | relevance | path

Searched refs:_nativeModule (Results 1 – 19 of 19) sorted by relevance

/expo/packages/expo-sensors/build/
H A DDeviceSensor.js7 _nativeModule; field in DeviceSensor
12 this._nativeModule = nativeSensorModule;
61 if (!this._nativeModule.setUpdateInterval) {
65 this._nativeModule.setUpdateInterval(intervalMs);
73 if (!this._nativeModule.isAvailableAsync) {
77 return await this._nativeModule.isAvailableAsync();
84 if (!this._nativeModule.getPermissionsAsync) {
88 return await this._nativeModule.getPermissionsAsync();
95 if (!this._nativeModule.requestPermissionsAsync) {
99 return await this._nativeModule.requestPermissionsAsync();
H A DDeviceSensor.js.map1_nativeModule: NativeSensorModule;\n _nativeEmitter: EventEmitter;\n _nativeEventName: string;\n…
H A DDeviceSensor.d.ts12 _nativeModule: NativeSensorModule; property in DeviceSensor
/expo/packages/expo-sensors/src/
H A DDeviceSensor.ts22 _nativeModule: NativeSensorModule; property in DeviceSensor
28 this._nativeModule = nativeSensorModule;
83 if (!this._nativeModule.setUpdateInterval) {
86 this._nativeModule.setUpdateInterval(intervalMs);
95 if (!this._nativeModule.isAvailableAsync) {
98 return await this._nativeModule.isAvailableAsync();
106 if (!this._nativeModule.getPermissionsAsync) {
109 return await this._nativeModule.getPermissionsAsync();
117 if (!this._nativeModule.requestPermissionsAsync) {
120 return await this._nativeModule.requestPermissionsAsync();
/expo/packages/expo-modules-core/build/
H A DEventEmitter.js6 _nativeModule; field in EventEmitter
17 this._nativeModule = nativeModule;
21 if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.startObserving) {
22 this._nativeModule.startObserving();
44 if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.stopObserving) {
45 this._nativeModule.stopObserving();
66 if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.stopObserving) {
67 this._nativeModule.stopObserving();
H A DEventEmitter.js.map1_nativeModule: NativeModule;\n _eventEmitter: NativeEventEmitter;\n\n constructor(nativeModule: …
H A DEventEmitter.d.ts17 _nativeModule: NativeModule; property in EventEmitter
/expo/packages/expo-modules-core/src/
H A DEventEmitter.ts24 _nativeModule: NativeModule; property in EventEmitter
44 this._nativeModule = nativeModule;
49 if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.startObserving) {
50 this._nativeModule.startObserving();
78 if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.stopObserving) {
79 this._nativeModule.stopObserving();
104 if (!this._listenerCount && Platform.OS !== 'ios' && this._nativeModule.stopObserving) {
105 this._nativeModule.stopObserving();
/expo/packages/expo-sensors/src/__tests__/
H A DMagnetometer-test.native.ts30 const NativeMagnetometer = Magnetometer._nativeModule;
54 const NativeMagnetometer = Magnetometer._nativeModule;
H A DAccelerometer-test.native.ts8 const NativeAccelerometer = Accelerometer._nativeModule;
H A DGyroscope-test.native.ts8 const NativeGyroscope = Gyroscope._nativeModule;
H A DDeviceMotion-test.native.ts8 const NativeDeviceMotion = DeviceMotion._nativeModule;
H A DGyroscope-test.ios.ts8 const NativeGyroscope = Gyroscope._nativeModule;
H A DDeviceMotion-test.ios.ts8 const NativeDeviceMotion = DeviceMotion._nativeModule;
H A DAccelerometer-test.ios.ts8 const NativeAccelerometer = Accelerometer._nativeModule;
/expo/packages/expo-dev-client/android/src/androidTest/assets/
H A Dbundled_app.bundle132_nativeModule=t),u}return(0,u.default)(M,[{key:"addListener",value:function(t,l,u){return null==th…
/expo/packages/expo-dev-launcher/ios/
H A Dmain.jsbundle172_nativeModule=l:null!=l&&(o||console.warn('`new NativeEventEmitter()` was called with a non-null a…
551_nativeModule=n,this._eventEmitter=new u.NativeEventEmitter(n)}return(0,s.default)(t,[{key:"addLis…
/expo/packages/expo-dev-launcher/android/src/debug/assets/
H A Dexpo_dev_launcher_android.bundle160_nativeModule=l:null!=l&&(o||console.warn('`new NativeEventEmitter()` was called with a non-null a…
552_nativeModule=n,this._eventEmitter=new u.NativeEventEmitter(n)}return(0,s.default)(t,[{key:"addLis…
/expo/packages/expo-dev-menu/assets/
H A DEXDevMenuApp.android.js159_nativeModule=l:null!=l&&(o||console.warn('`new NativeEventEmitter()` was called with a non-null a…