ISensor class com

Represents a sensor.

Inheritance
Implementers

Constructors

ISensor(Pointer<COMObject> ptr)
ISensor.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
detach() → void
Detaches the object from the Finalizer.
inherited
getCategory(Pointer<GUID> pSensorCategory) int
getData(Pointer<Pointer<COMObject>> ppDataReport) int
getEventInterest(Pointer<Pointer<GUID>> ppValues, Pointer<Uint32> pCount) int
getFriendlyName(Pointer<Pointer<Utf16>> pFriendlyName) int
getID(Pointer<GUID> pID) int
getProperties(Pointer<COMObject> pKeys, Pointer<Pointer<COMObject>> ppProperties) int
getProperty(Pointer<PROPERTYKEY> key, Pointer<PROPVARIANT> pProperty) int
getState(Pointer<Int32> pState) int
getSupportedDataFields(Pointer<Pointer<COMObject>> ppDataFields) int
getType(Pointer<GUID> pSensorType) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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
setEventInterest(Pointer<GUID> pValues, int count) int
setEventSink(Pointer<COMObject> pEvents) int
setProperties(Pointer<COMObject> pProperties, Pointer<Pointer<COMObject>> ppResults) int
supportsDataField(Pointer<PROPERTYKEY> key, Pointer<Int16> pIsSupported) int
supportsEvent(Pointer<GUID> eventGuid, Pointer<Int16> pIsSupported) int
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