Interface NotificationResult

    • Method Detail

      • isValid

        boolean isValid()
        Indicates whether the push notification is valid.
        Returns:
        true if the push notification is valid, otherwise false.
      • isCall

        boolean isCall()
        Indicates whether the push notification is call related.
        Returns:
        true if the push notification is call related, otherwise false.
      • getDisplayName

        java.lang.String getDisplayName()
        The display name of the user calling or sending the message, if available. Only available when the complete Intent was forwarded to SinchClient.relayRemotePushNotificationPayload(Intent) and if the display name was set on the sender side.
        Returns:
        String if available, otherwise null
      • getCallResult

        CallNotificationResult getCallResult()
        If the push notification is call related (isCall() is true), this method returns a CallNotificationResult.
        Returns:
        a CallNotificationResult if the push notification is call related, otherwise null.