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 ISvgModule2

interface ISvgModule2
Extends ISvgModule Extends ISvgModule with factories for SVG data payloads and the asynchronous SVG loader. Obtain via TryQueryInterface<ISvgModule2>().

Methods

makeSvgLoader()

ISvgLoader* makeSvgLoader()
Creates a new ISvgLoader instance for fetching SVG data from a URL or a local file path.

Returns

ISvgLoader* An ISvgLoader instance.

makeSvgData()

ISvgData* makeSvgData(string xml)
Creates an ISvgData from raw SVG XML, for use with ISvgView2::setData.

Parameters

xml
string — Required The raw SVG XML payload.

Returns

ISvgData* A valid ISvgData instance.

Throws


Last modified on October 29, 2026