Function

PurplePresencePrimitiveto_string

unstable since: 3.0

Declaration [src]

const char*
purple_presence_primitive_to_string (
  PurplePresencePrimitive primitive
)

Description [src]

Gets a string representation for primitive that is suitable for display to users.

Available since: 3.0

Parameters

primitive

Type: PurplePresencePrimitive

The PurplePresencePrimitive value.

Return value

Type: const char*

The string representation.

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