Method
GUPnPDeviceInfoget_icon_async
Declaration [src]
void
gupnp_device_info_get_icon_async (
  GUPnPDeviceInfo* info,
  const char* requested_mime_type,
  int requested_depth,
  int requested_width,
  int requested_height,
  gboolean prefer_bigger,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Download the device icon matching the request parameters. For details on
the lookup procedure, see gupnp_device_info_get_icon_url().
This method completes asynchronously. Use gupnp_device_info_get_icon_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- requested_mime_type
- 
            Type: const char*The requested file format, or NULLfor any.The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. 
- requested_depth
- 
            Type: intThe requested color depth, or -1 for any. 
- requested_width
- 
            Type: intThe requested width, or -1 for any. 
- requested_height
- 
            Type: intThe requested height, or -1 for any. 
- prefer_bigger
- 
            Type: gbooleanTRUEif a bigger, rather than a smaller icon should be returned if no exact match could be found.
- cancellable
- 
            Type: GCancellableNo description available. The argument can be NULL.The data is owned by the caller of the method. 
- callback
- 
            Type: GAsyncReadyCallbackNo description available. The argument can be NULL.
- user_data
- 
            Type: gpointerNo description available. The argument can be NULL.The data is owned by the caller of the method.