BluetoothAdapter.CheckBluetoothAddress(String) 方法

定义

验证字符串蓝牙地址,例如“00:43:A8:23:10:F0”

[Android.Runtime.Register("checkBluetoothAddress", "(Ljava/lang/String;)Z", "")]
public static bool CheckBluetoothAddress(string? address);
[<Android.Runtime.Register("checkBluetoothAddress", "(Ljava/lang/String;)Z", "")>]
static member CheckBluetoothAddress : string -> bool

参数

address
String

蓝牙地址作为字符串

返回

如果地址有效,则为 true;否则为 false

属性

注解

适用于 . 的 android.bluetooth.BluetoothAdapter.checkBluetoothAddress(java.lang.String)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于