session-ios/Signal/src/textsecure/Messages/Attachements/TSAttachmentStream.h
2015-01-04 11:30:26 +01:00

26 lines
523 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
- (instancetype)initWithIdentifier:(NSString*)identifier
data:(NSData*)data
key:(NSData*)key
contentType:(NSString*)contentType;
- (NSString*)path;
- (BOOL)isImage;
- (UIImage*)image;
- (BOOL)isVideo;
@end