// Copyright 2021 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 { /// /// Download information about a particular asset pack. /// public abstract class PlayAssetPackDownloadInfo { /// /// The asset pack's download size in bytes. /// If the asset pack's delivery mode is install-time, then the download size will always be 0. /// public long DownloadSize { get; protected set; } /// /// An enum describing whether or not a newer version of the asset pack is available for download. /// public AssetPackUpdateAvailability UpdateAvailability { get; protected set; } /// /// The version tag of the latest available version of the asset pack. This field might match /// , in which case no update is available. /// /// /// The tag is set by the developer at upload-time and can be used to identify an asset pack version. /// /// /// Empty string if the asset pack does not exist or no information is available. /// public string AvailableVersionTag { get; protected set; } /// /// Returns the version tag of the currently installed asset pack. If no version tag was set for this /// pack version then the app version code will be returned instead. /// /// /// The tag is set by the developer at upload-time and can be used to identify an asset pack version. /// /// /// /// Empty string if no version of this pack is currently installed. /// /// public string InstalledVersionTag { get; protected set; } } }