다음을 통해 공유


BluetoothCacheMode 열거형

정의

해당 Bluetooth API 메서드가 시스템에 캐시된 값에서 작동해야 하는지 또는 Bluetooth 디바이스에서 해당 값을 검색해야 하는지 여부를 나타냅니다. 멤버 항목의 설명을 참조하세요.

public enum class BluetoothCacheMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BluetoothCacheMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothCacheMode
var value = Windows.Devices.Bluetooth.BluetoothCacheMode.cached
Public Enum BluetoothCacheMode
상속
BluetoothCacheMode
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)
앱 기능
bluetooth

필드

Cached 0

Cached의 동작은 API에 따라 달라집니다.

다음 API의 경우 Cached 는 캐시된 시스템에 캐시된 값 사용한다는 의미입니다(캐시되지 않은 경우 디바이스 쿼리로 대체 되지 않음 ).

다음 API의 경우 Cached 는 캐시를 먼저 살펴보고, 캐시가 없으면 디바이스에서 검색하는 것을 의미합니다.

Uncached 1

캐시되지 않은 동작은 Bluetooth 디바이스에서 값을 검색하는 것입니다.

설명

문제의 캐시는 특정 원격 디바이스에 대한 GATT 특성의 로컬 시스템 전체 캐시(운영 체제 또는 OS에서 유지 관리)입니다. 시스템 전체; 프로세스 단위가 아닙니다. 캐시의 항목은 원격 디바이스가 서비스 변경을 나타내거나 디바이스가 끊어질 때마다 무효화됩니다.

적용 대상

추가 정보