BluetoothCacheMode Enum

Definition

Indicates whether applicable Bluetooth API methods should operate on values cached in the system, or whether they should retrieve those values from the Bluetooth device. See Remarks.

public enum class BluetoothCacheMode
enum BluetoothCacheMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothCacheMode
var value = Windows.Devices.Bluetooth.BluetoothCacheMode.cached
Public Enum BluetoothCacheMode
Inheritance
BluetoothCacheMode
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
bluetooth

Fields

Cached 0

Use values cached in the system.

Uncached 1

Retrieve values from the Bluetooth device.

Remarks

The cache in question is a local, system-wide cache (maintained by the operating system, or OS) of GATT attributes for a particular remote device. System-wide; not per-process. Entries in the cache become invalidated whenever the remote device indicates a service change, or when the device becomes unpaired.

Applies to

See also