MethodChannelMapxusPositioningFlutter class
The Android (and default) implementation of the plugin using Flutter’s MethodChannel and EventChannel.
This class communicates with native Android code through platform channels to handle Mapxus Positioning SDK methods.
- Inheritance
-
- Object
- PlatformInterface
- MapxusPositioningFlutterPlatform
- MethodChannelMapxusPositioningFlutter
Constructors
Properties
-
events
→ Stream<
MapxusEvent> -
Listens to event streams from the native side.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
String appId, String secret) → Future< MapxusMethodResponse> -
Initializes the Mapxus Positioning SDK with the given
appIdandsecret.override -
isInitialized(
) → Future< bool> -
Checks whether the Mapxus SDK has been initialized successfully.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< MapxusMethodResponse> -
Pauses the positioning service temporarily.
override
-
resume(
) → Future< MapxusMethodResponse> -
Resumes the positioning service after being paused.
override
-
start(
) → Future< MapxusMethodResponse> -
Starts the Mapxus positioning service.
override
-
stop(
) → Future< MapxusMethodResponse> -
Stops the Mapxus positioning service completely.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited