Added in API level 9

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

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

open String

Returns a string representation of the object.

open Unit
writeToParcel(dest: Parcel, parcelableFlags: Int)

Flatten this object in to a Parcel.

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

Added in API level 9
static val OBB_OVERLAY: Int

Flag noting that this OBB is an overlay patch for a base OBB.

Value: 1

Public methods

describeContents

Added in API level 9
open fun describeContents(): Int

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of writeToParcel(android.os.Parcel,int), the return value of this method must include the CONTENTS_FILE_DESCRIPTOR bit.

Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
Value is either 0 or

toString

Added in API level 9
open fun toString(): String

Returns a string representation of the object.

Return
String a string representation of the object.

writeToParcel

Added in API level 9
open fun writeToParcel(
    dest: Parcel,
    parcelableFlags: Int
): Unit

Flatten this object in to a Parcel.

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 the following:

Properties

CREATOR

Added in API level 9
static val CREATOR: Parcelable.Creator<ObbInfo!>

filename

Added in API level 9
var filename: String!

The canonical filename of the OBB.

flags

Added in API level 9
var flags: Int

The flags relating to the OBB.

packageName

Added in API level 9
var packageName: String!

The name of the package to which the OBB file belongs.

version

Added in API level 9
var version: Int

The version of the package to which the OBB file belongs.