windows_devices library

Provides access to WinRT APIs from the Windows.Devices namespace using FFI.

Classes

BasicGeoposition
The basic information to describe a geographic position.
Battery
Provides information about a battery controller that is currently connected to the device. For more info, see Get battery information.
BatteryReport
Provides properties that indicate the charge, capacity, and status of the battery.
CivicAddress
Unsupported API.
DeviceInformation
Represents a device. This class allows access to well-known device properties as well as additional properties specified during device enumeration.
DeviceInformationCollection
Represents a collection of DeviceInformation objects.
DeviceInformationCustomPairing
Represents a custom pairing for a DeviceInformation object.
DeviceInformationPairing
Contains information and enables pairing for a device.
DeviceInformationUpdate
Contains updated properties for a DeviceInformation object.
DevicePairingKinds
Indicates the kinds of pairing supported by your application or requested by the system. As an input value, use this value to indicate what kinds of pairing your application supports. When this datatype is received as an output value, it indicates the kind of pairing requested by the system. In this case, your code will need to respond accordingly.
DevicePairingResult
Contains information about the result of attempting to pair a device.
DevicePicker
Represents a picker flyout that contains a list of devices for the user to choose from.
DevicePickerAppearance
Represents the appearance of a device picker.
DevicePickerDisplayStatusOptions
Indicates what you'd like the device picker to show about a given device. Used with the SetDisplayStatus method on the DevicePicker object.
DevicePickerFilter
Represents the filter used to determine which devices to show in the device picker. The filter parameters are OR-ed together to build the resulting filter.
DeviceThumbnail
Represents the thumbnail image for a device.
DeviceUnpairingResult
Contains information about the result of attempting to unpair a device.
DeviceWatcher
Enumerates devices dynamically, so that the app receives notifications if devices are added, removed, or changed after the initial enumeration is complete.
DisplayMonitor
Provides information about a display monitor device connected to the system.
DisplayPresentationRate
Describes an overall presentation rate composed of a rational refresh rate and a divider.
EnclosureLocation
Describes the physical location of a device in its enclosure.
Geocoordinate
Contains the information for identifying a geographic location.
GeocoordinateSatelliteData
Provides additional information about a Geocoordinate. This information is only applicable to position estimates obtained using satellite signals.
Geolocator
Provides access to the current geographic location.
Geopoint
Describes a geographic point.
Geoposition
Represents a location that may contain latitude and longitude data or venue data.
GpioChangeRecord
Stores a relative timestap of a general-purpose I/O (GPIO) pin value change, and whether the pin transitioned from low to high or from high to low.
IBattery
IBatteryReport
ICivicAddress
IDeviceInformation
IDeviceInformation2
IDeviceInformationCustomPairing
IDeviceInformationPairing
IDeviceInformationPairing2
IDeviceInformationUpdate
IDeviceInformationUpdate2
IDevicePairingResult
IDevicePairingSettings
Identifies a collection of settings for device pairing. WiFiDirectConnectionParameters implements IDevicePairingSettings.
IDevicePicker
IDevicePickerAppearance
IDevicePickerFilter
IDeviceUnpairingResult
IDeviceWatcher
IDeviceWatcher2
IDisplayMonitor
IDisplayMonitor2
IEnclosureLocation
IEnclosureLocation2
IGeocoordinate
IGeocoordinateSatelliteData
IGeocoordinateSatelliteData2
IGeocoordinateWithPoint
IGeocoordinateWithPositionData
IGeocoordinateWithPositionSourceTimestamp
IGeocoordinateWithRemoteSource
IGeolocator
IGeolocator2
IGeolocatorWithScalarAccuracy
IGeopoint
IGeoposition
IGeoposition2
IGeoshape
IPedometerReading
IVenueData
PedometerReading
Provides an interface for a pedometer to measure the number of steps taken.
PointerDeviceUsage
Identifies the Human Interface Device (HID) usage details for the input device.
SizeUInt32
Defines the height and width of an object in a two-dimensional plane.
VenueData
Represents the venue associated with a geographic location.

Enums

AltitudeReferenceSystem
Indicates the altitude reference system to be used in defining a geographic shape.
DeviceClass
Indicates the type of devices that the user wants to enumerate.
DeviceInformationKind
Represents the kind of DeviceInformation object.
DevicePairingProtectionLevel
The level of protection for pairing.
DevicePairingResultStatus
The result of the pairing action with an Association Endpoint (AEP) device object. For more information about AEP objects, see DeviceInformationKind.
DeviceUnpairingResultStatus
The result of the unpairing action.
DeviceWatcherEventKind
The type of event.
DeviceWatcherStatus
Describes the state of a DeviceWatcher object.
DisplayMonitorConnectionKind
Defines constants that specify an abstract method in which a display is connected (not specific to a physical protocol).
DisplayMonitorDescriptorKind
Defines constants that specify various kinds of display monitor hardware descriptor.
DisplayMonitorPhysicalConnectorKind
Defines constants that specify a physical connector standard used to connect a display.
DisplayMonitorUsageKind
Defines constants that specify the use to which the display is being put.
GeolocationAccessStatus
Indicates if your app has permission to access location data.
GeoshapeType
Indicates the shape of a geographic region.
GpioPinEdge
Describes the possible types of change that can occur to the value of the general-purpose I/O (GPIO) pin for the GpioPin.ValueChanged event.
Panel
Indicates the location of a panel on a computer. This enumeration is used for indicating the physical location of a device.
PedometerStepKind
The type of step taken according to the pedometer.
PositionAccuracy
Indicates the requested accuracy level for the location data that the application uses.
PositionSource
Indicates the source used to obtain a Geocoordinate.
PositionStatus
Indicates the ability of the Geolocator object to provide location data.