setRespectNativeCalls

abstract fun setRespectNativeCalls(respectNativeCalls: Boolean)

Set whether or not the client should respect native calls. If this is set to true, answering native calls will hangup any ongoing Sinch calls. Also, if in a native calls, incoming Sinch calls will be denied automatically. If set to true, the app requires permissions android.permission.READ_PHONE_STATE. Defaults to true.

Parameters

respectNativeCalls

Whether or not the client should respect native calls.