PresenceMixinGetMaximumStatusMessageLengthFunc


Description:

[ CCode ( has_target = false ) ]
[ Version ( since = "0.14.5" ) ]
public delegate uint PresenceMixinGetMaximumStatusMessageLengthFunc (Object obj)

Signature of a callback used to determine the maximum length of status messages.

If this callback is provided and returns non-zero, the PresenceMixinSetOwnStatusFunc implementation is responsible for truncating the message to fit this limit, if necessary.

Parameters:

obj

An object with this mixin.

Returns:

the maximum number of UTF-8 characters which may appear in a status message, or 0 if there is no limit.


Namespace: TelepathyGLib
Package: telepathy-glib