pEpObjCAdapter/PEPAttachment.h
author Dirk Zimmermann <dz@pep.security>
Fri, 01 Mar 2019 16:03:28 +0100
branchIOS-1480
changeset 859 b2ca1a12396c
parent 581 0954976b8da9
permissions -rw-r--r--
IOS-1480 Clean up PEPAttachment.
     1 //
     2 //  PEPAttachment.h
     3 //  pEpObjCAdapter
     4 //
     5 //  Created by Dirk Zimmermann on 16.04.18.
     6 //  Copyright © 2018 p≡p. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 #import <PEPObjCAdapterFramework/PEPEngineTypes.h>
    12 
    13 @interface PEPAttachment : NSObject
    14 
    15 @property (nonatomic) NSData *data;
    16 @property (nonatomic) NSInteger size;
    17 @property (nonatomic, nullable) NSString *mimeType;
    18 @property (nonatomic, nullable) NSString *filename;
    19 @property (nonatomic) PEPContentDisposition contentDisposition;
    20 
    21 - (_Nonnull instancetype)initWithData:(NSData *)data;
    22 
    23 @end