call User
Makes a call to the user with the given id.
Return
A Call instance.
Parameters
user Id
The app specific id of the user to call. May not be empty.
media Constraints
Media constraints for given user call.
Throws
If SinchClient is not started.
If missing a permission required to place a call.
abstract fun callUser(userId: String, mediaConstraints: MediaConstraints, callHeaders: Map<String, String>?): Call
Makes a call to the user with the given id.
Return
A Call instance.
Parameters
user Id
The app specific id of the user to call. May not be empty.
media Constraints
Media constraints for given user call.
call Headers
Headers to pass with the call.
Throws
If SinchClient is not started.
If the size of all headers strings exceeds 1024 bytes when encoded as UTF-8.
If missing a permission required to place a call.