setEnabled

fun setEnabled(enabled: Boolean, fromUser: Boolean = true)

Enable or disable the speakerphone.