BluetoothDevice.GetEncryptionStatus(Int32) 메서드

정의

연결된 디바이스의 암호화 상태를 가져옵니다.

[Android.Runtime.Register("getEncryptionStatus", "(I)Landroid/bluetooth/EncryptionStatus;", "", ApiSince=36)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public Android.Bluetooth.EncryptionStatus? GetEncryptionStatus(int transport);
[<Android.Runtime.Register("getEncryptionStatus", "(I)Landroid/bluetooth/EncryptionStatus;", "", ApiSince=36)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.GetEncryptionStatus : int -> Android.Bluetooth.EncryptionStatus

매개 변수

transport
Int32

링크 상태를 가져올 전송입니다.

반품

디바이스가 암호화되지 않았거나 연결되지 않은 경우 null인 디바이스의 암호화 상태입니다.

특성

설명

연결된 디바이스의 암호화 상태를 가져옵니다. 이 API는 암호화 상태를 반환합니다(연결된 경우). 암호화 세부 정보는 디바이스가 암호화되지 않았거나 연결되지 않은 경우 null일 수 있는 개체로 묶 EncryptionStatus 입니다.

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

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

적용 대상