MediaTransferHandle
Asynchronous media transfer handle.
Keep it to have the completion status called. To cancel the transfer when the handle is closed, call setAutoCancel(true). You can close the handle by closing the handle.
The transfer is also cancelled when the handle is set to auto cancel and it is garbage-collected. Because garbage collection is not deterministic, you should not rely on it and always close it when you want to stop it.