[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003e\u003ccode\u003eMediaSessionEventData\u003c/code\u003e provides data about media session changes, triggered when a media session is updated.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003emediaSession\u003c/code\u003e property containing the \u003ca href=\"/cast/docs/reference/web_sender/chrome.cast.media.Media\"\u003echrome.cast.media.Media\u003c/a\u003e object representing the current media session.\u003c/p\u003e\n"],["\u003cp\u003eThis event data is crucial for developers to track and respond to media session updates within their Cast applications.\u003c/p\u003e\n"]]],[],null,["# Class: MediaSessionEventData\n\ncast.[framework](/cast/docs/reference/web_sender/cast.framework).MediaSessionEventData\n======================================================================================\n\nclass static\n\nMedia session changed event data.\n\nConstructor\n-----------\n\n### MediaSessionEventData\n\nnew\nMediaSessionEventData(mediaSession)\n\n| #### Parameter ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------|\n| mediaSession | [chrome.cast.media.Media](/cast/docs/reference/web_sender/chrome.cast.media.Media) Media session. Value must not be null. |\n\nProperty\n--------\n\n### mediaSession\n\nnon-null [chrome.cast.media.Media](/cast/docs/reference/web_sender/chrome.cast.media.Media)\n\nMedia session."]]