Method

PurpleMediaManagerget_media_by_account

since: 2.6

Declaration [src]

GList*
purple_media_manager_get_media_by_account (
  PurpleMediaManager* manager,
  PurpleAccount* account
)

Description [src]

Gets all of the media sessions for a given account.

Available since: 2.6

Parameters

account

Type: PurpleAccount

The account the sessions are on.

The data is owned by the caller of the function.

Return value

Type: A list of PurpleMedia*

A list of the media sessions on the given account.

The caller of the method takes ownership of the data container, but not the data inside it.