dev_unmountExternalStorage

# dev_unmountExternalStorage >i**描述:卸载外部存储。** 函数:**public int dev_unmountExternalStorage(String path,boolean force,boolean removeEncryption)** >#### 代码示例 >SmdtManager smdt = SmdtManager.create(this); >smdt.dev_unmountExternalStorage(path,true,false); |参数名/返回值| 类型 |说明 |举例| |-|-|-|-| |返回值 void |path|String|要卸载的外部存储绝对路径(具体要以平台实际路径为准)|/storage/emulated/0<p>/storage/extsd<p>/storage/usbhost0<p>/storage/usbhost1<p>/storage/usbhost2<p>/storage/usbhost3<p>/storage/usbhost4 |force|boolean |是否强制卸载|true |removeEncryption|boolean|是否是移除加密设备|false