클래스: MediaPauseEvent
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003ecast.framework.events.MediaPauseEvent\u003c/code\u003e class provides data for \u003ccode\u003epause\u003c/code\u003e events coming from the \u003ccode\u003eMediaElement\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWhen created, it can optionally include the \u003ccode\u003ecurrentMediaTime\u003c/code\u003e and whether the media \u003ccode\u003eended\u003c/code\u003e due to reaching its end.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eended\u003c/code\u003e property reveals if the pause happened because the media stream finished playing.\u003c/p\u003e\n"]]],[],null,["# Class: MediaPauseEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).MediaPauseEvent\n====================================================================================================================================================\n\nclass static\n\nEvent data for `pause` events forwarded from the `MediaElement`.\n\nConstructor\n-----------\n\n### MediaPauseEvent\n\nnew\nMediaPauseEvent(currentMediaTime, ended)\n\n| #### Parameter ||\n|------------------|------------------|\n| currentMediaTime | Optional number |\n| ended | Optional boolean |\n\nProperty\n--------\n\n### ended\n\nboolean\n\nIndicate if the media ended (indicates the pause was fired due to\nstream reached the end)."]]