*** id: 1c262d92-248f-4a60-b207-f28276575296 title: Relay.Calling.RecordResult slug: /go/reference/calling/results/record description: The result object that is returned when recording a call. max-toc-depth: 3 ---------------- [record]: /docs/server-sdk/v2/go/reference/calling/call#record [relay-event]: /docs/server-sdk/v2/go/reference/event ## Relay.Calling.RecordResult This object returned from [`record`][record] method that represents the final result of a recording. ### Methods-submenu ### GetDuration Returns the duration of the recording in seconds. **Parameters** *None* **Returns** `number` - Duration of the recording in seconds. ### GetEvent Returns the last Relay Event arrived for this operation. **Parameters** *None* **Returns** [`Relay.Event`][relay-event] - Last Relay Event. ### GetSize Returns the size of the recording file. **Parameters** *None* **Returns** `number` - Size of the recording file. ### GetUrl Returns the HTTPS URL to the recording file. **Parameters** *None* **Returns** `string` - HTTPS URL to the file. ### GetSuccessful Return `true` if the recording succeeded, `false` otherwise. **Parameters** *None* **Returns** `boolean` - True/False accordingly to the state.