Interface IKeplerUserEngagementModule
interface IKeplerUserEngagementModule
Extends com.amazon.apmf.IStandard
This module creates an object of IUserEngagement whose APIs can inform the system of
capability engagement or non-engagement. Example of capabilities could be video playback,
audio playback.
Methods
tryMakeUserEngagement()
This interface is deprecated and theIUserEngagement*tryMakeUserEngagement(stringcapability)
IKeplerUserEngagementModuleV2 interface should be
used instead.
Returns ‘IUserEngagement’ which can be used to inform the system of engagement with a
capability. Creation of this object does not inform but may be used to inform.
Parameters
capability
string — Required
Used to inform the capability for which there is or is not user engagement,
for example: “com.amazon.user_engagement_visual”, “com.amazon.user_engagement_audio_out”.
Returns
IUserEngagement*
a new instance of the IUserEngagement interface or null if the capability is not
currently supported on the system.
Throws
DeviceError— on system errors.

