Most visited

Recently visited

Added in API level 9

ObbScanner

public class ObbScanner
extends Object

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


用于扫描不透明二进制Blob(OBB)文件的类。 使用它通过ObbInfo获取有关OBB文件在程序中使用的ObbInfo

Summary

Public methods

static ObbInfo getObbInfo(String filePath)

扫描文件以获取OBB信息。

Inherited methods

From class java.lang.Object

Public methods

getObbInfo

Added in API level 9
ObbInfo getObbInfo (String filePath)

扫描文件以获取OBB信息。

Parameters
filePath String: path to the OBB file to be scanned.
Returns
ObbInfo 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

Hooray!