public class ControlInputEvent extends InteractiveEvent
ParticipantEvent is the superclass of all classes relating to control input sent by the
Interactive service to the GameClient.| Modifier and Type | Field and Description |
|---|---|
protected InteractiveControlInput |
input
The
InteractiveControlInput that was supplied by the InteractiveParticipant |
protected String |
participantID
Identifier for the
InteractiveParticipant that supplied the InteractiveControlInput |
protected InteractiveTransaction |
transaction
The
InteractiveTransaction associated with this input event, if one exists |
| Constructor and Description |
|---|
ControlInputEvent(String participantID,
String transactionID,
InteractiveControlInput input)
Initializes a new
ControlInputEvent. |
| Modifier and Type | Method and Description |
|---|---|
InteractiveControlInput |
getControlInput()
Returns the
InteractiveControlInput that was supplied by the InteractiveParticipant |
String |
getParticipantID()
Returns the identifier for the
InteractiveParticipant that supplied the
InteractiveControlInput |
InteractiveTransaction |
getTransaction()
Returns the
InteractiveTransaction associated with this input event, if one exists. |
getRequestID, setRequestIDprotected final String participantID
InteractiveParticipant that supplied the InteractiveControlInputInteractiveParticipant.sessionIDprotected final InteractiveTransaction transaction
InteractiveTransaction associated with this input event, if one existsprotected final InteractiveControlInput input
InteractiveControlInput that was supplied by the InteractiveParticipantpublic ControlInputEvent(String participantID, String transactionID, InteractiveControlInput input)
ControlInputEvent.participantID - Identifier for the InteractiveParticipant that supplied the
InteractiveControlInputtransactionID - Identifier for an InteractiveTransaction associated with the input eventinput - The InteractiveControlInput that was supplied by the InteractiveParticipantpublic String getParticipantID()
InteractiveParticipant that supplied the
InteractiveControlInputInteractiveParticipant that supplied the
InteractiveControlInputpublic InteractiveTransaction getTransaction()
InteractiveTransaction associated with this input event, if one exists.InteractiveTransaction associated with this input event if one exists,
null otherwisepublic InteractiveControlInput getControlInput()
InteractiveControlInput that was supplied by the InteractiveParticipantInteractiveControlInput that was supplied by the InteractiveParticipantCopyright © 2018. All rights reserved.