# OHOS::UISlider::UISliderEventListener ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Represents the listener for a slider change. This is an inner class of **[UISlider](OHOS-UISlider.md)** used to listen for slider events and invoke the callback function. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions
A destructor used to delete the UISliderEventListener instance. |
|
OnChange (int16_t value) |
Called when the slider is dragged or clicked. This is a virtual function, which needs your implementation. |
OnRelease (int16_t value) |
Called when the slider is released. This is a virtual function, which needs your implementation. |
operator new (size_t size) |
|
operator delete (void *p) |