sendMediaMessage method
Future<int>
sendMediaMessage(
- RCIMIWMediaMessage message, {
- RCIMIWSendMediaMessageListener? listener,
发送媒体消息
message
发送的媒体消息实体listener
发送媒体消息的事件监听返回值
当次接口操作的状态码。0 代表调用成功 具体结果需要实现接口回调,非 0 代表当前接口调用操作失败,不会触发接口回调,详细错误参考错误码接口回调
接口回调可以监听 onMediaMessageSending,onMediaMessageAttached,onMediaMessageSent
Implementation
Future<int> sendMediaMessage(RCIMIWMediaMessage message,
{RCIMIWSendMediaMessageListener? listener}) async {
return RCIMWrapperPlatform.instance
.sendMediaMessage(message, listener: listener);
}