public class InteractiveTransaction extends Object
InteractiveTransaction
represents a Spark transaction on the Interactive service.Constructor and Description |
---|
InteractiveTransaction(String transactionID)
Initializes a new
InteractiveTransaction . |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
capture(GameClient gameClient)
Asynchronously attempts to complete the Spark transaction on the Interactive service.
|
String |
getTransactionID()
Returns the identifier for the
InteractiveTransaction . |
public InteractiveTransaction(String transactionID)
InteractiveTransaction
.transactionID
- Identifier for InteractiveTransaction
public String getTransactionID()
InteractiveTransaction
.InteractiveTransaction
public CompletableFuture<Boolean> capture(GameClient gameClient)
gameClient
- The GameClient
to use for the capture operationListenableFuture
that when complete returns true
if the transaction completed
successfully, false
otherwiseCopyright © 2018. All rights reserved.