Method

PurplePresenceget_idle_time

since: 2.0

Declaration [src]

GDateTime*
purple_presence_get_idle_time (
  PurplePresence* presence
)

Description [src]

Gets the idle time of presence. This can be NULL if the protocol doesn’t support idle times or if the presence isn’t in an idle state.

Available since: 2.0

Return value

Type: GDateTime

The idle time of presence or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.