Class CVBuffer

All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
CVImageBuffer

public abstract class CVBuffer
extends CFType
  • Constructor Details

    • CVBuffer

      public CVBuffer()
  • Method Details

    • getAttachment

      protected CFType getAttachment​(CFString key)
    • getAttachmentMode

      protected CVAttachmentMode getAttachmentMode​(CFString key)
    • setAttachment

      protected void setAttachment​(CFString key, CFType value, CVAttachmentMode attachmentMode)
    • getAttachment

      @Deprecated protected CFType getAttachment​(CFString key, IntPtr attachmentMode)
      Deprecated.
      Deprecated in iOS 15.0. Use CVBufferCopyAttachment
    • removeAttachment

      protected void removeAttachment​(CFString key)
    • removeAllAttachments

      protected void removeAllAttachments()
    • getAttachments

      @Deprecated protected NSDictionary getAttachments​(CVAttachmentMode attachmentMode)
      Deprecated.
      Deprecated in iOS 15.0. Use CVBufferCopyAttachments
    • setAttachments

      protected void setAttachments​(NSDictionary theAttachments, CVAttachmentMode attachmentMode)
    • propagateAttachments

      protected void propagateAttachments​(CVBuffer destinationBuffer)
    • copyAttachments

      protected CFDictionary copyAttachments​(CVAttachmentMode attachmentMode)
      Since:
      Available in iOS 15.0 and later.
    • copyAttachment

      protected CFType copyAttachment​(CFString key, IntPtr attachmentMode)
      Since:
      Available in iOS 15.0 and later.
    • hasAttachment

      protected boolean hasAttachment​(CFString key)
      Since:
      Available in iOS 15.0 and later.