IMMNotificationClient class com
The IMMNotificationClient interface provides notifications when an audio endpoint device is added or removed, when the state or properties of an endpoint device change, or when there is a change in the default role assigned to an endpoint device.
Constructors
-
IMMNotificationClient.new(Pointer<
COMObject> ptr) - IMMNotificationClient.from(IUnknown interface)
-
factory
Properties
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 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDefaultDeviceChanged(
int flow, int role, Pointer< Utf16> pwstrDefaultDeviceId) → int -
onDeviceAdded(
Pointer< Utf16> pwstrDeviceId) → int -
onDeviceRemoved(
Pointer< Utf16> pwstrDeviceId) → int -
onDeviceStateChanged(
Pointer< Utf16> pwstrDeviceId, int dwNewState) → int -
onPropertyValueChanged(
Pointer< Utf16> pwstrDeviceId, PROPERTYKEY key) → int -
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
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
-
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