SINNotificationResult
Objective-C
@protocol SINNotificationResult <NSObject>Swift
protocol SINNotificationResult : NSObjectProtocolSINNotificationResult is used to indicate the result of -[SINClient relayPushNotification:] and
 +[SINManagedPush queryPushNotificationPayload:].
Important
Thread safety notes: All interaction should be done on main thread/main GCD queue.
- Example: 
 id<SINNotificationResult> result = [self.client relayPushNotification:payload];
 if ([result isCall] && [result callResult].isTimedOut) {
     NSString* remoteUserId = [result callResult].remoteUserId;
     // Present UI indicating user missed the call.
 }
It can be especially useful for scenarios which will not result in
 the SINClientDelegate receiving any callback for an incoming call as a result
 of calling the methods mentioned above. One such scenario 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 is valid or not. DeclarationObjective-C @property (nonatomic, assign, unsafe_unretained, readonly) BOOL isValid;Swift var isValid: Bool { get }
- 
                  
                  Indicates whether the notification is call related DeclarationObjective-C - (BOOL)isCall;Swift func isCall() -> Bool
- 
                  
                  If the notification is call related (isCall is true), callResult contains the notification result DeclarationObjective-C - (id<SINCallNotificationResult>)callResult;
 SINNotificationResult Protocol Reference
        SINNotificationResult Protocol Reference