言語

BluetoothDevice.IdentityAddressWithType プロパティ

定義

この BluetoothDevice の ID アドレスと ID アドレスの種類を返します。

public Android.Bluetooth.BluetoothDevice.BluetoothAddress IdentityAddressWithType { [Android.Runtime.Register("getIdentityAddressWithType", "()Landroid/bluetooth/BluetoothDevice$BluetoothAddress;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getIdentityAddressWithType", "()Landroid/bluetooth/BluetoothDevice$BluetoothAddress;", "", ApiSince=36)>]
member this.IdentityAddressWithType : Android.Bluetooth.BluetoothDevice.BluetoothAddress

プロパティ値

ID アドレスと ID アドレスの種類を含む BluetoothAddress。 Bluetoothが有効になっていない場合、または ID アドレスの種類が使用できない場合は、ID アドレスの種類ADDRESS_TYPE_UNKNOWNデバイスを含む BluetoothAddress が返されます。 この値は null にすることはできません。

属性

注釈

この BluetoothDevice の ID アドレスと ID アドレスの種類を返します。 ID アドレスは、一意識別子として機能する LE デバイス アドレスBluetoothパブリックまたは静的ランダムです。 Build.VERSION_CODESを対象とするアプリの場合。S 以降では、android.app.Activity.requestPermissions(String[],int) で取得できるManifest.permission.BLUETOOTH_CONNECTアクセス許可が必要です。 Manifest.permission.BLUETOOTH_CONNECTとManifest.permission.BLUETOOTH_PRIVILEGEDが必要

android.bluetooth.BluetoothDevice.getIdentityAddressWithTypeの Android リファレンス。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象