다음을 통해 공유


BluetoothGatt.GetService(UUID) 메서드

정의

요청된 UUID가 원격 디바이스에서 지원되는 경우 BluetoothGattService/>를 반환합니다.

[Android.Runtime.Register("getService", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattService;", "")]
public Android.Bluetooth.BluetoothGattService? GetService (Java.Util.UUID? uuid);
[<Android.Runtime.Register("getService", "(Ljava/util/UUID;)Landroid/bluetooth/BluetoothGattService;", "")>]
member this.GetService : Java.Util.UUID -> Android.Bluetooth.BluetoothGattService

매개 변수

uuid
UUID

요청된 서비스의 UUID

반환

BluetoothGattService(지원되는 경우) 또는 요청된 서비스가 원격 디바이스에서 제공되지 않는 경우 null입니다.

특성

설명

에 대한 android.bluetooth.BluetoothGatt.getService(java.util.UUID)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상