mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
7afcad81c6
// FREEBIE
23 lines
646 B
Objective-C
23 lines
646 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class OWSExpirationTimerView;
|
|
|
|
static const CGFloat OWSExpirableMessageViewTimerWidth = 10.0f;
|
|
|
|
@protocol OWSExpirableMessageView
|
|
|
|
@property (strong, nonatomic, readonly) IBOutlet OWSExpirationTimerView *expirationTimerView;
|
|
@property (strong, nonatomic, readonly) IBOutlet NSLayoutConstraint *expirationTimerViewWidthConstraint;
|
|
|
|
- (void)startExpirationTimerWithExpiresAtSeconds:(double)expiresAtSeconds
|
|
initialDurationSeconds:(uint32_t)initialDurationSeconds;
|
|
|
|
- (void)stopExpirationTimer;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|