 
      - parameter data: The data payload from Speech to Text.
      */
-    func onData(data: NSData) {
+    func onDataDelegate(data: NSData) {
         return
     }
 

        }

        switch response {
        case .State(let state): onState(state)
        case .Results(let wrapper): onResults(wrapper)
        case .Error(let error): onError(error)
        }
    }



     - parameter text: The text payload from Speech to Text.
     */
    func onTextDelegate(text: String) {
        guard let response = SpeechToTextGenericResponse.parseResponse(text) else {
            let description = "Could not serialize a generic text response to an object."
            failure?(createError(SpeechToTextConstants.domain, description: description))
