JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
C
G
H
I
M
N
O
R
S
T
C
ChaturBot
- Class in
sg4e.chatur
The gateway to the chat API; subclass and override relevant methods for callbacks.
ChaturBot(String, String, String)
- Constructor for class sg4e.chatur.
ChaturBot
Creates a new instance;
ChaturBot.start()
must be called to open the connection.
G
get()
- Method in class sg4e.chatur.
RoomCount
Returns the response from the server.
getError()
- Method in class sg4e.chatur.
RoomCount
getRoomCount()
- Method in class sg4e.chatur.
ChaturBot
Queries the server for number of users in room and returns the response asynchronously inside the
RoomCount
object.
getRoomName()
- Method in class sg4e.chatur.
ChaturBot
Returns the room name, as specified to the constructor.
H
hasError()
- Method in class sg4e.chatur.
RoomCount
hasServerResponse()
- Method in class sg4e.chatur.
RoomCount
hasTippedAlotRecently()
- Method in class sg4e.chatur.json.
TippingMetadata
hasTippedRecently()
- Method in class sg4e.chatur.json.
TippingMetadata
hasTippedTonsRecently()
- Method in class sg4e.chatur.json.
TippingMetadata
hasTokens()
- Method in class sg4e.chatur.json.
TippingMetadata
I
isAuthenticated()
- Method in class sg4e.chatur.
ChaturBot
Returns whether the authentication process with the server has succeeded yet.
M
main(String[])
- Static method in class sg4e.chatur.examples.
SimpleBot
N
Notification
- Class in
sg4e.chatur.json
A multipurpose model for most notices in chat, including tips and announcements.
Notification()
- Constructor for class sg4e.chatur.json.
Notification
O
onAuthResponse(WebSocket, String)
- Method in class sg4e.chatur.
ChaturBot
Called after authorization.The default implementation joins the channel specified in this instance's constructor.
onNotify(Notification)
- Method in class sg4e.chatur.
ChaturBot
Called when an announcement or tip is sent.
onNotify(Notification)
- Method in class sg4e.chatur.examples.
SimpleBot
onNotifyGroupShowCancel()
- Method in class sg4e.chatur.
ChaturBot
Called when a group show is cancelled.
onRoomMsg(RoomMessage)
- Method in class sg4e.chatur.
ChaturBot
Called when a normal chat message is sent.
onRoomMsg(RoomMessage)
- Method in class sg4e.chatur.examples.
SimpleBot
onSilence(String, String)
- Method in class sg4e.chatur.
ChaturBot
Called when a user is timed out by a moderator.
onSilence(String, String)
- Method in class sg4e.chatur.examples.
SimpleBot
onTitleChange(String)
- Method in class sg4e.chatur.
ChaturBot
Called on stream title change; empty strings are common because of Chaturbate's implementation.
onTitleChange(String)
- Method in class sg4e.chatur.examples.
SimpleBot
R
RoomCount
- Class in
sg4e.chatur
Number of users in the chat.
RoomMessage
- Class in
sg4e.chatur.json
Model for normal chat messages (not tips or announcements).
RoomMessage()
- Constructor for class sg4e.chatur.json.
RoomMessage
S
sg4e.chatur
- package sg4e.chatur
Core classes.
sg4e.chatur.examples
- package sg4e.chatur.examples
Examples of bot usage.
sg4e.chatur.json
- package sg4e.chatur.json
Models for JSON objects sent over the WebSocket connection.
SimpleBot
- Class in
sg4e.chatur.examples
Simple example of how to use the library.
SimpleBot(String, String, String)
- Constructor for class sg4e.chatur.examples.
SimpleBot
start()
- Method in class sg4e.chatur.
ChaturBot
Opens the connection and starts receiving messages from the server.
stop()
- Method in class sg4e.chatur.
ChaturBot
Closes the connection and stops receiving messages form the server.
T
TippingMetadata
- Class in
sg4e.chatur.json
Parent class for models that containing tipping data.
TippingMetadata()
- Constructor for class sg4e.chatur.json.
TippingMetadata
C
G
H
I
M
N
O
R
S
T
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes