SINCallDetails
Objective-C
@protocol SINCallDetails <NSObject>
Swift
protocol SINCallDetails : NSObjectProtocol
The SINCallDetails holds metadata about a call (SINCall).
-
The start time of the call.
Before the call has started, the value of the startedTime property is
nil
.Declaration
Objective-C
@property (nonatomic, strong, readonly) NSDate *startedTime;
Swift
var startedTime: Date! { get }
-
The time at which the call was established, if it reached established state.
Before the call has reached established state, the value of the establishedTime property is
nil
.Declaration
Objective-C
@property (nonatomic, strong, readonly) NSDate *establishedTime;
Swift
var establishedTime: Date! { get }
-
The end time of the call.
Before the call has ended, the value of the endedTime property is
nil
.Declaration
Objective-C
@property (nonatomic, strong, readonly) NSDate *endedTime;
Swift
var endedTime: Date! { get }
-
Holds the cause of why a call ended, after it has ended. It may be one of the following:
SINCallEndCauseNone
SINCallEndCauseTimeout
SINCallEndCauseDenied
SINCallEndCauseNoAnswer
SINCallEndCauseError
SINCallEndCauseHungUp
SINCallEndCauseCanceled
SINCallEndCauseOtherDeviceAnswered
If the call has not ended yet, the value is
SINCallEndCauseNone
.Declaration
Objective-C
@property (nonatomic, readonly) SINCallEndCause endCause;
Swift
var endCause: SINCallEndCause { get }
-
If the end cause is error, then this property contains an error object that describes the error.
If the call has not ended yet or if the end cause is not an error, the value of this property is
nil
.Declaration
Objective-C
@property (nonatomic, strong, readonly) NSError *error;
Swift
var error: Error! { get }
-
Hint that indicates if video is offered in the call.
Declaration
Objective-C
@property (nonatomic, readonly, getter=isVideoOffered) BOOL videoOffered;
Swift
var isVideoOffered: Bool { get }