| /expo/packages/expo-location/build/ |
| H A D | GeolocationPolyfill.js | 51 const watchId = LocationSubscriber.registerCallback(success); 52 ExpoLocation.watchPositionImplAsync(watchId, options).catch((err) => { 53 LocationSubscriber.unregisterCallback(watchId); 54 error({ watchId, message: err.message, code: err.code }); field 56 return watchId; 59 function clearWatch(watchId) { argument 60 LocationSubscriber.unregisterCallback(watchId);
|
| H A D | LocationSubscribers.js | 44 const watchId = event.watchId; 45 const callback = this.callbacks[watchId]; 50 ExpoLocation.removeWatchAsync(watchId);
|
| H A D | ExpoLocation.web.js | 89 async removeWatchAsync(watchId) { 90 navigator.geolocation.clearWatch(watchId); 104 async watchPositionImplAsync(watchId, options) { 107 watchId = global.navigator.geolocation.watchPosition((position) => { 110 watchId, field 116 resolve(watchId);
|
| H A D | Location.js | 75 const watchId = LocationSubscriber.registerCallback(callback); 76 await ExpoLocation.watchPositionImplAsync(watchId, options); 79 LocationSubscriber.unregisterCallback(watchId); 111 const watchId = HeadingSubscriber.registerCallback(callback); 112 await ExpoLocation.watchDeviceHeading(watchId); 115 HeadingSubscriber.unregisterCallback(watchId);
|
| H A D | ExpoLocation.web.d.ts | 15 removeWatchAsync(watchId: any): Promise<void>; 20 watchPositionImplAsync(watchId: string, options: LocationOptions): Promise<string>;
|
| H A D | GeolocationPolyfill.js.map | 1 …watchId = LocationSubscriber.registerCallback(success);\n\n ExpoLocation.watchPositionImplAsync(w…
|
| /expo/packages/expo-location/src/ |
| H A D | GeolocationPolyfill.ts | 79 const watchId = LocationSubscriber.registerCallback(success); constant 81 ExpoLocation.watchPositionImplAsync(watchId, options).catch((err) => { 82 LocationSubscriber.unregisterCallback(watchId); 83 error({ watchId, message: err.message, code: err.code }); 86 return watchId; 90 function clearWatch(watchId: number) { 91 LocationSubscriber.unregisterCallback(watchId);
|
| H A D | LocationSubscribers.ts | 8 watchId: number; 64 const watchId = event.watchId; constant 65 const callback = this.callbacks[watchId]; constant 70 ExpoLocation.removeWatchAsync(watchId);
|
| H A D | ExpoLocation.web.ts | 111 async removeWatchAsync(watchId): Promise<void> { 112 navigator.geolocation.clearWatch(watchId); 126 async watchPositionImplAsync(watchId: string, options: LocationOptions): Promise<string> { 129 watchId = global.navigator.geolocation.watchPosition( 133 watchId, 141 resolve(watchId);
|
| H A D | Location.ts | 115 const watchId = LocationSubscriber.registerCallback(callback); constant 116 await ExpoLocation.watchPositionImplAsync(watchId, options); 120 LocationSubscriber.unregisterCallback(watchId); 156 const watchId = HeadingSubscriber.registerCallback(callback); constant 157 await ExpoLocation.watchDeviceHeading(watchId); 161 HeadingSubscriber.unregisterCallback(watchId);
|
| /expo/packages/expo-location/src/__tests__/ |
| H A D | Location-test.native.ts | 130 const watchId = navigator.geolocation.watchPosition(callback); constant 137 navigator.geolocation.clearWatch(watchId); 146 watchId: Location._getCurrentWatchId(),
|
| /expo/ios/versioned/sdk49/EXLocation/EXLocation/ |
| H A D | ABI49_0_0EXLocationDelegate.m | 7 - (instancetype)initWithId:(nullable NSNumber *)watchId 14 _watchId = watchId;
|
| H A D | ABI49_0_0EXLocationDelegate.h | 12 @property (nonatomic, strong) NSNumber *watchId; 18 - (instancetype)initWithId:(nullable NSNumber *)watchId
|
| H A D | ABI49_0_0EXLocation.m | 131 watchId:(nonnull NSNumber *)watchId 143 …ABI49_0_0EXLocationDelegate *delegate = [[ABI49_0_0EXLocationDelegate alloc] initWithId:watchId wi… 149 @"watchId": watchId, 163 _delegates[delegate.watchId] = delegate; 188 watchHeadingWithWatchId:(nonnull NSNumber *)watchId 202 …ABI49_0_0EXLocationDelegate *delegate = [[ABI49_0_0EXLocationDelegate alloc] initWithId:watchId wi… 218 NSDictionary *body = @{@"watchId": watchId, 231 _delegates[delegate.watchId] = delegate; 238 watchId:(nonnull NSNumber *)watchId 242 ABI49_0_0EXLocationDelegate *delegate = _delegates[watchId]; [all …]
|
| /expo/ios/versioned/sdk47/EXLocation/EXLocation/ |
| H A D | ABI47_0_0EXLocationDelegate.m | 7 - (instancetype)initWithId:(nullable NSNumber *)watchId 14 _watchId = watchId;
|
| H A D | ABI47_0_0EXLocationDelegate.h | 12 @property (nonatomic, strong) NSNumber *watchId; 18 - (instancetype)initWithId:(nullable NSNumber *)watchId
|
| H A D | ABI47_0_0EXLocation.m | 131 watchId:(nonnull NSNumber *)watchId 143 …ABI47_0_0EXLocationDelegate *delegate = [[ABI47_0_0EXLocationDelegate alloc] initWithId:watchId wi… 149 @"watchId": watchId, 163 _delegates[delegate.watchId] = delegate; 188 watchHeadingWithWatchId:(nonnull NSNumber *)watchId 202 …ABI47_0_0EXLocationDelegate *delegate = [[ABI47_0_0EXLocationDelegate alloc] initWithId:watchId wi… 218 NSDictionary *body = @{@"watchId": watchId, 231 _delegates[delegate.watchId] = delegate; 238 watchId:(nonnull NSNumber *)watchId 242 ABI47_0_0EXLocationDelegate *delegate = _delegates[watchId]; [all …]
|
| /expo/ios/versioned/sdk48/EXLocation/EXLocation/ |
| H A D | ABI48_0_0EXLocationDelegate.m | 7 - (instancetype)initWithId:(nullable NSNumber *)watchId 14 _watchId = watchId;
|
| H A D | ABI48_0_0EXLocationDelegate.h | 12 @property (nonatomic, strong) NSNumber *watchId; 18 - (instancetype)initWithId:(nullable NSNumber *)watchId
|
| H A D | ABI48_0_0EXLocation.m | 131 watchId:(nonnull NSNumber *)watchId 143 …ABI48_0_0EXLocationDelegate *delegate = [[ABI48_0_0EXLocationDelegate alloc] initWithId:watchId wi… 149 @"watchId": watchId, 163 _delegates[delegate.watchId] = delegate; 188 watchHeadingWithWatchId:(nonnull NSNumber *)watchId 202 …ABI48_0_0EXLocationDelegate *delegate = [[ABI48_0_0EXLocationDelegate alloc] initWithId:watchId wi… 218 NSDictionary *body = @{@"watchId": watchId, 231 _delegates[delegate.watchId] = delegate; 238 watchId:(nonnull NSNumber *)watchId 242 ABI48_0_0EXLocationDelegate *delegate = _delegates[watchId]; [all …]
|
| /expo/packages/expo-location/ios/EXLocation/ |
| H A D | EXLocationDelegate.h | 12 @property (nonatomic, strong) NSNumber *watchId; 18 - (instancetype)initWithId:(nullable NSNumber *)watchId
|
| H A D | EXLocationDelegate.m | 7 - (instancetype)initWithId:(nullable NSNumber *)watchId 14 _watchId = watchId;
|
| H A D | EXLocation.m | 131 watchId:(nonnull NSNumber *)watchId 143 …EXLocationDelegate *delegate = [[EXLocationDelegate alloc] initWithId:watchId withLocMgr:locMgr on… 149 @"watchId": watchId, 163 _delegates[delegate.watchId] = delegate; 188 watchHeadingWithWatchId:(nonnull NSNumber *)watchId 202 …EXLocationDelegate *delegate = [[EXLocationDelegate alloc] initWithId:watchId withLocMgr:locMgr on… 218 NSDictionary *body = @{@"watchId": watchId, 231 _delegates[delegate.watchId] = delegate; 238 watchId:(nonnull NSNumber *)watchId 242 EXLocationDelegate *delegate = _delegates[watchId]; [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Settings/ |
| H A D | Settings.d.ts | 14 clearWatch(watchId: number): void;
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Settings/ |
| H A D | Settings.d.ts | 14 clearWatch(watchId: number): void;
|