BluetoothDevice.Name 속성

정의

원격 디바이스의 친숙한 Bluetooth 이름을 가져옵니다.

public string? Name { [Android.Runtime.Register("getName", "()Ljava/lang/String;", "")] [Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")] get; }
[<get: Android.Runtime.Register("getName", "()Ljava/lang/String;", "")>]
[<get: Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.Name : string

속성 값

Bluetooth 이름 또는 문제가 있는 경우 null입니다.

특성

설명

원격 디바이스의 친숙한 Bluetooth 이름을 가져옵니다.

로컬 어댑터는 디바이스 검사를 수행할 때 원격 이름을 자동으로 검색하고 캐시합니다. 이 메서드는 캐시에서 이 디바이스의 이름을 반환합니다.

에 대한 android.bluetooth.BluetoothDevice.getName()Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상