MapxusPositioningFlutterPlatform class abstract
Platform interface for MapxusPositioningFlutter.
This defines the contract for all platform implementations. The default implementation uses the MethodChannel on Android.
- Inheritance
-
- Object
- PlatformInterface
- MapxusPositioningFlutterPlatform
- Implementers
Constructors
Properties
-
events
→ Stream<
MapxusEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkSensorStatus(
) → Future< MapxusSensorResultModel> -
init(
String appId, String secret) → Future< MapxusMethodResponse> -
isForegroundServiceRunning(
) → Future< bool> - Returns true if the Android foreground service is currently running. Use this on app startup to restore UI state after the app was killed.
-
isInitialized(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< MapxusMethodResponse> -
resume(
) → Future< MapxusMethodResponse> -
setBackgroundHandlerRaw(
{required int dispatcherHandle, required int userCallbackHandle}) → Future< MapxusMethodResponse> - Stores the raw Dart callback handles so the Android foreground service can start a headless Flutter engine and call the developer's handler.
-
start(
) → Future< MapxusMethodResponse> -
startForegroundService(
{required String appId, required String secret, String notificationTitle, String notificationContent}) → Future< MapxusMethodResponse> -
stop(
) → Future< MapxusMethodResponse> -
stopForegroundService(
) → Future< MapxusMethodResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ MapxusPositioningFlutterPlatform
-
The default instance of MapxusPositioningFlutterPlatform to use.
getter/setter pair