java.lang.Object | |
↳ | edu.stanford.junction.api.activity.JunctionActor |
Known Direct Subclasses |
Known Indirect Subclasses |
The JunctionActor is the primary class used
to communicate within a Junction activity.
Primarily, you will need to override the onMessageReceived
method to handle inbound messages, and use the sendMessageTo*
methods to transmit them.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
mJunction |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list of JunctionExtras that should be loaded
when the actor joins an activity
| |||||||||||
Asynchronously handle an inbound message.
| |||||||||||
Send a message to an individual actor, identified by actorID
| |||||||||||
Send a message to an actor claiming a certain role.
| |||||||||||
Send a message for anyone in the Junction session.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns a list of JunctionExtras that should be loaded when the actor joins an activity
Asynchronously handle an inbound message.
Send a message to an individual actor, identified by actorID
Send a message to an actor claiming a certain role.
Send a message for anyone in the Junction session.