FlutterDingtalk class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
isDingDingInstalled ()
→ Future <bool >
true if DingTalk installed,otherwise false.
是否安装了钉钉
registerApp (String appId , String iosBundleId )
→ Future <bool >
iosBundleId
is necessary on IOS
注册钉钉,IOS端必传buindleId
sendAuth (String state )
→ Future <bool >
The DingTalk-Login is under Auth-2.0
This method login with native DingTalk app.
This method only supports getting AuthCode,this is first step to login with DingTalk
Once AuthCode got, you need to request Access_Token
For more information please visit:
sendImageMessage ({bool isSendDing = false , String ? picUrl , String ? picPath })
→ Future <bool >
picUrl
is necessary on IOS
分享图片(IOS端必传picUrl)
sendTextMessage (String text , {bool isSendDing = false })
→ Future <bool >
分享文本
sendWebPageMessage (String url , {bool isSendDing = false , required String title , required String content , required String thumbUrl })
→ Future <bool >
分享网页链接