SinchCallNotificationResult
public struct SinchCallNotificationResult
SinchCallNotificationResult is used to indicate the result of SinchClient.relayPushNotification when the Sinch-specific payload in the notification represents an incoming call.
One example of a scenario where SinchCallNotificationResult is when a user
have been attempted to be reached, but not acted on the notification directly.
In that case, the notification result object can indicate that the
notification is too old (isTimedOut), and also contains the remoteUserId
which can be used for display purposes.
-
Indicates whether the notification has timed out or not
Declaration
Swift
public let isTimedOut: Bool -
Identifier of the user from which the call represented by the notification originated
Declaration
Swift
public let remoteUserId: String -
A unique identifier pertaining to the call
Declaration
Swift
public let callId: String -
Hint that indicates if video is offered in the call
Declaration
Swift
public let isVideoOffered: Bool -
Return headers set by the caller when initiating the call.
Declaration
Swift
public let headers: [AnyHashable : Any]