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()
Return the current AmazonDeviceMessagingServerAsync instance, or make a new one if it doesn’t already exist.IAmazonDeviceMessagingServerAsync*getOrMakeServer()
Returns
IAmazonDeviceMessagingServerAsync*
AmazonDeviceMessagingServerAsync instance.
makeHandleOnMessagePromise()
Returns a new HandleOnMessagePromise instance.IHandleOnMessagePromise*makeHandleOnMessagePromise()
Returns
IHandleOnMessagePromise*
HandleOnMessagePromise instance.

