MtpDevice.SendObjectInfo(MtpObjectInfo) 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.
Uploads an object metadata for a new entry.
[Android.Runtime.Register("sendObjectInfo", "(Landroid/mtp/MtpObjectInfo;)Landroid/mtp/MtpObjectInfo;", "", ApiSince=24)]
public Android.Mtp.MtpObjectInfo? SendObjectInfo (Android.Mtp.MtpObjectInfo info);
[<Android.Runtime.Register("sendObjectInfo", "(Landroid/mtp/MtpObjectInfo;)Landroid/mtp/MtpObjectInfo;", "", ApiSince=24)>]
member this.SendObjectInfo : Android.Mtp.MtpObjectInfo -> Android.Mtp.MtpObjectInfo
Parameters
- info
- MtpObjectInfo
metadata of the entry
Returns
object info of the created entry, or null if sending object info fails
- Attributes
Remarks
Uploads an object metadata for a new entry. The MtpObjectInfo
can be created with the MtpObjectInfo.Builder
class.
The returned MtpObjectInfo
has the new object handle field filled in.
Java documentation for android.mtp.MtpDevice.sendObjectInfo(android.mtp.MtpObjectInfo)
.
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.