RGLPreviewView

Objective-C

@interface RGLPreviewView : UIView

@property(readonly, nonatomic, strong, nullable) RGLCCameraPreviewView *contentView;
@property(readonly, nonatomic, strong, nullable) AVCaptureVideoPreviewLayer *previewLayer;
@property(readonly, nonatomic, strong, nullable) AVCaptureSession *session;

- (void)showCaptureEffect;
- (void)setCameraPreviewView:(RGLCCameraPreviewView *)view;

@end

Swift

class PreviewView : UIView

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(readonly, nonatomic, strong, nullable) RGLCCameraPreviewView *contentView

    Swift

    var contentView: RGLCCameraPreviewView? { get }
  • Undocumented

    Declaration

    Objective-C

    @property(readonly, nonatomic, strong, nullable) AVCaptureVideoPreviewLayer *previewLayer

    Swift

    var previewLayer: AVCaptureVideoPreviewLayer? { get }
  • Undocumented

    Declaration

    Objective-C

    @property(readonly, nonatomic, strong, nullable) AVCaptureSession *session

    Swift

    var session: AVCaptureSession? { get }
  • Undocumented

    Declaration

    Objective-C

    - (void)showCaptureEffect;

    Swift

    func showCaptureEffect()
  • Undocumented

    Declaration

    Objective-C

    - (void)setCameraPreviewView:(RGLCCameraPreviewView *)view;

    Swift

    func setCamera(_ view: RGLCCameraPreviewView)