Method

PurpleProtocolMediaget_caps

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.0

Parameters

account PurpleAccount
 

The PurpleAccount instance.

 The data is owned by the caller of the function.
who 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

Returns: PurpleMediaCaps
 

The media capabilities of who.