Partager via


BluetoothDevice.ActionAclDisconnectRequested Field

Definition

Broadcast Action: Indicates that a low level (ACL) disconnection has been requested for a remote device, and it will soon be disconnected.

[Android.Runtime.Register("ACTION_ACL_DISCONNECT_REQUESTED")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public const string ActionAclDisconnectRequested;
[<Android.Runtime.Register("ACTION_ACL_DISCONNECT_REQUESTED")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
val mutable ActionAclDisconnectRequested : string

Field Value

Implements

Attributes

Remarks

Broadcast Action: Indicates that a low level (ACL) disconnection has been requested for a remote device, and it will soon be disconnected.

This is useful for graceful disconnection. Applications should use this intent as a hint to immediately terminate higher level connections (RFCOMM, L2CAP, or profile connections) to the remote device.

Always contains the extra field #EXTRA_DEVICE.

Java documentation for android.bluetooth.BluetoothDevice.ACTION_ACL_DISCONNECT_REQUESTED.

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