AppMovie
ClassDataClassSource
AppMovie(
id: int,
name: str,
thumbnail: str,
dash_av1: str | None = None,
dash_h264: str | None = None,
hls_h264: str | None = None,
highlight: bool = False
)
The information of an app release trailer movie.
Fields
| Name | Type | Required | |
|---|---|---|---|
id | int | The ID of the movie. It is maintained in the whole store scope. | |
name | str | The name of the video. | |
thumbnail | str | The url to the thumbnail screenshot. | |
dash_av1 | str | None | The url to the Dash AV1 stream. | |
dash_h264 | str | None | The url to the Dash H264 stream. | |
hls_h264 | str | None | The url to the HLS H264 (m3u8) stream. | |
highlight | bool | Whether the movie will be displayed in highlights. |
Methods
get_thumbnail
v_1: Image | None = self.get_thumbnail()
Download the thumbnail image by its url.
Returns
| Name | Type | |
|---|---|---|
v_1 | Image | None | Get the thumbnail image object if it exists. |