MiniProgramMapsProvider class abstract interface

Trusted host adapter. Choose compatible installed apps using host settings, encode destination data, and preserve the calling Activity/task. Never request device location or fall back to displaying a pin for directions. Success means map UI opened, not that a route or journey was completed.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
openDirections({required String miniProgramId, required MiniProgramMapDestination destination, required MiniProgramMapTravelMode mode}) → Future<void>
openLocation({required String miniProgramId, required MiniProgramMapDestination destination}) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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