Class CMAttachmentBearer

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CMAttachmentBearer
    extends CFType
    • Constructor Detail

      • CMAttachmentBearer

        protected CMAttachmentBearer()
    • Method Detail

      • getAttachment

        public static CFType getAttachment​(CFType target,
                                           java.lang.String key)
        Since:
        Available in iOS 4.0 and later.
      • getModeOfAttachment

        public static CMAttachmentMode getModeOfAttachment​(CFType target,
                                                           java.lang.String key)
        Since:
        Available in iOS 4.0 and later.
      • setAttachment

        public static void setAttachment​(CFType target,
                                         java.lang.String key,
                                         CFType value,
                                         CMAttachmentMode attachmentMode)
        Since:
        Available in iOS 4.0 and later.
      • removeAttachment

        public static void removeAttachment​(CFType target,
                                            java.lang.String key)
        Since:
        Available in iOS 4.0 and later.
      • removeAllAttachments

        public static void removeAllAttachments​(CFType target)
        Since:
        Available in iOS 4.0 and later.
      • setAttachments

        public static void setAttachments​(CFType target,
                                          CFDictionary theAttachments,
                                          CMAttachmentMode attachmentMode)
        Since:
        Available in iOS 4.0 and later.