ChatKitLocationProvider class abstract
聊天界面位置信息提供者,此处使用阿里的高德地图实现
Constructors
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
-
buildLocationItem(
NIMMessage message) → Widget -
创建位置信息Item
message
位置消息 -
goToLocationMapPage<
T extends Object?> (BuildContext context, {LocationInfo? locationInfo, bool needLocate = false, bool showOpenMap = false}) → Future< T?> -
跳转到地图页面定位
locationInfo
位置信息needLocate
是否需要定位showOpenMap
是否显示打开地图按钮 -
initLocationMap(
{String? aMapAndroidKey, String? aMapIOSKey, String? aMapWebKey}) → void - 初始化定位地图 需要再使用前调用
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited