Part.getBestContentEncoding

Calculates the most efficient content encoding for the mime_part given the constraint.

Parameters

constraint gmime.types.EncodingConstraint

a #GMimeEncodingConstraint

Return Value

Type: gmime.types.ContentEncoding

the best content encoding for the specified mime part.