Package com.twilio.voice
Class ConnectOptions
- java.lang.Object
-
- com.twilio.voice.CallOptions
-
- com.twilio.voice.ConnectOptions
-
public class ConnectOptions extends CallOptions
Represents options when connecting to aCall
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectOptions.Builder
Build newConnectOptions
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessToken()
The accessToken that provides the identity and grants of the caller.java.util.Map<java.lang.String,java.lang.String>
getParams()
The parameters that are passed to the TwiML application specified by the access token.-
Methods inherited from class com.twilio.voice.CallOptions
getIceOptions, getPreferredAudioCodecs, isDscpEnabled, isIceGatheringOnAnyAddressPortsEnabled
-
-
-
-
Method Detail
-
getAccessToken
@NonNull public java.lang.String getAccessToken()
The accessToken that provides the identity and grants of the caller.
-
getParams
@NonNull public java.util.Map<java.lang.String,java.lang.String> getParams()
The parameters that are passed to the TwiML application specified by the access token.
-
-