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 ISvgView2

interface ISvgView2
Extends ISvgView Extends ISvgView with the ability to render an ISvgData payload. Obtain via TryQueryInterface<ISvgView2>().

Methods

setData()

void setData(ISvgData* data)
Sets the ISvgData that this view renders. Replaces any SVG content previously set on this view, including a node tree composed imperatively via ISvgNode::appendChild; subsequent imperative composition calls do not modify the rendered payload. Must be called on the UI thread.

Parameters

data
ISvgData* — Required ISvgData returned by ISvgModule2::makeSvgData or ISvgLoadListener::onSuccess.
Last modified on October 29, 2026