Share via


BluetoothAdapter 클래스

정의

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

[Android.Runtime.Register("android/bluetooth/BluetoothAdapter", DoNotGenerateAcw=true)]
public sealed class BluetoothAdapter : Java.Lang.Object
[<Android.Runtime.Register("android/bluetooth/BluetoothAdapter", DoNotGenerateAcw=true)>]
type BluetoothAdapter = class
    inherit Object
상속
BluetoothAdapter
특성

설명

에 대한 Java 설명서입니다 android.bluetooth.BluetoothAdapter.

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

필드

ActionConnectionStateChanged

로컬 Bluetooth 어댑터의 연결 상태 변경을 원격 디바이스의 프로필로 브로드캐스트하는 데 사용되는 의도입니다.

ActionDiscoveryFinished

브로드캐스트 작업: 로컬 Bluetooth 어댑터가 디바이스 검색 프로세스를 완료했습니다.

ActionDiscoveryStarted

브로드캐스트 작업: 로컬 Bluetooth 어댑터가 원격 디바이스 검색 프로세스를 시작했습니다.

ActionLocalNameChanged

브로드캐스트 작업: 로컬 Bluetooth 어댑터가 친숙한 Bluetooth 이름을 변경했습니다.

ActionRequestDiscoverable

활동 작업: 검색 가능한 모드를 요청하는 시스템 활동을 표시합니다.

ActionRequestEnable

작업 작업: 사용자가 Bluetooth를 켤 수 있는 시스템 활동을 표시합니다.

ActionScanModeChanged

브로드캐스트 작업: 로컬 어댑터의 Bluetooth 스캔 모드가 변경되었음을 나타냅니다.

ActionStateChanged

브로드캐스트 작업: 로컬 Bluetooth 어댑터의 상태가 변경되었습니다.

Error

이 클래스의 Sentinel 오류 값입니다.

ExtraConnectionState

에서 사용하는 추가 #ACTION_CONNECTION_STATE_CHANGED

        This extra represents the current connection state.
ExtraDiscoverableDuration

의도에서 선택적 int 추가 필드 #ACTION_REQUEST_DISCOVERABLE 로 사용되어 검색 가능성을 위한 특정 기간을 초 단위로 요청합니다.

ExtraLocalName

로컬 Bluetooth 이름을 요청하기 위한 의도의 #ACTION_LOCAL_NAME_CHANGED 문자열 추가 필드로 사용됩니다.

ExtraPreviousConnectionState

에서 사용하는 추가 #ACTION_CONNECTION_STATE_CHANGED

        This extra represents the previous connection state.
ExtraPreviousScanMode

이전 검사 모드를 요청하기 위해 의도에서 #ACTION_SCAN_MODE_CHANGED int 추가 필드로 사용됩니다.

ExtraPreviousState

이전 전원 상태를 요청하기 위해 의도에서 #ACTION_STATE_CHANGED int 추가 필드로 사용됩니다.

ExtraScanMode

현재 검사 모드를 요청하기 위해 의도에서 #ACTION_SCAN_MODE_CHANGED int 추가 필드로 사용됩니다.

ExtraState

현재 전원 상태를 요청하기 위해 의도에서 #ACTION_STATE_CHANGED int 추가 필드로 사용됩니다.

속성

Address

로컬 Bluetooth 어댑터의 하드웨어 주소를 반환합니다.

BluetoothLeAdvertiser

BluetoothLeAdvertiser Bluetooth LE Advertising 작업에 대한 개체를 반환합니다.

BluetoothLeScanner

BluetoothLeScanner Bluetooth LE 스캔 작업에 대한 개체를 반환합니다.

BondedDevices

로컬 어댑터에 결합(페어링)된 개체 집합 BluetoothDevice 을 반환합니다.

Class

Object의 런타임 클래스를 반환합니다.

(다음에서 상속됨 Object)
DefaultAdapter

기본 로컬 Bluetooth 어댑터에 대한 핸들을 가져옵니다.

DiscoverableTimeout

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

Handle

기본 Android instance 대한 핸들입니다.

(다음에서 상속됨 Object)
IsDiscovering

로컬 Bluetooth 어댑터가 현재 디바이스 검색 프로세스에 있는 경우 true를 반환합니다.

IsEnabled

Bluetooth가 현재 사용하도록 설정되어 있고 사용할 준비가 되면 true를 반환합니다.

IsLe2MPhySupported

LE 2M PHY 기능이 지원되면 true를 반환합니다.

IsLeCodedPhySupported

LE 코딩된 PHY 기능이 지원되면 true를 반환합니다.

IsLeExtendedAdvertisingSupported

LE 확장 광고 기능이 지원되면 true를 반환합니다.

IsLePeriodicAdvertisingSupported

LE 정기 광고 기능이 지원되면 true를 반환합니다.

IsMultipleAdvertisementSupported

다중 보급 알림이 칩셋에서 지원되는 경우 true를 반환합니다.

IsOffloadedFilteringSupported

오프로드된 필터가 지원되는 경우 true를 반환합니다.

IsOffloadedScanBatchingSupported

오프로드된 검사 일괄 처리가 지원되면 true를 반환합니다.

JniIdentityHashCode

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
JniPeerMembers

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

LeMaximumAdvertisingDataLength

LE 확장 광고 기능이 지원되는 경우 최대 LE 광고 데이터 길이를 바이트 단위로 반환하고, 그렇지 않으면 0을 반환합니다.

MaxConnectedAudioDevices

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

Name

로컬 Bluetooth 어댑터의 친숙한 Bluetooth 이름을 가져옵니다.

PeerReference

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
ScanMode

로컬 Bluetooth 어댑터의 현재 Bluetooth 스캔 모드를 가져옵니다.

State

로컬 Bluetooth 어댑터의 현재 상태를 가져옵니다.

ThresholdClass

이 API는 Android용 Mono 인프라를 지원하며 코드에서 직접 사용할 수 없습니다.

(다음에서 상속됨 Object)
ThresholdType

이 API는 Android용 Mono 인프라를 지원하며 코드에서 직접 사용할 수 없습니다.

(다음에서 상속됨 Object)

메서드

CancelDiscovery()

현재 디바이스 검색 프로세스를 취소합니다.

CheckBluetoothAddress(String)

"00:43:A8:23:10:F0"과 같은 문자열 Bluetooth 주소의 유효성을 검사합니다.

Clone()

이 개체의 복사본을 만들고 반환합니다.

(다음에서 상속됨 Object)
CloseProfileProxy(ProfileType, IBluetoothProfile)

서비스에 대한 프로필 프록시의 연결을 닫습니다.

Disable()

로컬 Bluetooth 어댑터&mdash를 끕니다. Bluetooth를 끄려면 명시적 사용자 작업 없이 를 사용하지 마세요.

Dispose()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
Dispose(Boolean)

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
Enable()

mdash를&로컬 Bluetooth 어댑터를 켭니다. Bluetooth를 켜는 명시적 사용자 작업 없이는 를 사용하지 마세요.

Equals(Object)

다른 개체가 이 개체와 "같음"인지 여부를 나타냅니다.

(다음에서 상속됨 Object)
GetHashCode()

개체의 해시 코드 값을 반환합니다.

(다음에서 상속됨 Object)
GetProfileConnectionState(ProfileType)

프로필의 현재 연결 상태를 가져옵니다.

GetProfileProxy(Context, IBluetoothProfileServiceListener, ProfileType)

프로필과 연결된 프로필 프록시 개체를 가져옵니다.

GetRemoteDevice(Byte[])

BluetoothDevice 지정된 Bluetooth 하드웨어 주소에 대한 개체를 가져옵니다.

GetRemoteDevice(String)

BluetoothDevice 지정된 Bluetooth 하드웨어 주소에 대한 개체를 가져옵니다.

GetRemoteLeDevice(String, Int32)

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

IsLeAudioBroadcastAssistantSupported()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

IsLeAudioBroadcastSourceSupported()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

IsLeAudioSupported()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

JavaFinalize()

가비지 수집에서 개체에 대한 참조가 더 이상 없다고 판단할 때 개체의 가비지 수집기에서 호출됩니다.

(다음에서 상속됨 Object)
ListenUsingInsecureL2capChannel()

안전하지 않은 L2CAP CoC(연결 지향 채널) BluetoothServerSocket 를 만들고 동적 PSM 값을 할당합니다.

ListenUsingInsecureRfcommWithServiceRecord(String, UUID)

서비스 레코드를 사용하여 수신 대기 안전하지 않은 RFCOMM Bluetooth 소켓을 만듭니다.

ListenUsingL2capChannel()

보안 L2CAP CoC(연결 지향 채널) BluetoothServerSocket 를 만들고 동적 프로토콜/서비스 멀티플렉서(PSM) 값을 할당합니다.

ListenUsingRfcommWithServiceRecord(String, UUID)

서비스 레코드를 사용하여 수신 대기 보안 RFCOMM Bluetooth 소켓을 만듭니다.

Notify()

이 개체의 모니터에서 대기 중인 단일 스레드를 해제합니다.

(다음에서 상속됨 Object)
NotifyAll()

이 개체의 모니터에서 대기 중인 모든 스레드를 해제합니다.

(다음에서 상속됨 Object)
SetHandle(IntPtr, JniHandleOwnership)

Handle 속성을 설정합니다.

(다음에서 상속됨 Object)
SetName(String)

로컬 Bluetooth 어댑터의 친숙한 Bluetooth 이름을 설정합니다.

StartDiscovery()

원격 디바이스 검색 프로세스를 시작합니다.

StartLeScan(BluetoothAdapter+ILeScanCallback)
사용되지 않음.

Bluetooth LE 디바이스에 대한 검사를 시작합니다.

StartLeScan(UUID[], BluetoothAdapter+ILeScanCallback)
사용되지 않음.

Bluetooth LE 디바이스에 대한 검사를 시작합니다.

StopLeScan(BluetoothAdapter+ILeScanCallback)
사용되지 않음.

진행 중인 Bluetooth LE 장치 검사를 중지합니다.

ToArray<T>()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
ToString()

개체의 문자열 표현을 반환합니다.

(다음에서 상속됨 Object)
UnregisterFromRuntime()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
Wait()

현재 스레드가 각성될 때까지 대기하도록 합니다. 일반적으로 <알림을<> 받>거나<<> 중단/em>합니다.

(다음에서 상속됨 Object)
Wait(Int64)

현재 스레드가 깨어날 때까지 대기하게 하며, 일반적으로 <알림을 받<>거나 중단</>em>>을 받거나 <일정량의 실시간이 경과할 때까지 대기합니다.

(다음에서 상속됨 Object)
Wait(Int64, Int32)

현재 스레드가 깨어날 때까지 대기하게 하며, 일반적으로 <알림을 받<>거나 중단</>em>>을 받거나 <일정량의 실시간이 경과할 때까지 대기합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

IJavaPeerable.Disposed()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
IJavaPeerable.DisposeUnlessReferenced()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
IJavaPeerable.Finalized()

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
IJavaPeerable.JniManagedPeerState

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

(다음에서 상속됨 Object)

확장 메서드

JavaCast<TResult>(IJavaObject)

Android 런타임 확인 형식 변환을 수행합니다.

JavaCast<TResult>(IJavaObject)

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

GetJniTypeName(IJavaPeerable)

로컬 디바이스 Bluetooth 어댑터를 나타냅니다.

적용 대상