C# Class XamarinImgur.APIWrappers.Gallery

Datei anzeigen Open project: akshay2000/MonocleGiraffe

Public Methods

Method Description
FavouriteAlbum ( string id ) : Task>
FavouriteImage ( string id ) : Task>
GetComments ( string imageId, Sort sort = Sort.Best ) : Task>>
GetGallery ( Section section = null, Sort sort = null, Window window = null, bool showViral = null, int page = null ) : Task>>
GetGallery ( Section section = null, Sort sort = null, int page = null, bool showViral = null ) : Task>>

Gets the gallery

GetSubreddditGallery ( string subreddit, Sort sort = null, Window window = null, int page = null ) : Task>>
GetSubreddditGallery ( string subreddit, Sort sort = null, int page = null ) : Task>>
SearchGallery ( string query, Sort sort = null, int page = null ) : Task>>
Vote ( string id, string vote ) : Task>

Private Methods

Method Description
Favourite ( string id, string type ) : Task>

Method Details

FavouriteAlbum() public static method

public static FavouriteAlbum ( string id ) : Task>
id string
return Task>

FavouriteImage() public static method

public static FavouriteImage ( string id ) : Task>
id string
return Task>

GetComments() public static method

public static GetComments ( string imageId, Sort sort = Sort.Best ) : Task>>
imageId string
sort Sort
return Task>>

GetGallery() public static method

public static GetGallery ( Section section = null, Sort sort = null, Window window = null, bool showViral = null, int page = null ) : Task>>
section Section
sort Sort
window Window
showViral bool
page int
return Task>>

GetGallery() public static method

Gets the gallery
public static GetGallery ( Section section = null, Sort sort = null, int page = null, bool showViral = null ) : Task>>
section Section
sort Sort
page int
showViral bool Used only when section is "user"
return Task>>

GetSubreddditGallery() public static method

public static GetSubreddditGallery ( string subreddit, Sort sort = null, Window window = null, int page = null ) : Task>>
subreddit string
sort Sort
window Window
page int
return Task>>

GetSubreddditGallery() public static method

public static GetSubreddditGallery ( string subreddit, Sort sort = null, int page = null ) : Task>>
subreddit string
sort Sort
page int
return Task>>

SearchGallery() public static method

public static SearchGallery ( string query, Sort sort = null, int page = null ) : Task>>
query string
sort Sort
page int
return Task>>

Vote() public static method

public static Vote ( string id, string vote ) : Task>
id string
vote string
return Task>