Files
plexjs/docs/sdk/models/operations/updateplayprogressrequest.md

21 lines
2.0 KiB
Markdown

# UpdatePlayProgressRequest
## Example Usage
```typescript
import { UpdatePlayProgressRequest } from "@lukehagar/plexjs/sdk/models/operations";
let value: UpdatePlayProgressRequest = {
key: "<key>",
time: 90000,
state: "played",
};
```
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `key` | *string* | :heavy_check_mark: | the media key | |
| `time` | *number* | :heavy_check_mark: | The time, in milliseconds, used to set the media playback progress. | 90000 |
| `state` | *string* | :heavy_check_mark: | The playback state of the media item. | played |