Package com.nexmo.client.voice.ncco
Class RecordAction
- java.lang.Object
-
- com.nexmo.client.voice.ncco.RecordAction
-
- All Implemented Interfaces:
Action
public class RecordAction extends java.lang.Object implements Action
An NCCO record action which allows for the call to be recorded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RecordAction.Builder
-
Constructor Summary
Constructors Constructor Description RecordAction(RecordAction.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecordAction.Builder
builder()
java.lang.String
getAction()
java.lang.Boolean
getBeepStart()
java.lang.Integer
getChannels()
java.lang.Character
getEndOnKey()
java.lang.Integer
getEndOnSilence()
EventMethod
getEventMethod()
java.util.Collection<java.lang.String>
getEventUrl()
RecordingFormat
getFormat()
SplitRecording
getSplit()
java.lang.Integer
getTimeOut()
-
-
-
Constructor Detail
-
RecordAction
public RecordAction(RecordAction.Builder builder)
-
-
Method Detail
-
getFormat
public RecordingFormat getFormat()
-
getEndOnSilence
public java.lang.Integer getEndOnSilence()
-
getEndOnKey
public java.lang.Character getEndOnKey()
-
getTimeOut
public java.lang.Integer getTimeOut()
-
getBeepStart
public java.lang.Boolean getBeepStart()
-
getEventUrl
public java.util.Collection<java.lang.String> getEventUrl()
-
getEventMethod
public EventMethod getEventMethod()
-
getSplit
public SplitRecording getSplit()
-
getChannels
public java.lang.Integer getChannels()
-
builder
public static RecordAction.Builder builder()
-
-