LocationManager$Impl class
- Implemented types
Constructors
-
LocationManager$Impl(Pointer<
Void> handle)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addLocationListener(
LocationListener listener) → void -
Method is used to add LocationListener element
which will notify about newly downloaded and set location.
Note: Do not forget to remove listener if it is no longer needed!
listenerCorresponding LocationListener class.override -
commitChanges(
) → void -
override
-
getLocationId(
) → int -
Method returns current location unique identifier
Returns current location unique identifier
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeLocationListener(
LocationListener listener) → void -
Method is used for removing previously added LocationListener class element.
listenerCorresponding LocationListener class to remove.override -
revertChanges(
) → void -
override
-
setLocationId(
int locationId) → void -
Method is used for setting current location, which will be downloaded from server or from storage, if it was downloaded before.
Result will be handled by LocationListener
locationIdlocation id from CMSoverride -
setLocationUpdateInterval(
int interval) → void -
Method is used to change interval in seconds check for new version from server
Default: 300s
intervalupdate interval in secondsoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited