*** id: 411d8509-f18d-407e-8f1f-ebf838604561 title: Relay.Calling.DetectResult slug: /go/reference/calling/results/detect description: The result object that is returned when detecting a call. max-toc-depth: 3 ---------------- [relay-event]: /docs/server-sdk/v2/go/reference/event ## Relay.Calling.DetectResult This object returned from one of *synchronous* detect methods that represents the final result of a detector. ## Methods-submenu ### GetEvent Returns the last Relay Event arrived for this operation. **Parameters** *None* **Returns** [`Relay.Event`][relay-event] - Last Relay Event. ### GetResult Returns the result of the detector. It could be the digits or the type (`machine` or `human`) detected. **Parameters** *None* **Returns** `string` - Detector result. #### GetType Returns the `type` of detector. **Parameters** *None* **Returns** `string` - Detector type: `digit`, `machine` or `fax`. ### GetSuccessful Return `true` if detector succeeded, `false` otherwise. **Parameters** *None* **Returns** `Boolean` - True/False accordingly to the state.