Type Method

availableOutputSettingsPresets()

Returns the array of presets to use when creating an output settings assistant.

Declaration

class func availableOutputSettingsPresets() -> [AVOutputSettingsPreset]

Return Value

An array of strings , each of which is a preset identifier.

Discussion

Each preset in the returned list can be passed in to the init(preset:) class method to create a new instance of the class.

Special Considerations

On iOS, the returned array may differ according to the device model.

See Also

Creating an Output Settings Assistant

init?(preset: AVOutputSettingsPreset)

Creates and initializes an output setting assistant with the given preset.

struct AVOutputSettingsPreset

A preset configuration used to configure writers.