Language

MtpObjectInfo.Builder.SetObjectHandle(Int32) Method

Definition

Sets the object handle in the metadata.

[Android.Runtime.Register("setObjectHandle", "(I)Landroid/mtp/MtpObjectInfo$Builder;", "GetSetObjectHandle_IHandler", ApiSince=24)]
public virtual Android.Mtp.MtpObjectInfo.Builder? SetObjectHandle(int value);
[<Android.Runtime.Register("setObjectHandle", "(I)Landroid/mtp/MtpObjectInfo$Builder;", "GetSetObjectHandle_IHandler", ApiSince=24)>]
abstract member SetObjectHandle : int -> Android.Mtp.MtpObjectInfo.Builder
override this.SetObjectHandle : int -> Android.Mtp.MtpObjectInfo.Builder

Parameters

value
Int32

The object's MTP handle, represented by a signed 32-bit value. The builder initially uses -1.

Returns

This builder.

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.

Applies to