Method

PurpleMediaget_session_type

since: 2.6

Declaration [src]

PurpleMediaSessionType
purple_media_get_session_type (
  PurpleMedia* media,
  const gchar* sess_id
)

Description [src]

Gets the session type from a session.

Available since: 2.6

Parameters

sess_id

Type: const gchar*

The session id of the session to get the type from.

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

Return value

Type: PurpleMediaSessionType

The retrieved session type.