C# 클래스 CaveTube.CaveTubeClient.CavetubeClient

상속: IDisposable
파일 보기 프로젝트 열기: madguy/CaveTalk 1 사용 예제들

공개 메소드들

메소드 설명
AllowInstantMessage ( Int32 commentNumber, String apiKey ) : Task

インスタントメッセージを許可します。

BanListener ( Int32 commentNumber, String apiKey ) : void

リスナーをBANします。

CavetubeClient ( String accessKey ) : System

コンストラクタ

Close ( ) : void

コメントサーバとの接続を閉じます。

Connect ( ) : void

CaveTubeコメントサーバに接続します。

Dispose ( ) : void

オブジェクトを破棄します。

GetCommentAsync ( String liveUrl ) : Task>

コメントの取得リクエストを送信します。

GetSummaryAsync ( String liveUrl ) : Task

部屋の情報を取得します。

HideComment ( Int32 commentNumber, String apiKey ) : void

指定したコメントの非表示要求を行います。

HideId ( Int32 commentNumber, String apiKey ) : void

指定したコメント番号のリスナーのID表示解除要求を行います。

JoinRoomAsync ( String liveUrl ) : Task

コメントルームに接続します。

LeaveRoom ( ) : void

コメントルームから退出します。

PostComment ( String name, String message, String apiKey = "" ) : void

コメントを投稿します。

SendInstantMessage ( String message ) : Task

インスタントメッセージを送信します。

ShowComment ( Int32 commentNumber, String apiKey ) : void

指定したコメントの再表示要求を行います。

ShowId ( Int32 commentNumber, String apiKey ) : void

指定したコメント番号のリスナーのID表示要求を行います。

UnBanListener ( Int32 commentNumber, String apiKey ) : void

リスナーのBANを解除します。

VoteResult ( String apiKey ) : void

投票結果を表示します。

VoteStart ( String question, IList choices, String apiKey ) : void

投票を開始します。

VoteStop ( String apiKey ) : void

投票を中断します。

비공개 메소드들

메소드 설명
HandleBanFail ( dynamic json ) : void
HandleBanUser ( dynamic json ) : void
HandleCloseEntry ( dynamic json ) : void
HandleGetComment ( dynamic json ) : void
HandleHideComment ( dynamic json ) : void
HandleHideId ( dynamic json ) : void
HandleInviteInstantMessage ( dynamic json ) : void
HandleJoinAndLeave ( dynamic json ) : void
HandleNotifyInviteInstantMessage ( dynamic json ) : void
HandleNotifySendInstantMessage ( dynamic json ) : void
HandlePostComment ( dynamic json ) : void
HandlePostResult ( dynamic json ) : void
HandleReady ( dynamic json ) : void
HandleReceiveInstantMessage ( dynamic json ) : void
HandleShowComment ( dynamic json ) : void
HandleShowId ( dynamic json ) : void
HandleStartEntry ( dynamic json ) : void
HandleUnBanUser ( dynamic json ) : void
HandleVoteResult ( dynamic json ) : void
HandleVoteStart ( dynamic json ) : void
HandleVoteStop ( dynamic json ) : void
HandleYell ( dynamic json ) : void
ParseMessage ( dynamic json ) : IEnumerable
ParseStreamUrlAsync ( String url ) : Task

메소드 상세

AllowInstantMessage() 공개 메소드

インスタントメッセージを許可します。
public AllowInstantMessage ( Int32 commentNumber, String apiKey ) : Task
commentNumber System.Int32 コメント番号
apiKey String APIキー
리턴 Task

BanListener() 공개 메소드

リスナーをBANします。
public BanListener ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32 BANするコメント番号
apiKey String APIキー
리턴 void

CavetubeClient() 공개 메소드

コンストラクタ
public CavetubeClient ( String accessKey ) : System
accessKey String
리턴 System

Close() 공개 메소드

コメントサーバとの接続を閉じます。
public Close ( ) : void
리턴 void

Connect() 공개 메소드

CaveTubeコメントサーバに接続します。
public Connect ( ) : void
리턴 void

Dispose() 공개 메소드

オブジェクトを破棄します。
public Dispose ( ) : void
리턴 void

GetCommentAsync() 공개 메소드

コメントの取得リクエストを送信します。
public GetCommentAsync ( String liveUrl ) : Task>
liveUrl String
리턴 Task>

GetSummaryAsync() 공개 메소드

部屋の情報を取得します。
public GetSummaryAsync ( String liveUrl ) : Task
liveUrl String 配信URL
리턴 Task

HideComment() 공개 메소드

指定したコメントの非表示要求を行います。
public HideComment ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32 ID表示するコメント番号
apiKey String APIキー
리턴 void

HideId() 공개 메소드

指定したコメント番号のリスナーのID表示解除要求を行います。
public HideId ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32 ID表示を解除するコメント番号
apiKey String APIキー
리턴 void

JoinRoomAsync() 공개 메소드

コメントルームに接続します。
引数のフォーマットが正しくありません。 入室に失敗しました。
public JoinRoomAsync ( String liveUrl ) : Task
liveUrl String
리턴 Task

LeaveRoom() 공개 메소드

コメントルームから退出します。
public LeaveRoom ( ) : void
리턴 void

PostComment() 공개 메소드

コメントを投稿します。
public PostComment ( String name, String message, String apiKey = "" ) : void
name String 名前
message String メッセージ
apiKey String APIキー
리턴 void

SendInstantMessage() 공개 메소드

インスタントメッセージを送信します。
public SendInstantMessage ( String message ) : Task
message String メッセージ
리턴 Task

ShowComment() 공개 메소드

指定したコメントの再表示要求を行います。
public ShowComment ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32 ID表示するコメント番号
apiKey String APIキー
리턴 void

ShowId() 공개 메소드

指定したコメント番号のリスナーのID表示要求を行います。
public ShowId ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32 ID表示するコメント番号
apiKey String APIキー
리턴 void

UnBanListener() 공개 메소드

リスナーのBANを解除します。
public UnBanListener ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32 BAN解除するコメント番号
apiKey String APIキー
리턴 void

VoteResult() 공개 메소드

投票結果を表示します。
public VoteResult ( String apiKey ) : void
apiKey String APIキー
리턴 void

VoteStart() 공개 메소드

投票を開始します。
public VoteStart ( String question, IList choices, String apiKey ) : void
question String 質問
choices IList 回答リスト
apiKey String APIキー
리턴 void

VoteStop() 공개 메소드

投票を中断します。
public VoteStop ( String apiKey ) : void
apiKey String APIキー
리턴 void