Method

MsgDriveServicedownload_item

Declaration [src]

GInputStream*
msg_drive_service_download_item (
  MsgDriveService* self,
  MsgDriveItem* item,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Download item.

Parameters

item MsgDriveItem
 

A MsgDriveItem.

 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GInputStream
 

Input stream of drive item.

 The caller of the method takes ownership of the data, and is responsible for freeing it.