DevicePicker class

Represents a picker flyout that contains a list of devices for the user to choose from.

Implemented types

Constructors

DevicePicker.new()
DevicePicker.fromPtr(Pointer<COMObject> ptr)

Properties

appearance DevicePickerAppearance?
no setteroverride
filter DevicePickerFilter?
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
requestedProperties → IVector<String>?
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add_DevicePickerDismissed(Pointer<COMObject> handler) int
override
add_DeviceSelected(Pointer<COMObject> handler) int
override
add_DisconnectButtonClicked(Pointer<COMObject> handler) int
override
addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
detach() → void
Detaches the object from the Finalizer.
inherited
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
hide() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickSingleDeviceAsync(Rect selection) Future<DeviceInformation?>
override
pickSingleDeviceAsyncWithPlacement(Rect selection, Placement placement) Future<DeviceInformation?>
override
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
remove_DevicePickerDismissed(int token) → void
override
remove_DeviceSelected(int token) → void
override
remove_DisconnectButtonClicked(int token) → void
override
setDisplayStatus(DeviceInformation? device, String status, DevicePickerDisplayStatusOptions options) → void
override
show(Rect selection) → void
override
showWithPlacement(Rect selection, Placement placement) → void
override
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited