Recordings

enfonica.voice.v1beta1. Recordings

Represents a Recordings

Constructor

new Recordings(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new Recordings service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {Recordings}

Creates new Recordings service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
Recordings

RPC service. Useful where requests and/or responses are streamed.

deleteRecording(request, callback) → {undefined}

Calls DeleteRecording.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IDeleteRecordingRequest

DeleteRecordingRequest message or plain object

callback enfonica.voice.v1beta1.Recordings.DeleteRecordingCallback

Node-style callback called with the error, if any, and Recording

Returns:
Type Description
undefined

deleteRecording(request) → {Promise.<enfonica.voice.v1beta1.Recording>}

Calls DeleteRecording.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IDeleteRecordingRequest

DeleteRecordingRequest message or plain object

Returns:
Type Description
Promise.<enfonica.voice.v1beta1.Recording>

Promise

getRecording(request, callback) → {undefined}

Calls GetRecording.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IGetRecordingRequest

GetRecordingRequest message or plain object

callback enfonica.voice.v1beta1.Recordings.GetRecordingCallback

Node-style callback called with the error, if any, and Recording

Returns:
Type Description
undefined

getRecording(request) → {Promise.<enfonica.voice.v1beta1.Recording>}

Calls GetRecording.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IGetRecordingRequest

GetRecordingRequest message or plain object

Returns:
Type Description
Promise.<enfonica.voice.v1beta1.Recording>

Promise

listRecordings(request, callback) → {undefined}

Calls ListRecordings.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IListRecordingsRequest

ListRecordingsRequest message or plain object

callback enfonica.voice.v1beta1.Recordings.ListRecordingsCallback

Node-style callback called with the error, if any, and ListRecordingsResponse

Returns:
Type Description
undefined

listRecordings(request) → {Promise.<enfonica.voice.v1beta1.ListRecordingsResponse>}

Calls ListRecordings.

Parameters:
Name Type Description
request enfonica.voice.v1beta1.IListRecordingsRequest

ListRecordingsRequest message or plain object

Returns:
Type Description
Promise.<enfonica.voice.v1beta1.ListRecordingsResponse>

Promise

Type Definitions

DeleteRecordingCallback(error, responseopt)

Callback as used by enfonica.voice.v1beta1.Recordings#deleteRecording.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response enfonica.voice.v1beta1.Recording <optional>

Recording

GetRecordingCallback(error, responseopt)

Callback as used by enfonica.voice.v1beta1.Recordings#getRecording.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response enfonica.voice.v1beta1.Recording <optional>

Recording

ListRecordingsCallback(error, responseopt)

Callback as used by enfonica.voice.v1beta1.Recordings#listRecordings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response enfonica.voice.v1beta1.ListRecordingsResponse <optional>

ListRecordingsResponse