VKRecorderPhotoConfiguration

@objc
public class VKRecorderPhotoConfiguration : VKRecorderConfiguration

VKRecorderPhotoConfiguration, photo capture configuration object

  • Codec used to encode photo, AV dictionary key AVVideoCodecKey

    Declaration

    Swift

    public var codec: AVVideoCodecType
  • When true, VKRecorder should generate a thumbnail for the photo

    Declaration

    Swift

    public var generateThumbnail: Bool
  • Enabled high resolution capture

    Declaration

    Swift

    public var isHighResolutionEnabled: Bool
  • Enabled depth data capture with photo

  • Enables portrait effects matte output for the photo

    Declaration

    Swift

    public var isPortraitEffectsMatteEnabled: Bool
  • Declaration

    Swift

    public var isRawCaptureEnabled: Bool

funcs

  • Provides an AVFoundation friendly dictionary dictionary for configuration output.

    Declaration

    Swift

    public func avcaptureDictionary() -> [String : Any]?

    Return Value

    Configuration dictionary for AVFoundation