FluDingtalkPluginApi class

Constructors

FluDingtalkPluginApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for FluDingtalkPluginApi. The binaryMessenger named 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
pigeonVar_binaryMessenger BinaryMessenger?
final
pigeonVar_messageChannelSuffix String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isDingDingInstalled() Future<bool>
isDingTalkSupportSSO() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAPIVersion() Future<String>
openDDApp() Future<bool>
registerApp(String appId, String iosBundleId) Future<bool>
sendAuth(DTAuthReq authReq) Future<bool>
sendImageMessage({String? picUrl, String? picPath}) Future<bool>
picUrl is necessary on IOS 分享图片(IOS端必传picUrl) picUrl 图片URL. @note 长度不能超过 10K.
sendTextMessage(String text) Future<bool>
分享文本 text 文本内容. @note 长度不超过 1K.
sendWebPageMessage(String url, {required String title, required String content, required String thumbUrl}) Future<bool>
分享网页链接 url Web页面的URL. @note 长度不能超过 10K. title 标题. @note 长度不超过 512Byte. content 描述内容. @note 长度不超过 1K. thumbUrl 缩略图URL. @note 长度不超过 10K.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

pigeonChannelCodec → const MessageCodec<Object?>