Method

PurpleProtocolMediaget_caps

since: 3.0

Declaration [src]

PurpleMediaCaps
purple_protocol_media_get_caps (
  PurpleProtocolMedia* media,
  PurpleAccount* account,
  const gchar* who
)

Description [src]

Gets the PurpleMediaCaps for who which determine what types of media are available.

Available since: 3.0

Parameters

account

Type: PurpleAccount

The PurpleAccount instance.

The data is owned by the caller of the function.
who

Type: const gchar*

The user to get the media capabilities for.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleMediaCaps

The media capabilities of who.