Udostępnij za pośrednictwem


ObbScanner.GetObbInfo(String) Method

Definition

Scan a file for OBB information.

[Android.Runtime.Register("getObbInfo", "(Ljava/lang/String;)Landroid/content/res/ObbInfo;", "")]
public static Android.Content.Res.ObbInfo? GetObbInfo (string? filePath);
[<Android.Runtime.Register("getObbInfo", "(Ljava/lang/String;)Landroid/content/res/ObbInfo;", "")>]
static member GetObbInfo : string -> Android.Content.Res.ObbInfo

Parameters

filePath
String

path to the OBB file to be scanned.

Returns

ObbInfo object information corresponding to the file path

Attributes

Exceptions

if the OBB file couldn't be found

if the OBB file couldn't be read

Remarks

Scan a file for OBB information.

Java documentation for android.content.res.ObbScanner.getObbInfo(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to