SINCallNotificationResult Protocol Reference

Conforms to NSObject
Declared in SINCallNotificationResult.h

Overview

SINCallNotificationResult is used to indicate the result of [SINClient relayRemotePushNotificationPayload:] when the Sinch-specific payload in the notification represents an incoming call.

One example of a scenario where SINCallNotificationResult 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.

  isTimedOut required method

Indicates whether the notification has timed out or not.

@property (nonatomic, readonly, assign) BOOL isTimedOut

Declared In

SINCallNotificationResult.h

  remoteUserId required method

Identifier of the user from which the call represented by the notification originated.

@property (nonatomic, readonly, copy) NSString *remoteUserId

Declared In

SINCallNotificationResult.h

  callId required method

A unique identifier pertaining to the call

@property (nonatomic, readonly, copy) NSString *callId

Declared In

SINCallNotificationResult.h

  videoOffered required method

Hint that indicates if video is offered in the call.

@property (nonatomic, readonly, getter=isVideoOffered) BOOL videoOffered

Declared In

SINCallNotificationResult.h

  headers required method

Return headers set by the caller when initiating the call.

@property (nonatomic, readonly, copy) NSDictionary *headers

See Also

Declared In

SINCallNotificationResult.h