LocationWakeupPlatform class abstract
The interface that implementations of flutter_location_wakeup must implement.
- Inheritance
-
- Object
- PlatformInterface
- LocationWakeupPlatform
- Implementers
Constructors
- LocationWakeupPlatform()
- Constructs a LocationWakeupPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- locationUpdates → Stream
-
A stream of location changes
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startMonitoring(
) → Future< void> - Start listening for location changes
-
stopMonitoring(
) → Future< void> - Stops listening to the system location changes and disposes platform resources. This plugin is only designed to start once, so if you need to listen again, you will need to create a new instance of this plugin.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ LocationWakeupPlatform
-
The default instance of LocationWakeupPlatform to use.
getter/setter pair