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 モジュールの一部です。このコンストラクタは直接呼び出さないでください。
Parameters:
Name | Type | Description |
---|---|---|
client |
DimoraClient
|
An instance of DimoraClient module |
Methods
getBroadcasterName() → {String}
A method to get a name of the broadcaster
テレビ番組の放送局名を取得するメソッド
テレビ番組の放送局名を取得するメソッド
Returns:
- Type:
-
String
A name of the broadcaster
getEndDate() → {Date}
A method to get a scheduled end date of the program
テレビ番組の放送終了日時を取得するメソッド
テレビ番組の放送終了日時を取得するメソッド
Returns:
- Type:
-
Date
A scheduled end date of the program
getStartDate() → {Date}
A method to get a scheduled start date of the program
テレビ番組の放送開始日時を取得するメソッド
テレビ番組の放送開始日時を取得するメソッド
Returns:
- Type:
-
Date
A scheduled start date of the program
getTitle() → {String}
A method to get a title of the program
テレビ番組のタイトルを取得するメソッド
テレビ番組のタイトルを取得するメソッド
Returns:
- Type:
-
String
A title of the program
getUrl() → {String}
A method to get an url of the program
テレビ番組のページURLを取得するメソッド
テレビ番組のページURLを取得するメソッド
Returns:
- Type:
-
String
An url of the program
recordOnce(optionsopt, callback)
A method to make a recording reservation only once
一度限りの録画予約を行うためのメソッド
一度限りの録画予約を行うためのメソッド
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
TvSchedule~recordOptions
|
<optional> |
An options |
callback |
TvSchedule~recordCallback
|
An callback function |