mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
402df72306
- Sends image rotated - If message is delete, delete the attachment db object and file - Delete attachment from detail view
24 lines
561 B
Objective-C
24 lines
561 B
Objective-C
//
|
|
// TSAttachementStream.h
|
|
// Signal
|
|
//
|
|
// Created by Frederic Jacobs on 17/12/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSAttachment.h"
|
|
|
|
@interface TSAttachmentStream : TSAttachment <YapDatabaseRelationshipNode>
|
|
|
|
- (instancetype)initWithIdentifier:(NSString*)identifier
|
|
data:(NSData*)data
|
|
key:(NSData*)key
|
|
contentType:(NSString*)contentType NS_DESIGNATED_INITIALIZER;;
|
|
|
|
- (UIImage *)image;
|
|
|
|
- (BOOL)isImage;
|
|
- (BOOL)isVideo;
|
|
|
|
@end
|