Implementing createStateObject for Custom Player State Tracking via Media Collection API | Community
Skip to main content
June 9, 2025
Solved

Implementing createStateObject for Custom Player State Tracking via Media Collection API

  • June 9, 2025
  • 1 reply
  • 359 views

Is there any documentation on how to implement the createStateObject for Custom Player State Tracking via Media Collection API? The current documentation links to https://experienceleague.adobe.com/en/docs/media-analytics/using/media-use-cases/player-state-tracking/standard-and-custom-states#custom-states on how to implement Custom States, but it looks like the resulting createStateObject documentation refers to iOS, Android, and Javascript and not the Media Collection API.

iOS/Android: https://developer.adobe.com/client-sdks/solution/adobe-media-analytics/api-reference/#createstateobject

Javascript: https://adobe-marketing-cloud.github.io/media-sdks/reference/javascript_3x/APIReference.html#:~:text=%2C%200)-,createStateObject,-Creates%20an%20object

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AbhishekDhami

Hello Matthew,

 

I have found Adobe links.

 

1. This link shows 'Media Events' supported with Media Collection API- https://experienceleague.adobe.com/en/docs/media-analytics/using/implementation/analytics-only/streaming-media-apis/mc-api-event-types

 

2. This link shows, Player state tracking solution example with Media Collection API- https://experienceleague.adobe.com/en/docs/media-analytics/using/media-use-cases/player-state-tracking/implementation-and-reporting

 

1 reply

AbhishekDhami
AbhishekDhamiAccepted solution
June 11, 2025

Hello Matthew,

 

I have found Adobe links.

 

1. This link shows 'Media Events' supported with Media Collection API- https://experienceleague.adobe.com/en/docs/media-analytics/using/implementation/analytics-only/streaming-media-apis/mc-api-event-types

 

2. This link shows, Player state tracking solution example with Media Collection API- https://experienceleague.adobe.com/en/docs/media-analytics/using/media-use-cases/player-state-tracking/implementation-and-reporting