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 IContentInteraction

interface IContentInteraction
Extends com.amazon.apmf.IStandard Interface representing a customer’s interaction with content. Created using IContentInteractionBuilder.

Methods

getContentId()

IContentId* getContentId()
Gets the Amazon catalog ID of the content to use for this interaction.

Returns

IContentId* ID resolvable in the Amazon catalog.

getInteractionTimestamp()

com.amazon.apmf.RealTimeInstant? getInteractionTimestamp()
Gets the date when the interaction occurred.

Returns

com.amazon.apmf.RealTimeInstant? The return value is optional and might be absent. Date in time since epoch when the interaction occurred. Null if not set.

getProfileId()

IProfileId? getProfileId()
Gets the associated profileId of the user performing the interaction.

Returns

IProfileId? The return value is optional and might be absent. The associated profileId of the user. Null if not set.

getContentInteractionType()

ContentInteractionTypeEnum getContentInteractionType()
Gets the type of content interaction.

Returns

ContentInteractionTypeEnum The type of content interaction.
Last modified on October 29, 2026