語言

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

屬性

備註

Java 文件 android.bluetooth.BluetoothAdapter.checkBluetoothAddress(java.lang.String)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於