ObbInfo
open class ObbInfo : Parcelable
kotlin.Any | |
↳ | android.content.res.ObbInfo |
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.
Summary
Constants | |
---|---|
static Int |
Flag noting that this OBB is an overlay patch for a base OBB. |
Inherited constants | |
---|---|
Public methods | |
---|---|
open Int | |
open String |
toString() |
open Unit |
writeToParcel(dest: Parcel, parcelableFlags: Int) |
Properties | |
---|---|
static Parcelable.Creator<ObbInfo!> | |
String! |
The canonical filename of the OBB. |
Int |
The flags relating to the OBB. |
String! |
The name of the package to which the OBB file belongs. |
Int |
The version of the package to which the OBB file belongs. |
Constants
OBB_OVERLAY
static val OBB_OVERLAY: Int
Flag noting that this OBB is an overlay patch for a base OBB.
Value: 1
Public methods
describeContents
open fun describeContents(): Int
Return | |
---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
toString
open fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |
writeToParcel
open fun writeToParcel(
dest: Parcel,
parcelableFlags: Int
): Unit
Parameters | |
---|---|
dest |
Parcel: The Parcel in which the object should be written. This value cannot be null . |
flags |
Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
packageName
var packageName: String!
The name of the package to which the OBB file belongs.
version
var version: Int
The version of the package to which the OBB file belongs.