TrackingProfileManager class
Constructors
-
TrackingProfileManager({required Future<
void> applyConfig(Config config), required Stream<GeolocationEvent> events})
Properties
-
applyConfig
→ Future<
void> Function(Config config) -
final
- currentProfile → TrackingProfile?
-
no setter
-
errors
→ Stream<
ProfileSwitchError> -
Stream of profile switch errors.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
Whether this manager has been disposed.
no setter
-
profileChanges
→ Stream<
ProfileChangeEvent> -
Stream of profile change events.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Disposes of this manager and releases all resources. After calling dispose, this manager should not be used.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProfile(
TrackingProfile profile, {String? reason}) → Future< void> -
setProfiles(
Map< TrackingProfile, Config> profiles) → void -
setRules(
List< TrackingProfileRule> rules) → void -
startAutomation(
) → void -
stopAutomation(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited