Class VerificationResponseCallout.CalloutResponse

    • Constructor Detail

      • CalloutResponse

        public CalloutResponse​(Integer code,
                               VerificationResponseCallout.SpeechResponse speech)
        Construct a CalloutResponse instance
        Parameters:
        code - The Phone Call PIN that should be entered by the user. Sinch's servers automatically generate PIN codes for Phone Call verification. If you want to set your own code, you can specify it in the response to the Verification Request Event.
        speech - An object defining various properties for the text-to-speech message.