MtpDevice.GetStorageInfo(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索 MtpStorageInfo 存储单元。
[Android.Runtime.Register("getStorageInfo", "(I)Landroid/mtp/MtpStorageInfo;", "")]
public Android.Mtp.MtpStorageInfo? GetStorageInfo(int storageId);
[<Android.Runtime.Register("getStorageInfo", "(I)Landroid/mtp/MtpStorageInfo;", "")>]
member this.GetStorageInfo : int -> Android.Mtp.MtpStorageInfo
参数
- storageId
- Int32
存储单元的 ID
返回
MtpStorageInfo;如果提取存储信息失败,则为 null
- 特性
注解
检索 MtpStorageInfo 存储单元。
Java文档android.mtp.MtpDevice.getStorageInfo(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。