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 IImageOptionsBuilder

interface IImageOptionsBuilder
Extends com.amazon.apmf.IStandard Builder for IImageOptions.

Methods

priority()

void priority(u32 priority)

Parameters

priority
u32 — Required Priority of an IImageLoadRequest.

cachePreference()

void cachePreference(ImageCachePreference* cachePreference)

Parameters

cachePreference
ImageCachePreference* — Required Type of caching strategy to follow. See ImageCachePreference.

preferredSize()

void preferredSize(com.amazon.kepler.uitoolkit.graphics.Size size)

Parameters

size
com.amazon.kepler.uitoolkit.graphics.Size — Required Preferred dimensions (height and width) of an IImage.

resizeQuality()

void resizeQuality(ResizeQuality resizeQuality)

Parameters

resizeQuality
ResizeQuality — Required ResizeQuality of an IImage.

aspectRatioMode()

void aspectRatioMode(AspectRatioMode* aspectRatioMode)

Parameters

aspectRatioMode
AspectRatioMode* — Required AspectRatioMode of an IImage.

colorFormat()

void colorFormat(ColorFormat* colorFormat)

Parameters

colorFormat
ColorFormat* — Required ColorFormat of an IImage.

alphaBlendMode()

void alphaBlendMode(AlphaBlendMode* alphaBlendMode)

Parameters

alphaBlendMode
AlphaBlendMode* — Required AlphaBlendMode of an IImage.

imageType()

void imageType(ImageType* imageType)

Parameters

imageType
ImageType* — Required Type of an IImage. See ImageType.

build()

IImageOptions* build()

Returns

IImageOptions* The new IImageOptions instance.
Last modified on October 29, 2026