FileRecvControlCallback


Description:

[ CCode ( has_target = false ) ]
public delegate void FileRecvControlCallback (Tox self, uint32 friend_number, uint32 file_number, FileControl control, void* user_data)

When receiving FileControl.CANCEL, the client should release the resources associated with the file number and consider the transfer failed.

Parameters:

friend_number

The friend number of the friend who is sending the file.

file_number

The friend-specific file number the data received is associated with.

control

The file control command received.