C# 클래스 BlottoBeats.Library.Networking.BBRequest

파일 보기 프로젝트 열기: Zwolf11/BlottoBeats 1 사용 예제들

공개 메소드들

메소드 설명
BBRequest ( SongParameters song, UserToken userInfo ) : System

Sends a request for the score of a single song. The response will contain a single SongParameters item with the song and it's score

BBRequest ( SongParameters song, bool upOrDownvote, UserToken userInfo ) : System

Sends an upload request with a single song and either an upvote or a downvote. The server will check the database for that song. If the song exists, it will add the vote to it, otherwise it will add the song to the server and save it with the vote. The response will contain a single SongParameters item with the song and it's score

BBRequest ( int numberOfSongs ) : System

Sends a request for a list of songs that match the given parameters. If a parameter is null, it will match all values for that parameter. The response will contain a list of songs that match the parameters.

BBRequest ( int numberOfSongs, string genre, string username ) : System

메소드 상세

BBRequest() 공개 메소드

Sends a request for the score of a single song. The response will contain a single SongParameters item with the song and it's score
public BBRequest ( SongParameters song, UserToken userInfo ) : System
song BlottoBeats.Library.SongData.SongParameters Song to check the score of
userInfo BlottoBeats.Library.Authentication.UserToken The user authentication token
리턴 System

BBRequest() 공개 메소드

Sends an upload request with a single song and either an upvote or a downvote. The server will check the database for that song. If the song exists, it will add the vote to it, otherwise it will add the song to the server and save it with the vote. The response will contain a single SongParameters item with the song and it's score
public BBRequest ( SongParameters song, bool upOrDownvote, UserToken userInfo ) : System
song BlottoBeats.Library.SongData.SongParameters Song to upload
upOrDownvote bool Vote. True if an upvote, false otherwise.
userInfo BlottoBeats.Library.Authentication.UserToken The user authentication token
리턴 System

BBRequest() 공개 메소드

Sends a request for a list of songs that match the given parameters. If a parameter is null, it will match all values for that parameter. The response will contain a list of songs that match the parameters.
public BBRequest ( int numberOfSongs ) : System
numberOfSongs int Number of songs to return
리턴 System

BBRequest() 공개 메소드

public BBRequest ( int numberOfSongs, string genre, string username ) : System
numberOfSongs int
genre string
username string
리턴 System