session-ios/Signal/src/ViewControllers/ConversationView/Cells/OWSAudioMessageView.h

27 lines
524 B
C
Raw Normal View History

2017-10-10 22:13:54 +02:00
//
2018-02-23 21:44:46 +01:00
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
2017-10-10 22:13:54 +02:00
//
2018-02-23 21:44:46 +01:00
#import "OWSAudioPlayer.h"
2017-10-10 22:13:54 +02:00
NS_ASSUME_NONNULL_BEGIN
@class ConversationViewItem;
@class TSAttachmentStream;
@interface OWSAudioMessageView : UIView
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachmentStream
isIncoming:(BOOL)isIncoming
viewItem:(ConversationViewItem *)viewItem;
- (void)createContents;
2017-10-10 22:13:54 +02:00
+ (CGFloat)bubbleHeight;
- (void)updateContents;
@end
NS_ASSUME_NONNULL_END