ShareHostApi class
flutter调用 原生端的方法集
Constructors
-
Constructor for ShareHostApi. The
binaryMessengernamed argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
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
-
configAndroidPackage(
String arg_packageName) → Future< void> - 指定安卓端包名
-
isDingTalkInstalled(
) → Future< bool> - 判断DD是否安装
-
isDingTalkSupportOpenAPI(
) → Future< bool> - 判断是否支持钉钉分享
-
isWechatInstalled(
) → Future< bool> - 微信是否安装
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDD(
String arg_appId) → Future< bool> - 注册DD
-
registerWx(
String arg_appId, String? arg_universalLink) → Future< bool> - 注册微信
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
codec
→ const MessageCodec<
Object?>