Skip to content

RemovePowerTuningEventListener

Navigation: ADLX SDK ReferencesADLX InterfacesPower TuningIADLXPowerTuningChangedHandling

Syntax

ADLX_RESULT    RemovePowerTuningEventListener (IADLXPowerTuningChangedListener* pPowerTuningChangedListener)

Parameters

#DirectionNameTypeDescription
1.[in]pPowerTuningChangedListenerIADLXPowerTuningChangedListenerThe pointer to the event listener interface to unregister from receiving power tuning settings change notifications.

Return Value

If the event listener is successfully unregistered, ADLX_OK is returned.

If the event listener is not successfully unregistered, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

Once the event listener is successfully unregistered, ADLX will no longer call the OnPowerTuningChanged listener method when power tuning settings are changed. The application can discard the event listener instance.

Requirements

Headerinclude “IPowerTuning.h”
Minimum version1.2

See Also: IADLXPowerTuningChangedListener, OnPowerTuningChanged