com.meego.libsocialweb.Collections

## com.meego.libsocialweb.Collections com.meego.libsocialweb.Collections — Collections interface |

## Methods

    GetList           (out 'a(sssuia{ss})' collection_list)
    GetDetails        (in  's'             collection_id,
                       out '(sssuia{ss})'  collection_details)
    Create            (out 's'             collection_id,
                       in  's'             collection_name,
                       in  'u'             supported_types,
                       in  's'             collection_parent,
                       in  'a{ss}'         extra_parameters)
    GetCreatableTypes (out 'au'            media_types_list)

## Implemented Interfaces

Objects implementing com.meego.libsocialweb.Collections also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties

## Description

An interface representing named collections of photos (eg. albums), videos (eg. channels) or both (eg. Flickr sets).

## Details

### `GetList()`

    GetList (out 'a(sssuia{ss})' collection_list)

Retrieve a list of photo/video collections the user has on the service.

`collection_list`: | A list of Collection_Details representing remote collections on the service.

### `GetDetails()`

    GetDetails (in  's'            collection_id,
                out '(sssuia{ss})' collection_details)

Get details of given collection.

`collection_id`: | The service specific identifier of the collection.
`collection_details`: | The Collection_Details of the given collection.

### `Create()`

    Create (out 's'     collection_id,
            in  's'     collection_name,
            in  'u'     supported_types,
            in  's'     collection_parent,
            in  'a{ss}' extra_parameters)

Create a new collection.

`collection_id`: | The service specific identifier for the new collection.
`collection_name`: | The name of the new collection.
`supported_types`: | The media types this collection should support.
`collection_parent`: | The service specific identifier of the new collection's parent or an empty string for a top-level collection.
`extra_parameters`: | Extra, service specific parameters, such as "description".

### `GetCreatableTypes()`

    GetCreatableTypes (out 'au' media_types_list)

Retrieve a list of collection types a user can create on this service.

`media_types_list`: | A list of Collection_Media_Types bitfields of supported collection types we could create.