Dela via


AudioManager.StopBluetoothSco Method

Definition

Stop bluetooth SCO audio connection.

[Android.Runtime.Register("stopBluetoothSco", "()V", "GetStopBluetoothScoHandler")]
public virtual void StopBluetoothSco ();
[<Android.Runtime.Register("stopBluetoothSco", "()V", "GetStopBluetoothScoHandler")>]
abstract member StopBluetoothSco : unit -> unit
override this.StopBluetoothSco : unit -> unit
Attributes

Remarks

Stop bluetooth SCO audio connection.

Requires Permission: Manifest.permission#MODIFY_AUDIO_SETTINGS.

This method must be called by applications having requested the use of bluetooth SCO audio with #startBluetoothSco() when finished with the SCO connection or if connection fails.

This member is deprecated. Use AudioManager#clearCommunicationDevice() instead.

Java documentation for android.media.AudioManager.stopBluetoothSco().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also