Language

MtpObjectInfo.Builder.SetKeywords(String) Method

Definition

Sets the object's keywords.

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

Parameters

value
String

The comma-separated keyword list. Use an empty string for no keywords. On Android 8.0 and later, null is rejected when the app targets API level 26 or later; for apps that target API level 25 or lower, null is converted to an empty string. Android 7.0 and 7.1 accept null for any target API level and keep it in the built object.

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