![](/img/trans.png)
[英]What is the right way to communicate from a custom View to the Activity in which it resides?
[英]What is the ideal way to listen for messages from Hubot scripts?
我想创建一个hubot脚本,该脚本可以捕获多用户聊天中的消息并记录包括hubot在内的消息。 问题是hubot听不到声音。 似乎每当发送消息时适配器都不发出事件,那么有没有建议的方法来监听Hubot消息?
我们将Hubot与HipChat结合使用,并且当我们希望机器人监听时,已采取直接发布到HipChat的API的方式。 不理想,但是可行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.