AI-generated Key Takeaways
- 
          SegmentDownloadedEvent provides event data for when a segment is downloaded. 
- 
          The event data includes the time taken to download the segment and its size in bytes. 
- 
          The SegmentDownloadedEventconstructor optionally accepts the download time and size as parameters.
cast.framework.events.  SegmentDownloadedEvent
            Event data for a cast.framework.events.EventType.SEGMENT_DOWNLOADED
              event.
Constructor
SegmentDownloadedEvent
new SegmentDownloadedEvent(downloadTime, size)
| Parameter | |
|---|---|
| downloadTime | Optional number | 
| size | Optional number | 
Properties
downloadTime
(number or undefined)
The time it took to download the segment, in milliseconds.
size
(number or undefined)
The number of bytes in the segment.