// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
namespace Google.Play.AssetDelivery
{
///
/// Enum indicating the current status of an asset pack request.
///
public enum AssetDeliveryStatus
{
///
/// Asset pack download is pending and will be processed soon.
///
Pending = 0,
///
/// Asset pack is being downloaded and transferred to the app's storage.
///
Retrieving = 1,
///
/// Asset pack is available on disk. For s this indicates that the request is
/// complete.
///
Available = 2,
///
/// Contained AssetBundle is being loaded.
///
Loading = 3,
///
/// Contained AssetBundle has finished loading, assets can now be loaded. For
/// s this indicates that the request is complete.
///
Loaded = 4,
///
/// Asset pack retrieval has failed.
///
Failed = 5,
///
/// Asset pack download is paused until the device acquires wifi, or the user confirms a dialog
/// presented with .
///
WaitingForWifi = 6,
///
/// Asset pack download is paused until the user provides consent. Consent can be obtained
/// by presenting a dialog with .
RequiresUserConfirmation = 7,
}
}