Package com.opentok
Class SipProperties
java.lang.Object
com.opentok.SipProperties
Defines values for the
properties parameter of the
OpenTok.dial(String, String, SipProperties) method.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUse this class to create a SipProperties object. -
Method Summary
Modifier and TypeMethodDescriptionfrom()Returns the from value.Returns the SIP headers as JSON.booleanReturns the observeForceMute value (trueorfalse).password()Returns the password.booleansecure()Returns the secure value (trueorfalse).sipUri()Returns the SIP URI.String[]streams()Returns the subscribed stream IDs.userName()Returns the user name.booleanvideo()Return the video value (trueorfalse).
-
Method Details
-
sipUri
Returns the SIP URI. -
from
Returns the from value. -
userName
Returns the user name. -
password
Returns the password. -
headersJsonStartingWithXDash
Returns the SIP headers as JSON. -
secure
public boolean secure()Returns the secure value (trueorfalse). -
video
public boolean video()Return the video value (trueorfalse). -
observeForceMute
public boolean observeForceMute()Returns the observeForceMute value (trueorfalse). -
streams
Returns the subscribed stream IDs.- Returns:
- The selected stream IDs as an array.
-