as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持

IProgram

IProgram

Program类的接口。

访问器

attributes

获取签名

get attributes(): string[]

获取节目的属性。

返回值

string[]

节目的属性列表。请参阅开发者指南,了解该字段的推荐规范值列表。


channelDescriptor

获取签名

get channelDescriptor(): IChannelDescriptor

获取与该节目关联的频道描述符。

返回值

IChannelDescriptor

该节目播出的频道的描述符。


description

获取签名

get description(): string

获取节目的描述。

返回值

string

特定节目的简要描述。例如,关于剧集的描述。


endTimeMs

获取签名

get endTimeMs(): number

获取节目的结束时间。

返回值

number

节目的结束时间,从纪元开始以毫秒为单位。


genres

获取签名

get genres(): string[]

获取节目的类型。

返回值

string[]

适用于节目的类型列表。请参阅开发者指南,了解该字段的推荐规范值列表。


identifier

获取签名

get identifier(): string

获取节目的标识符。

返回值

string

电子节目指南列表中节目的标识符。


posterArtUrl

获取签名

get posterArtUrl(): string

获取节目的海报图URL。

返回值

string

可供找到海报图片的URL。用于显示更大尺寸的节目图片,例如详情页面的背景横幅图。


ratings

获取签名

get ratings(): string[]

获取节目的评级。

返回值

string[]

字符串列表,用于表示针对特定节目而提供的家长指导级别建议。这可以是播出节目的国家或地区使用的任何评级系统。请参阅开发者指南,了解该字段的推荐规范值列表。


seriesInfo

获取签名

get seriesInfo(): undefined | ISeriesInfo

获取节目的系列信息。

返回值

undefined | ISeriesInfo

该节目的系列剧集信息,例如季和剧集编号。此字段为可选项,但如果节目是一个剧集内容,且此信息可用,则应返回此字段。


startTimeMs

获取签名

get startTimeMs(): number

获取节目的开始时间。

返回值

number

节目的开始时间,从纪元开始以毫秒为单位。


subtitle

获取签名

get subtitle(): string

获取节目的从属标题。

返回值

string

特定节目的从属标题。例如,“Maybe Today”,即为“MCIS: Los Angeles”的剧集名称。


thumbnailUrl

获取签名

get thumbnailUrl(): string

获取节目的缩略图URL。

返回值

string

可供找到缩略图图像的URL。用于渲染节目缩略图。


title

获取签名

get title(): string

获取节目的标题。

返回值

string

特定节目的标题或名称。例如,“MCIS: Los Angeles”。


Last updated: 2025年9月30日