类:TimedMetadata
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003eTimedMetadata\u003c/code\u003e objects represent generic properties for timed metadata in media content.\u003c/p\u003e\n"],["\u003cp\u003eThese objects can contain information about the start and end times of the metadata, an ID, and specific data for DASH and HLS formats through dedicated properties.\u003c/p\u003e\n"]]],["`TimedMetadata` is a class with properties for managing timed metadata. It stores `startTime` and `endTime` in seconds, defining the duration of the metadata. `id` provides a unique identifier. `dashTimedMetadata` contains DASH-specific data, while `hlsTimedMetadata` holds HLS-specific data from #EXT-X-DATERANGE. The class is instanciated using a constructor called `TimedMetadata`.\n"],null,["# Class: TimedMetadata\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).TimedMetadata\n================================================================================\n\nclass static\n\nTimed metadata generic properties.\n\nConstructor\n-----------\n\n### TimedMetadata\n\nnew\nTimedMetadata()\n\nProperties\n----------\n\n### dashTimedMetadata\n\n(non-null [cast.framework.DashTimedMetadata](/cast/docs/reference/web_receiver/cast.framework.DashTimedMetadata) or undefined)\n\nObject encapsulating all DASH-specific timed metadata.\n\n### endTime\n\n(number or undefined)\n\nThe aboslute media time (in seconds) that the timed metadata should end.\n\n### hlsTimedMetadata\n\n(non-null [cast.framework.HlsTimedMetadata](/cast/docs/reference/web_receiver/cast.framework.HlsTimedMetadata) or undefined)\n\nObject encapsulating all HLS-specific timed metadata from\n#EXT-X-DATERANGE.\n\n### id\n\n(string or undefined)\n\nA string that uniquely identifies the timed metadata event.\n\n### startTime\n\n(number or undefined)\n\nThe aboslute media time (in seconds) that the timed metadata should\nstart."]]