Taal

BluetoothDevice.BluetoothAddress(String, Int32) Constructor

Definition

Initializes a Bluetooth address value from an address string and address-type code.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=36)]
public BluetoothAddress(string? address, int addressType);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=36)>]
new Android.Bluetooth.BluetoothDevice.BluetoothAddress : string * int -> Android.Bluetooth.BluetoothDevice.BluetoothAddress

Parameters

address
String

The Bluetooth address string stored with the supplied address-type code; it can be null.

addressType
Int32

Value is one of the following: BluetoothDevice.ADDRESS_TYPE_PUBLIC; BluetoothDevice.ADDRESS_TYPE_RANDOM; BluetoothDevice.ADDRESS_TYPE_ANONYMOUS; BluetoothDevice.ADDRESS_TYPE_UNKNOWN

Attributes

Remarks

Android reference for android.bluetooth.BluetoothDevice.BluetoothAddress.BluetoothAddress.

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