Language

IHttpResponse.Locale Property

Definition

Obtains the locale of this response.

public Java.Util.Locale? Locale { [Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "GetGetLocaleHandler:Org.Apache.Http.IHttpResponseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler:Org.Apache.Http.IHttpResponseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "GetGetLocaleHandler:Org.Apache.Http.IHttpResponseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler:Org.Apache.Http.IHttpResponseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Locale : Java.Util.Locale with get, set

Property Value

The locale used to select the status code's reason phrase.

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

See also