Function

PurpleProtocolget_media_caps

Declaration [src]

PurpleMediaCaps
purple_protocol_get_media_caps (
  PurpleAccount* account,
  const char* who
)

Description [src]

Determines if the contact supports the given media session type.

Parameters

account PurpleAccount
 

The account the user is on.

 The data is owned by the caller of the function.
who const char*
 

The name of the contact to check 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 caps the contact supports.