Interface ISvgLoader
interface ISvgLoader
Extends com.amazon.apmf.IStandard
Interface to load SVG data from a URI.
Methods
load()
Initiates an asynchronous SVG load request. The source is selected by URI scheme: “file://” loads from the local filesystem; other schemes are currently treated as network URLs, and more may be recognized in future revisions. SeeISvgLoadRequest*load(stringuri,ISvgLoadListener*listener)
ISvgLoadListener for receiving the result.
Parameters
uri
string — Required
URI string identifying the SVG source (e.g. a “file://”
path or a network URL).
listener
ISvgLoadListener* — Required
ISvgLoadListener to listen to the load events.
The loader retains a strong reference to the listener until a
terminal callback (onSuccess / onFailure / onCanceled) fires.
Returns
ISvgLoadRequest*
ISvgLoadRequest on which the user can call cancel.

