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 IPayloadDelegate

interface IPayloadDelegate
Extends com.amazon.apmf.IStandard IPayloadDelegate can be implemented to provide a data payload for an event.

Methods

getPayload()

IJsObject* getPayload(IJsObjectBuilder* eventPayloadBuilder)
Creates a payload object for the emitting events.

Parameters

eventPayloadBuilder
IJsObjectBuilder* — Required IJsObjectBuilder instance which will be used to create the payload.

Returns

IJsObject* an IJsObject suitable for use as the payload.
Last modified on October 29, 2026