mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
041badd295
// FREEBIE
28 lines
669 B
Objective-C
28 lines
669 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "OWSAudioAttachmentPlayer.h"
|
|
#import "OWSMessageEditing.h"
|
|
#import "OWSMessageMediaAdapter.h"
|
|
#import <JSQMessagesViewController/JSQVideoMediaItem.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class TSAttachmentStream;
|
|
|
|
@interface TSVideoAttachmentAdapter
|
|
: JSQVideoMediaItem <OWSMessageEditing, OWSMessageMediaAdapter, OWSAudioAttachmentPlayerDelegate>
|
|
|
|
@property NSString *attachmentId;
|
|
@property (nonatomic, strong) NSString *contentType;
|
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment incoming:(BOOL)incoming;
|
|
|
|
- (BOOL)isAudio;
|
|
- (BOOL)isVideo;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|