Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IImageView3

interface IImageView3
Extends IImageView2 This interface extends IImageView2 with additional functionality to clear image from the image view.

Methods

clearImage()

void clearImage()
Clears the image from the image view which was set using IImageView::setImage or IImageView2::setGraphicsImage. Note: It just detaches the image from the image view and doesn’t necessarily remove the image from the cache. The previously loaded image remains in cache governed by its cache preference until evicted by normal cache policies. View properties such as alignment, fit, tint color, and blur radius are preserved across clear and subsequent setImage calls. If no image was set, then this method will have no effect.
Last modified on October 29, 2026