# cast.[framework](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework).[events](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.events).SegmentDownloadedEvent

class static

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

constant

(number or undefined)

The time it took to download the segment, in milliseconds.

### size

constant

(number or undefined)

The number of bytes in the segment.