语言

BluetoothDevice.BluetoothAddress(String, Int32) 构造函数

定义

[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

参数

address
String
addressType
Int32

值为下列值之一:BluetoothDevice.ADDRESS_TYPE_PUBLIC;BluetoothDevice.ADDRESS_TYPE_RANDOM;BluetoothDevice.ADDRESS_TYPE_ANONYMOUS;BluetoothDevice.ADDRESS_TYPE_UNKNOWN

特性

注解

Android 参考。android.bluetooth.BluetoothDevice.BluetoothAddress.BluetoothAddress

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于