Constructor
ValentDeviceTransfernew
unstable since: 1.0
Declaration [src]
ValentTransfer*
valent_device_transfer_new (
ValentDevice* device,
JsonNode* packet,
GFile* file
)
Parameters
device-
Type:
ValentDeviceA
ValentDevice.The data is owned by the caller of the function. packet-
Type:
JsonNodeA KDE Connect packet.
The data is owned by the caller of the function. file-
Type:
GFileA
GFile.The data is owned by the caller of the function.
Return value
Type: ValentTransfer
A ValentDeviceTransfer.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |