MCLPreviewConfig

@interface MCLPreviewConfig : NSObject

Pass this to -[Megacool getPreviewWithConfig:] to customize the preview.

Note

This class does not have atomic properties for efficiency, thus it’s not thread-safe.
  • Which recording to create a preview for.

    Will use the default recording if nil.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, null_resettable) NSString *recordingId;

    Swift

    var recordingId: UnsafeMutablePointer<Int32>! { get set }
  • Where in the view the preview should be.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGRect previewFrame;

    Swift

    var previewFrame: Int32 { get set }