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 IAmazonDeviceMessagingServerComponentAsync

interface IAmazonDeviceMessagingServerComponentAsync
Extends com.amazon.apmf.IStandard Component that provides AmazonDeviceMessaging(ADM) server instance and creates promises used for indicating the message handler result.

Methods

getOrMakeServer()

IAmazonDeviceMessagingServerAsync* getOrMakeServer()
Return the current AmazonDeviceMessagingServerAsync instance, or make a new one if it doesn’t already exist.

Returns

IAmazonDeviceMessagingServerAsync* AmazonDeviceMessagingServerAsync instance.

makeHandleOnMessagePromise()

IHandleOnMessagePromise* makeHandleOnMessagePromise()
Returns a new HandleOnMessagePromise instance.

Returns

IHandleOnMessagePromise* HandleOnMessagePromise instance.
Last modified on October 29, 2026