MethodChannelTrackiva class

Inheritance

Constructors

MethodChannelTrackiva()

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
final
onLocationUpdate Stream<LocationData>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canDrawOverlays() Future<bool>
Check if overlay permission is granted (Android only)
override
clearTrackingData() Future<bool>
override
getCurrentLocation() Future<LocationData?>
override
getLocationAccuracy() Future<LocationAccuracy>
override
getMqttStatus() Future<Map<String, dynamic>>
override
getPlatformVersion() Future<String?>
override
getTrackingStats() Future<TrackingStats>
override
initialize({required String notificationTitle, required String notificationText, required int interval, required int fastestInterval, required double distanceFilter, bool enableBackgroundMode = true, bool enableHighAccuracy = true, bool enableBatteryOptimization = false, String? notificationIcon, String? notificationColor, String? chatHeadIcon, bool enableChatHead = false, bool enableLogging = true, bool showLocationNotifications = false, String? locationNotificationTitle, String? locationNotificationBody}) Future<void>
override
isLocationServiceEnabled() Future<bool>
override
isTracking() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestOverlayPermission() Future<bool>
Request overlay permission (Android only) Opens system settings for the user to grant permission
override
setGraphQLConfig({required String endpoint, required String mutation, required Map<String, String> headers}) Future<void>
Set GraphQL configuration
override
setHttpConfig({required String endpoint, required Map<String, String> headers, required String method}) Future<void>
Set HTTP configuration
override
setLocationAccuracy(LocationAccuracy accuracy) Future<bool>
override
setMqttConfigAndDetails({required String broker, required int port, String? username, String? password, required String topic, required Map<String, dynamic> payload}) Future<void>
Set MQTT configuration with flexible payload
override
startChatHeadService() Future<bool>
Manually start chat head service (Android only) Useful after overlay permission is granted
override
startTracking() Future<void>
override
stopTracking() Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited