I use Wear Engine to send files from watch (HarmonyOS) to phone (Android). I can't find any method to cancel/abort file transfer. I imagine a file can weigh many megabytes and there is no option to stop the bytes transfer.
P2pClient object doesn't expose any method to cancel file sending. P2pClient send() method returns Task result but I was unable to find here any way to stop this Task returned by P2pClient.