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 ISvgLoadRequest

interface ISvgLoadRequest
Extends com.amazon.apmf.IStandard Handle to an in-flight SVG load request, returned by ISvgLoader::load.

Methods

tryCancel()

bool tryCancel()
Requests cancellation of the in-flight load. Only the first call on a not-yet-completed request takes effect, firing exactly one ISvgLoadListener::onCanceled. Repeat calls, or calls after the request has completed, are no-ops.

Returns

bool True if this call initiated cancellation; false otherwise (already canceled or already completed).
Last modified on October 29, 2026