Class AVCaptureVideoPreviewLayer

    • Constructor Detail

      • AVCaptureVideoPreviewLayer

        public AVCaptureVideoPreviewLayer()
      • AVCaptureVideoPreviewLayer

        protected AVCaptureVideoPreviewLayer​(NSObject.Handle h,
                                             long handle)
      • AVCaptureVideoPreviewLayer

        protected AVCaptureVideoPreviewLayer​(NSObject.SkipInit skipInit)
      • AVCaptureVideoPreviewLayer

        public AVCaptureVideoPreviewLayer​(AVCaptureSession session)
      • AVCaptureVideoPreviewLayer

        public AVCaptureVideoPreviewLayer​(CALayer layer)
      • AVCaptureVideoPreviewLayer

        public AVCaptureVideoPreviewLayer​(AVCaptureSession session,
                                          boolean noConnection)
        Since:
        Available in iOS 8.0 and later.
    • Method Detail

      • getConnection

        public AVCaptureConnection getConnection()
        Since:
        Available in iOS 6.0 and later.
      • initWithNoConnection

        protected long initWithNoConnection​(AVCaptureSession session)
        Since:
        Available in iOS 8.0 and later.
      • setSessionWithNoConnection

        public void setSessionWithNoConnection​(AVCaptureSession session)
        Since:
        Available in iOS 8.0 and later.
      • captureDevicePointOfInterest

        public CGPoint captureDevicePointOfInterest​(CGPoint pointInLayer)
        Since:
        Available in iOS 6.0 and later.
      • getDevicePointOfInterest

        public CGPoint getDevicePointOfInterest​(CGPoint captureDevicePointOfInterest)
        Since:
        Available in iOS 6.0 and later.
      • getRectOfInterestInLayerCoordinates

        public CGRect getRectOfInterestInLayerCoordinates​(CGRect rectInLayerCoordinates)
        Since:
        Available in iOS 7.0 and later.
      • getRectOfInterestInMetadataOutputCoordinates

        public CGRect getRectOfInterestInMetadataOutputCoordinates​(CGRect rectInMetadataOutputCoordinates)
        Since:
        Available in iOS 7.0 and later.
      • getTransformedMetadataObject

        public AVMetadataObject getTransformedMetadataObject​(AVMetadataObject metadataObject)
        Since:
        Available in iOS 6.0 and later.