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).

