setCallAudioEndpoint
Set the desired call audio route.
The distinction between desired and real audio routes is best described with this example: when you set Bluetooth as the desired audio route and there is no Bluetooth headset present, the call will be routed through (and getCurrentAudioEndpoint will report) Receiver or Headset (depeding on whether wired headset is attached or not). However, as soon as a Bluetooth headset is connected, the call will be automatically rerouted there since it matches the desired audio route better. On the other hand, the call won't be rerouted to the Bluetooth headset when the desired route is Receiver.
Setting Receiver or Headset is identical as one will be automatically re-routed to the other depending whether a wired headset is connected or not.
The observer is notified about changes in the real audio routes.
Parameters
The desired call audio route.