Class ConversionClient

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void submitConversion​(ConversionRequest.Type type, java.lang.String messageId, boolean delivered, java.util.Date timestamp)
      Submit a request to the Conversion API indicating whether or not a message was delivered.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • submitConversion

        public void submitConversion​(ConversionRequest.Type type,
                                     java.lang.String messageId,
                                     boolean delivered,
                                     java.util.Date timestamp)
                              throws java.io.IOException,
                                     NexmoClientException
        Submit a request to the Conversion API indicating whether or not a message was delivered.
        Parameters:
        type - The ConversionRequest.Type type of com.nexmo.client.conversion.
        messageId - The id of the message that was sent.
        delivered - A boolean indicating whether or not it was delivered.
        timestamp - A timestamp of when it was known to be delivered.
        Throws:
        java.io.IOException - if a network error occurred contacting the Nexmo Conversion API.
        NexmoClientException - if there was a problem with the Nexmo request or response objects.