Android.OS.Storage.StorageManager.UnmountObb Method
Unmount an Opaque Binary Blob (OBB) file asynchronously.

Syntax

[Android.Runtime.Register("unmountObb", "(Ljava/lang/String;ZLandroid/os/storage/OnObbStateChangeListener;)Z", "GetUnmountObb_Ljava_lang_String_ZLandroid_os_storage_OnObbStateChangeListener_Handler")]
public virtual bool UnmountObb (string filename, bool force, OnObbStateChangeListener listener)

Parameters

rawPath
path to the OBB file
force
whether to kill any programs using this in order to unmount it
listener
will receive the success or failure of the operation

Returns

Documentation for this section has not yet been entered.

Remarks

Unmount an Opaque Binary Blob (OBB) file asynchronously. If the force flag is true, it will kill any application needed to unmount the given OBB (even the calling application).

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 obtain access to 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