StorageManager.UnmountObb(String, Boolean, OnObbStateChangeListener) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unmount an Opaque Binary Blob (OBB) file asynchronously.
[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? rawPath, bool force, Android.OS.Storage.OnObbStateChangeListener? listener);
[<Android.Runtime.Register("unmountObb", "(Ljava/lang/String;ZLandroid/os/storage/OnObbStateChangeListener;)Z", "GetUnmountObb_Ljava_lang_String_ZLandroid_os_storage_OnObbStateChangeListener_Handler")>]
abstract member UnmountObb : string * bool * Android.OS.Storage.OnObbStateChangeListener -> bool
override this.UnmountObb : string * bool * Android.OS.Storage.OnObbStateChangeListener -> bool
Parameters
- rawPath
- String
path to the OBB file
- force
- Boolean
whether to kill any programs using this in order to unmount it
- listener
- OnObbStateChangeListener
will receive the success or failure of the operation
Returns
whether the unmount call was successfully queued or not
- Attributes
Remarks
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.