mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Location module deprecated.
This commit is contained in:
@@ -5,6 +5,7 @@ import utils = require("utils/utils");
|
||||
|
||||
global.moduleMerge(common, exports);
|
||||
|
||||
@Deprecated
|
||||
export class LocationManager implements locationModule.LocationManager {
|
||||
get android(): locationModule.AndroidLocationManager {
|
||||
return this.androidLocationManager;
|
||||
@@ -193,6 +194,7 @@ export class LocationManager implements locationModule.LocationManager {
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
export class AndroidLocationManager implements locationModule.AndroidLocationManager {
|
||||
private _manager: android.location.LocationManager;
|
||||
private _minimumUpdateTime: number;
|
||||
|
||||
Reference in New Issue
Block a user