mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
646 B
Objective-C
24 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
|