Interface AssetIndexReference
-
@Immutable @TypeAdapters public interface AssetIndexReferenceA reference to a downloadableAssetIndex.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringid()An id used to refer to this asset index.java.lang.Stringsha1()The sha1 hash of this asset index.intsize()The size of the asset index file, in bytes.inttotalSize()The total size of assets described by the index file, in bytes.java.net.URLurl()A url to download the asset index from.
-
-
-
Method Detail
-
id
java.lang.String id()
An id used to refer to this asset index.- Returns:
- the id
-
sha1
java.lang.String sha1()
The sha1 hash of this asset index.- Returns:
- the asset index hash
-
size
int size()
The size of the asset index file, in bytes.- Returns:
- the file size
-
totalSize
int totalSize()
The total size of assets described by the index file, in bytes.- Returns:
- the total size
-
url
java.net.URL url()
A url to download the asset index from.- Returns:
- the download URL
-
-