set_file_transfer_timestamp


Description:

[ Version ( since = "0.19.0" ) ]
public void set_file_transfer_timestamp (uint64 timestamp)

Configure this channel request to accompany the file transfer with the given modification timestamp for the file.

If file timestamps are not supported by the protocol, or if this method is used on a request that is not actually a file transfer, the channel request will fail. Use tp_capabilities_supports_file_transfer_date to determine whether outgoing file transfers can have a timestamp.

This function can't be called once this has been used to request a channel.

Parameters:

this

a AccountChannelRequest

timestamp

the modification timestamp of the file, in seconds since the Unix epoch (the beginning of 1970 in the UTC time zone), as returned by to_unix




2022 vala-language.org