Language

MtpObjectInfo.Builder.SetName(String) Method

Definition

Sets the object's name.

[Android.Runtime.Register("setName", "(Ljava/lang/String;)Landroid/mtp/MtpObjectInfo$Builder;", "GetSetName_Ljava_lang_String_Handler", ApiSince=24)]
public virtual Android.Mtp.MtpObjectInfo.Builder? SetName(string value);
[<Android.Runtime.Register("setName", "(Ljava/lang/String;)Landroid/mtp/MtpObjectInfo$Builder;", "GetSetName_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member SetName : string -> Android.Mtp.MtpObjectInfo.Builder
override this.SetName : string -> Android.Mtp.MtpObjectInfo.Builder

Parameters

value
String

The object's name. Must not be null.

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