Compartilhar via


BluetoothDevice.Type Property

Definition

Get the Bluetooth device type of the remote device.

public Android.Bluetooth.BluetoothDeviceType Type { [Android.Runtime.Register("getType", "()I", "")] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getType", "()I", "")>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.Type : Android.Bluetooth.BluetoothDeviceType

Property Value

the device type #DEVICE_TYPE_CLASSIC, #DEVICE_TYPE_LE#DEVICE_TYPE_DUAL. #DEVICE_TYPE_UNKNOWN if it's not available

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothDevice.getType().

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