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, setRequestID
protected final String participantID
InteractiveParticipant
that supplied the InteractiveControlInput
InteractiveParticipant.sessionID
protected final InteractiveTransaction transaction
InteractiveTransaction
associated with this input event, if one existsprotected final InteractiveControlInput input
InteractiveControlInput
that was supplied by the InteractiveParticipant
public ControlInputEvent(String participantID, String transactionID, InteractiveControlInput input)
ControlInputEvent
.participantID
- Identifier for the InteractiveParticipant
that supplied the
InteractiveControlInput
transactionID
- Identifier for an InteractiveTransaction
associated with the input eventinput
- The InteractiveControlInput
that was supplied by the InteractiveParticipant
public String getParticipantID()
InteractiveParticipant
that supplied the
InteractiveControlInput
InteractiveParticipant
that supplied the
InteractiveControlInput
public 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 InteractiveParticipant
InteractiveControlInput
that was supplied by the InteractiveParticipant
Copyright © 2018. All rights reserved.