Constructor
ValentDeviceTransfernew
unstable since: 1.0
Declaration [src]
ValentTransfer*
valent_device_transfer_new (
ValentDevice* device,
JsonNode* packet,
GFile* file
)
Parameters
device
-
Type:
ValentDevice
A
ValentDevice
.The data is owned by the caller of the function. packet
-
Type:
JsonNode
A KDE Connect packet.
The data is owned by the caller of the function. file
-
Type:
GFile
A
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 . |