Documentation

Unity Engine

Unity Engine

RequestToUseMobileDataAsyncOperation

Represents an asynchronous operation that requests to use mobile data to download Android asset packs.
Read time 1 minuteLast updated 2 months ago

Definition

public class RequestToUseMobileDataAsyncOperation : CustomYieldInstruction, IEnumerator

Remarks

AndroidAssetPacks.RequestToUseMobileDataAsync returns an instance of this class. You can yield until the operation completes, or manually check whether it's done using isDone or keepWaiting properties. Additional Resources: AndroidAssetPacks.RequestToUseMobileDataAsync.

Properties

Property

Description

isDoneChecks if the operation is finished.
keepWaitingChecks if the operation is still running.
resultIndicates whether the end user allowed the application to use mobile data to download Android asset packs.