Android APIs
public class

ObbScanner

extends Object
java.lang.Object
   ↳ android.content.res.ObbScanner

Class Overview

Class to scan Opaque Binary Blob (OBB) files. Use this to get information about an OBB file for use in a program via ObbInfo.

Summary

Public Methods
static ObbInfo getObbInfo(String filePath)
Scan a file for OBB information.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static ObbInfo getObbInfo (String filePath)

Added in API level 9

Scan a file for OBB information.

Parameters
filePath path to the OBB file to be scanned.
Returns
  • ObbInfo object information corresponding to the file path
Throws
IllegalArgumentException if the OBB file couldn't be found
IOException if the OBB file couldn't be read