C# Class CaveTube.CaveTalk.Lib.ACommentClient

Inheritance: IDisposable
Show file Open project: madguy/CaveTalk Class Usage Examples

Public Methods

Method Description
ACommentClient ( ) : System
AllowInstantMessageAsync ( Int32 commentNumber, String apiKey ) : Task

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

BanListener ( Int32 commentNumber, String apiKey ) : void

リスナーをBANします。

Connect ( ) : void

メッセージの待機を開始します。

CreateInstance ( String url ) : Task
Dispose ( ) : void
GetRoomAsync ( String url ) : Task

部屋情報を取得します。

HideComment ( Int32 commentNumber, String apiKey ) : void

コメントを非表示にします。

HideId ( Int32 commentNumber, String apiKey ) : void

リスナーの強制ID表示を解除します。

JoinRoomGenAsync ( String url ) : Task

部屋に入室します。

LeaveRoom ( ) : void

部屋から退出します。

PostComment ( String postName, String postMessage, String apiKey = "" ) : void

コメントを投稿します。

ShowComment ( Int32 commentNumber, String apiKey ) : void

コメントを再表示します。

ShowId ( Int32 commentNumber, String apiKey ) : void

リスナーの強制ID表示を有効にします。

UnBanListener ( Int32 commentNumber, String apiKey ) : void

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

Protected Methods

Method Description
GetRoomInfoAsync ( String url ) : Task

Private Methods

Method Description
IsCaveTube ( String url ) : bool
NewMessage ( Message message ) : void
NewMessage ( Summary summary, IEnumerable messages ) : void

GetRoomからのみ呼ばれる想定です。

Method Details

ACommentClient() public method

public ACommentClient ( ) : System
return System

AllowInstantMessageAsync() public abstract method

インスタントメッセージを許可します。
public abstract AllowInstantMessageAsync ( Int32 commentNumber, String apiKey ) : Task
commentNumber System.Int32
apiKey String
return Task

BanListener() public abstract method

リスナーをBANします。
public abstract BanListener ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32
apiKey String
return void

Connect() public abstract method

メッセージの待機を開始します。
public abstract Connect ( ) : void
return void

CreateInstance() public static method

public static CreateInstance ( String url ) : Task
url String
return Task

Dispose() public abstract method

public abstract Dispose ( ) : void
return void

GetRoomAsync() public method

部屋情報を取得します。
public GetRoomAsync ( String url ) : Task
url String 配信Url
return Task

GetRoomInfoAsync() protected abstract method

protected abstract GetRoomInfoAsync ( String url ) : Task
url String
return Task

HideComment() public abstract method

コメントを非表示にします。
public abstract HideComment ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32
apiKey String
return void

HideId() public abstract method

リスナーの強制ID表示を解除します。
public abstract HideId ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32
apiKey String
return void

JoinRoomGenAsync() public abstract method

部屋に入室します。
public abstract JoinRoomGenAsync ( String url ) : Task
url String 配信Url
return Task

LeaveRoom() public abstract method

部屋から退出します。
public abstract LeaveRoom ( ) : void
return void

PostComment() public abstract method

コメントを投稿します。
public abstract PostComment ( String postName, String postMessage, String apiKey = "" ) : void
postName String 名前
postMessage String 本文
apiKey String APIキー
return void

ShowComment() public abstract method

コメントを再表示します。
public abstract ShowComment ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32
apiKey String
return void

ShowId() public abstract method

リスナーの強制ID表示を有効にします。
public abstract ShowId ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32
apiKey String
return void

UnBanListener() public abstract method

リスナーのBANを解除します。
public abstract UnBanListener ( Int32 commentNumber, String apiKey ) : void
commentNumber System.Int32
apiKey String
return void