BluetoothDevice.GetBondStatus(Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 디바이스의 채권 상태를 반환합니다.
[Android.Runtime.Register("getBondStatus", "(I)Landroid/bluetooth/BondStatus;", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public Android.Bluetooth.BondStatus? GetBondStatus(int transport);
[<Android.Runtime.Register("getBondStatus", "(I)Landroid/bluetooth/BondStatus;", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.GetBondStatus : int -> Android.Bluetooth.BondStatus
매개 변수
- transport
- Int32
채권 상태를 가져올 전송입니다.
반품
이 디바이스의 채권 상태이거나 디바이스가 결합되지 않은 경우 null입니다.
- 특성
설명
이 디바이스의 채권 상태를 반환합니다. Build.VERSION_CODES 대상으로 하는 앱의 경우 S 이상에서는 android.app.Activity.requestPermissions(String[],int)를 사용하여 얻을 수 있는 Manifest.permission.BLUETOOTH_CONNECT 권한이 필요합니다. Manifest.permission.BLUETOOTH_CONNECT 필요
에 대한 android.bluetooth.BluetoothDevice.getBondStatusAndroid 참조
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.