method public deprecated void setWiredHeadsetOn(boolean);
method public deprecated boolean shouldVibrate(int);
method public void startBluetoothSco();
- method public void startBluetoothScoVirtualCall();
method public void stopBluetoothSco();
method public void unloadSoundEffects();
method public void unregisterMediaButtonEventReceiver(android.content.ComponentName);
}
/**
+ * @hide
* Start bluetooth SCO audio connection in virtual call mode.
* <p>Requires Permission:
* {@link android.Manifest.permission#MODIFY_AUDIO_SETTINGS}.
* <p>Requires Permission:
* {@link android.Manifest.permission#MODIFY_AUDIO_SETTINGS}.
* <p>This method must be called by applications having requested the use of
- * bluetooth SCO audio with {@link #startBluetoothSco()} or
- * {@link #startBluetoothScoVirtualCall()} when finished with the SCO connection or
- * if connection fails.
+ * bluetooth SCO audio with {@link #startBluetoothSco()} when finished with the SCO
+ * connection or if connection fails.
* @see #startBluetoothSco()
- * @see #startBluetoothScoVirtualCall()
*/
+ // Also used for connections started with {@link #startBluetoothScoVirtualCall()}
public void stopBluetoothSco(){
IAudioService service = getService();
try {