AiAssetLocation
  public
  
  
  abstract
  class
  AiAssetLocation
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | com.google.android.play.core.aipacks.AiAssetLocation | 
Location of a single asset, belonging to an AI pack.
If the AiPackStorageMethod for the pack is AiPackStorageMethod.APK_ASSETS, this will
 be the path to the APK containing the asset, the offset of the asset inside the APK and the size
 of the asset. The asset file will be uncompressed, unless `bundletool` has been explicitly
 configured to compress the asset pack.
 
If the AiPackStorageMethod for the pack is AiPackStorageMethod.STORAGE_FILES, this
 will be the path to the specific asset, the offset will be 0 and the size will be the size of the
 asset file. The asset file will be uncompressed.
Summary
| Public constructors | |
|---|---|
| 
      AiAssetLocation()
       | |
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        long | 
      offset()
      Returns the file offset where the asset starts, in bytes. | 
| 
        abstract
        
        
        
        
        String | 
      path()
      Returns the path to the file containing the asset. | 
| 
        abstract
        
        
        
        
        long | 
      size()
      Returns the size of the asset, in bytes. | 
| Inherited methods | |
|---|---|
Public constructors
AiAssetLocation
public AiAssetLocation ()
Public methods
offset
public abstract long offset ()
Returns the file offset where the asset starts, in bytes.
| Returns | |
|---|---|
| long | |
path
public abstract String path ()
Returns the path to the file containing the asset.
| Returns | |
|---|---|
| String | |
size
public abstract long size ()
Returns the size of the asset, in bytes.
| Returns | |
|---|---|
| long | |
