Freigeben über


HttpEngine.Builder.SetUserAgent(String) Method

Definition

[Android.Runtime.Register("setUserAgent", "(Ljava/lang/String;)Landroid/net/http/HttpEngine$Builder;", "GetSetUserAgent_Ljava_lang_String_Handler", ApiSince=34)]
public virtual Android.Net.Http.HttpEngine.Builder SetUserAgent (string userAgent);
[<Android.Runtime.Register("setUserAgent", "(Ljava/lang/String;)Landroid/net/http/HttpEngine$Builder;", "GetSetUserAgent_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member SetUserAgent : string -> Android.Net.Http.HttpEngine.Builder
override this.SetUserAgent : string -> Android.Net.Http.HttpEngine.Builder

Parameters

userAgent
String

Returns

Attributes

Applies to