Google.Play.AssetDelivery.PlayAssetPackBatchRequest

A CustomYieldInstruction used to monitor the asynchronous retrieval of a batch of asset packs.

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 the CustomYieldInstruction.keepWaiting property so that this request can be yielded on in a coroutine.

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 the CustomYieldInstruction.keepWaiting property so that this request can be yielded on in a coroutine.

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.