setSettings(_:)
Sets the current encoding settings based on the given setting values.
Declaration
func setSettings(_ settings: CompressorExtensionSettingsPtr!)Parameters
- settings:
A pointer to the Compressorextensionsettings object.
Discussion
During an encoding process, the Compressor app provides the extension with the current encoder settings. If the settings object contains an empty encoder setting string, use default values for the encoder settings.