cancelSendMediaMessage static method
取消发送媒体消息
message
消息对象
Implementation
static Future<void> cancelSendMediaMessage(Message message, Function(int? code)? finished) async {
Map msgMap = MessageFactory.instance!.message2Map(message);
Map paramMap = {"message": msgMap};
int? result = await _channel.invokeMethod(RCMethodKey.CancelSendMediaMessage, paramMap);
finished?.call(result);
}