Beamable SDK
|
Batch Container Interface Batch containers encapsulate the data of a batch More...
Public Member Functions | |
void | Add (T item) |
Add the specified item to the batch. More... | |
void | Expire () |
Expire this batch. More... | |
Properties | |
bool | IsExpired [get] |
Gets a value indicating whether this batch is expired. More... | |
long | ExpiresTimestamp [get] |
Gets the expires (unix) timestamp. More... | |
int | Capacity [get] |
Gets the batch's max capacity before expiration. More... | |
int | Count [get] |
Gets the count of elements in the batch. More... | |
Events | |
Action< List< T > > | OnExpired |
Occurs when the batch expires. More... | |
void Beamable.Api.Analytics.Batch.IBatchContainer< T >.Add | ( | T | item | ) |
Add the specified item to the batch.
item | Item. |
Implemented in Beamable.Api.Analytics.Batch.BatchContainer< T >.
void Beamable.Api.Analytics.Batch.IBatchContainer< T >.Expire | ( | ) |
Expire this batch.
Implemented in Beamable.Api.Analytics.Batch.BatchContainer< T >.
|
get |
Gets the batch's max capacity before expiration.
The capacity.
|
get |
Gets the count of elements in the batch.
The count.
|
get |
Gets the expires (unix) timestamp.
The expires timestamp.
|
get |
Gets a value indicating whether this batch is expired.
true
if this instance is expired; otherwise, false
.
Action<List<T> > Beamable.Api.Analytics.Batch.IBatchContainer< T >.OnExpired |
Occurs when the batch expires.