2017-02-02 21:13:41 +01:00
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
2016-12-18 22:08:26 +01:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@class OWSSignalServiceProtosCallMessageOffer;
|
|
|
|
|
2017-02-02 21:13:41 +01:00
|
|
|
/**
|
|
|
|
* Sent by the call initiator to Signal their intention to set up a call with the recipient.
|
|
|
|
*/
|
2016-12-18 22:08:26 +01:00
|
|
|
@interface OWSCallOfferMessage : NSObject
|
|
|
|
|
|
|
|
- (instancetype)initWithCallId:(UInt64)callId sessionDescription:(NSString *)sessionDescription;
|
|
|
|
|
|
|
|
@property (nonatomic, readonly) UInt64 callId;
|
|
|
|
@property (nonatomic, readonly, copy) NSString *sessionDescription;
|
|
|
|
|
|
|
|
- (OWSSignalServiceProtosCallMessageOffer *)asProtobuf;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|