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 IImageOptions

interface IImageOptions
Extends com.amazon.apmf.IStandard Options to create or download IImage.

Methods

getPriority()

u32 getPriority()
Gets the priority of an IImage for downloading and loading. IImageLoadRequest Higher value gives higher priority to an IImageLoadRequest with respect to other concurrent IImageLoadRequest.

Returns

u32 Priority of the load or prefetch request.

getCachePreference()

ImageCachePreference getCachePreference()
Gets the prefered caching strategy to follow for an image. See ImageCachePreference.

Returns

ImageCachePreference Cache option when loading or prefetching.

getPreferredSize()

com.amazon.kepler.uitoolkit.graphics.Size getPreferredSize()
Gets the preferredSize of an IImage.

Returns

com.amazon.kepler.uitoolkit.graphics.Size Preferred size of an image to be loaded or prefetched.

getResizeQuality()

ResizeQuality getResizeQuality()
Gets the ResizeQuality of an IImage.

Returns

ResizeQuality ResizeQuality of an IImage.

getAspectRatioMode()

AspectRatioMode getAspectRatioMode()
Gets the AspectRatioMode of an IImage.

Returns

AspectRatioMode AspectRatioMode AspectRatioMode of an IImage.

getColorFormat()

ColorFormat getColorFormat()
Gets the ColorFormat of an IImage.

Returns

ColorFormat ColorFormat ColorFormat of an IImage.

getAlphaBlendMode()

AlphaBlendMode getAlphaBlendMode()
Gets the AlphaBlendMode of an IImage.

Returns

AlphaBlendMode AlphaBlendMode of an IImage.

getImageType()

ImageType getImageType()
Gets the ImageType of an IImage.

Returns

ImageType ImageType ImageType of an IImage.
Last modified on October 29, 2026