sendToExternalHtml method
send custom message to external html
Parameter fileId
Whiteboard file ID
Parameter msg
custom message
Returns
- ResultCode.OK Success
- Others: Fail
Note only support external html doc
发送自定义消息到外部HTML页面
Parameter fileId
白板文件ID
Parameter msg
自定义消息
Returns
- ResultCode.OK: 成功
- Others: 失败
Note 只支持外部HTML
Implementation
@override
Future<ResultCode> sendToExternalHtml(String fileId, String msg) {
return _invokeCodeMethod(
'sendToExternalHtml', {'fileId': fileId, 'msg': msg});
}