Class AVCapturePhoto

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class AVCapturePhoto
    extends NSObject
    Since:
    Available in iOS 11.0 and later.
    • Constructor Detail

      • AVCapturePhoto

        protected AVCapturePhoto()
      • AVCapturePhoto

        protected AVCapturePhoto​(NSObject.Handle h,
                                 long handle)
    • Method Detail

      • getTimestamp

        public CMTime getTimestamp()
      • isRawPhoto

        public boolean isRawPhoto()
      • getPreviewPixelBuffer

        public CVPixelBuffer getPreviewPixelBuffer()
      • getEmbeddedThumbnailPhotoFormat

        public NSDictionary<NSString,​?> getEmbeddedThumbnailPhotoFormat()
      • getPortraitEffectsMatte

        public AVPortraitEffectsMatte getPortraitEffectsMatte()
        Since:
        Available in iOS 12.0 and later.
      • getPhotoCount

        public long getPhotoCount()
      • getSourceDeviceType

        public java.lang.String getSourceDeviceType()
      • getSequenceCount

        public long getSequenceCount()
        Since:
        Available in iOS 11.0 and later.
      • fileDataRepresentation

        public NSData fileDataRepresentation()
        Since:
        Available in iOS 11.0 and later.
      • fileDataRepresentation

        @Deprecated
        public NSData fileDataRepresentation​(NSDictionary<NSString,​?> replacementMetadata,
                                             NSDictionary<NSString,​?> replacementEmbeddedThumbnailPhotoFormat,
                                             CVPixelBuffer replacementEmbeddedThumbnailPixelBuffer,
                                             AVDepthData replacementDepthData)
        Deprecated.
        Deprecated in iOS 12.0. Use fileDataRepresentationWithCustomizer: instead
        Since:
        Available in iOS 11.0 and later.
      • CGImageRepresentation

        public CGImage CGImageRepresentation()
        Since:
        Available in iOS 11.0 and later.
      • previewCGImageRepresentation

        public CGImage previewCGImageRepresentation()
        Since:
        Available in iOS 11.0 and later.