public class Transaction
extends java.lang.Object
A class to manage a group of markers while they are being added to the MapView. It should be created through the associated Builder.
Modifier and Type | Class and Description |
---|---|
static class |
Transaction.Builder
A Builder fro creating Transactions.
|
static interface |
Transaction.Listener
An interface for receiving events from a committed Transaction.
|
static class |
Transaction.Type
The Type of actions a transaction can perform.
|
Modifier and Type | Method and Description |
---|---|
long |
getAnimationDuration()
Get the duration of this Transactions animation.
|
long |
getId()
Get the identifier of this Transaction.
|
Transaction.Listener |
getListener()
Get the set listener for this transaction.
|
Marker[] |
getMarkers()
Get the markers added to this Transaction.
|
Transaction.Type |
getType()
Get the Type of this Transaction.
|
boolean |
isAnimated() |
public long getId()
Get the identifier of this Transaction.
public Transaction.Listener getListener()
Get the set listener for this transaction.
public boolean isAnimated()
public long getAnimationDuration()
Get the duration of this Transactions animation.
public Transaction.Type getType()
Get the Type of this Transaction.
public Marker[] getMarkers()
Get the markers added to this Transaction.