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!