TvScheduleItem

TvScheduleItem

This sub module provides a features about a scheduled TV program.
このサブモジュールは、放送予定のテレビ番組についての機能を提供します。

Constructor

new TvScheduleItem(client)

A constructor to initialize TvScheduleItem instance.
NOTICE: This module is a part of DimoraClient module. You should not to call this constructor as directly.

TvScheduleItem の インスタンスを初期化するためのコンストラクタ。
お知らせ: このモジュールは DimoraClient モジュールの一部です。このコンストラクタは直接呼び出さないでください。

Source:
Parameters:
Name Type Description
client DimoraClient An instance of DimoraClient module

Methods

getBroadcasterName() → {String}

A method to get a name of the broadcaster
テレビ番組の放送局名を取得するメソッド
Source:
Returns:
Type:
String
A name of the broadcaster

getEndDate() → {Date}

A method to get a scheduled end date of the program
テレビ番組の放送終了日時を取得するメソッド
Source:
Returns:
Type:
Date
A scheduled end date of the program

getStartDate() → {Date}

A method to get a scheduled start date of the program
テレビ番組の放送開始日時を取得するメソッド
Source:
Returns:
Type:
Date
A scheduled start date of the program

getTitle() → {String}

A method to get a title of the program
テレビ番組のタイトルを取得するメソッド
Source:
Returns:
Type:
String
A title of the program

getUrl() → {String}

A method to get an url of the program
テレビ番組のページURLを取得するメソッド
Source:
Returns:
Type:
String
An url of the program

recordOnce(optionsopt, callback)

A method to make a recording reservation only once
一度限りの録画予約を行うためのメソッド
Source:
Parameters:
Name Type Attributes Description
options TvSchedule~recordOptions <optional>
An options
callback TvSchedule~recordCallback An callback function