Android.OS.Storage.StorageManager.MountObb Method
Mount an Opaque Binary Blob (OBB) file.

Syntax

[Android.Runtime.Register("mountObb", "(Ljava/lang/String;Ljava/lang/String;Landroid/os/storage/OnObbStateChangeListener;)Z", "GetMountObb_Ljava_lang_String_Ljava_lang_String_Landroid_os_storage_OnObbStateChangeListener_Handler")]
public virtual bool MountObb (string filename, string key, OnObbStateChangeListener listener)

Parameters

rawPath
the path to the OBB file
key
secret used to encrypt the OBB; may be null if no encryption was used on the OBB.
listener
will receive the success or failure of the operation

Returns

Documentation for this section has not yet been entered.

Remarks

Mount an Opaque Binary Blob (OBB) file. If a key is specified, it is supplied to the mounting process to be used in any encryption used in the OBB.

The OBB will remain mounted for as long as the StorageManager reference is held by the application. As soon as this reference is lost, the OBBs in use will be unmounted. The Android.OS.Storage.OnObbStateChangeListener registered with this call will receive the success or failure of this operation.

Note: you can only mount OBB files for which the OBB tag on the file matches a package ID that is owned by the calling program's UID. That is, shared UID applications can attempt to mount any other application's OBB that shares its UID.

[Android Documentation]

Requirements

Namespace: Android.OS.Storage
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9