GeneratePreviewFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "3.52" ) ]
public delegate string? GeneratePreviewFunc (void* part)

A custom function to generate preview text for the content of the part.

The part can be either a MimePart or a Multipart, depending in which context it is called.

The preview is supposed to be up to camel_max_preview_length characters long, in a plain text format.

Parameters:

part

either a MimePart or a Multipart

user_data

user data for the function

Returns:

valid UTF-8 encoded preview text for the part, or null, when cannot handle the part


Namespace: Camel
Package: camel-1.2