FileDocCategorySizeDatePackage
ObbInfo.javaAPI DocAndroid 5.1 API2983Thu Mar 12 22:22:10 GMT 2015android.content.res

ObbInfo

public class ObbInfo extends Object implements android.os.Parcelable
Basic information about a Opaque Binary Blob (OBB) that reflects the info from the footer on the OBB file. This information may be manipulated by a developer with the obbtool program in the Android SDK.

Fields Summary
public static final int
OBB_OVERLAY
Flag noting that this OBB is an overlay patch for a base OBB.
public String
filename
The canonical filename of the OBB.
public String
packageName
The name of the package to which the OBB file belongs.
public int
version
The version of the package to which the OBB file belongs.
public int
flags
The flags relating to the OBB.
public byte[]
salt
The salt for the encryption algorithm.
public static final Parcelable.Creator
CREATOR
Constructors Summary
ObbInfo()


    // Only allow things in this package to instantiate.
    /* package */  
    
private ObbInfo(android.os.Parcel source)


       
        filename = source.readString();
        packageName = source.readString();
        version = source.readInt();
        flags = source.readInt();
        salt = source.createByteArray();
    
Methods Summary
public intdescribeContents()

        return 0;
    
public java.lang.StringtoString()

        StringBuilder sb = new StringBuilder();
        sb.append("ObbInfo{");
        sb.append(Integer.toHexString(System.identityHashCode(this)));
        sb.append(" packageName=");
        sb.append(packageName);
        sb.append(",version=");
        sb.append(version);
        sb.append(",flags=");
        sb.append(flags);
        sb.append('}");
        return sb.toString();
    
public voidwriteToParcel(android.os.Parcel dest, int parcelableFlags)

        dest.writeString(filename);
        dest.writeString(packageName);
        dest.writeInt(version);
        dest.writeInt(flags);
        dest.writeByteArray(salt);