AMapLocationOption constructor
AMapLocationOption({
- int locationInterval = 2000,
- bool needAddress = true,
- AMapLocationMode locationMode = AMapLocationMode.Hight_Accuracy,
- GeoLanguage geoLanguage = GeoLanguage.DEFAULT,
- bool onceLocation = false,
- bool isBackground = false,
- DesiredAccuracy desiredAccuracy = DesiredAccuracy.Best,
- double distanceFilter = -1,
- AMapLocationAccuracyAuthorizationMode desiredLocationAccuracyAuthorizationMode = AMapLocationAccuracyAuthorizationMode.FullAccuracy,
Implementation
AMapLocationOption(
{this.locationInterval = 2000,
this.needAddress = true,
this.locationMode = AMapLocationMode.Hight_Accuracy,
this.geoLanguage = GeoLanguage.DEFAULT,
this.onceLocation = false,
this.isBackground = false,
this.desiredAccuracy = DesiredAccuracy.Best,
this.distanceFilter = -1,
this.desiredLocationAccuracyAuthorizationMode =
AMapLocationAccuracyAuthorizationMode.FullAccuracy});