yt4droid
インタフェース Query

既知の実装クラスの一覧:
QueryBuilder

public interface Query

作成者:
Harioroid

メソッドの概要
 QueryBuilder build()
          build the query parameter.
 QueryBuilder setCaption()
          The caption parameter enables you to restrict a search to videos that have or do not have caption tracks
 QueryBuilder setCategory(CategoryParam category)
          The category parameter enables you to retrieve videos that are in a particular category or are tagged with a particular keyword or developer tag
 QueryBuilder setFormat(java.lang.String format)
          The format parameter, which is supported for video search requests, specifies that videos must be available in at least one of the video formats listed in the parameter value.
 QueryBuilder setLocation(LocationEntity locationEntity)
          The location parameter restricts the search to videos that have a geographical location specified in their metadata.
 QueryBuilder setLr(java.lang.String iso639_1Code)
          In a video search request, the lr parameter restricts the search to videos that have a title, description or keywords in a specific language.
 QueryBuilder setOrderBy(OrderByParam param)
          The orderby parameter, which is supported for video feeds and playlist feeds, specifies the method that will be used to order entries in the API response.
 QueryBuilder setQ(java.lang.String q)
          The q parameter specifies a search query term.
 QueryBuilder setRestriction(java.lang.String restriction)
          The restriction parameter identifies the IP address that should be used to filter videos that can only be played in specific countries.
 QueryBuilder setSafeSearch(SafeSearchParam param)
          The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.
 QueryBuilder setTime(TimeParam param)
          The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well.
 QueryBuilder setUploader(java.lang.String uploader)
          The uploader parameter, which is only supported for search requests, lets you restrict a query to YouTube partner videos.
 

メソッドの詳細

setCaption

QueryBuilder setCaption()
The caption parameter enables you to restrict a search to videos that have or do not have caption tracks

戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setCategory

QueryBuilder setCategory(CategoryParam category)
The category parameter enables you to retrieve videos that are in a particular category or are tagged with a particular keyword or developer tag

パラメータ:
category -
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setFormat

QueryBuilder setFormat(java.lang.String format)
The format parameter, which is supported for video search requests, specifies that videos must be available in at least one of the video formats listed in the parameter value.

パラメータ:
format -
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setLocation

QueryBuilder setLocation(LocationEntity locationEntity)
The location parameter restricts the search to videos that have a geographical location specified in their metadata.

パラメータ:
locationEntity -
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setLr

QueryBuilder setLr(java.lang.String iso639_1Code)
In a video search request, the lr parameter restricts the search to videos that have a title, description or keywords in a specific language.

パラメータ:
iso639_1Code -
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html, http://www.loc.gov/standards/iso639-2/php/code_list.php

setOrderBy

QueryBuilder setOrderBy(OrderByParam param)
The orderby parameter, which is supported for video feeds and playlist feeds, specifies the method that will be used to order entries in the API response.

パラメータ:
parameter - of OrderByParam
戻り値:
QueryBuilder
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/reference.html

setQ

QueryBuilder setQ(java.lang.String q)
The q parameter specifies a search query term. YouTube will search all video metadata for videos matching the term

パラメータ:
q -
戻り値:
QueryBuilder

setRestriction

QueryBuilder setRestriction(java.lang.String restriction)
The restriction parameter identifies the IP address that should be used to filter videos that can only be played in specific countries.

パラメータ:
restriction -
戻り値:
QueryBuilder

setSafeSearch

QueryBuilder setSafeSearch(SafeSearchParam param)
The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.

パラメータ:
param -
戻り値:
QueryBuilder

setTime

QueryBuilder setTime(TimeParam param)
The time parameter is supported for search feeds and for a number of standard feeds and live event charts as well. Valid values for this parameter are today (1 day), this_week (7 days), this_month (1 month) and all_time. The default value for this parameter is all_time.

パラメータ:
param -
戻り値:
QueryBuilder

setUploader

QueryBuilder setUploader(java.lang.String uploader)
The uploader parameter, which is only supported for search requests, lets you restrict a query to YouTube partner videos.

パラメータ:
uploader -
戻り値:
QueryBuilder

build

QueryBuilder build()
build the query parameter.

戻り値:
QueryBuilder