Google.Play.AssetDelivery.PlayAssetPackBatchRequest

An object used to monitor the asynchronous retrieval of a batch of asset packs via the Play Asset Delivery system.

Summary

Inheritance

Inherits from: CustomYieldInstruction

Public attributes

Requests
IDictionary< string, PlayAssetPackRequest >
A dictionary of asset pack requests, keyed by name, that are present in this batch.

Properties

IsDone
bool
Returns true if all requests in this batch are in either the AssetDeliveryStatus.Available or AssetDeliveryStatus.Failed status, false otherwise.
keepWaiting
override bool
Implements CustomYieldInstruction's keepWaiting method, so that this request can be yielded on, in a coroutine, until it is done.

Events

Completed = delegate { }
Event indicating that all the requests in this batch are complete.

Protected functions

InvokeCompletedEvent()
void
Invokes the Completed event.

Public attributes

Requests

IDictionary< string, PlayAssetPackRequest > Requests

A dictionary of asset pack requests, keyed by name, that are present in this batch.

Properties

IsDone

bool IsDone

Returns true if all requests in this batch are in either the AssetDeliveryStatus.Available or AssetDeliveryStatus.Failed status, false otherwise.

keepWaiting

override bool keepWaiting

Implements CustomYieldInstruction's keepWaiting method, so that this request can be yielded on, in a coroutine, until it is done.

Events

Completed

Action< PlayAssetPackBatchRequest > Completed = delegate { }

Event indicating that all the requests in this batch are complete.

If an event handler is registered after the operation has completed, and thus after this event has been invoked, then the handler will be called synchronously.

Protected functions

InvokeCompletedEvent

void InvokeCompletedEvent()

Invokes the Completed event.