Language

LocaleDisplayNames.GetContext(DisplayContext+Type) Method

Definition

Returns the current value for a specified DisplayContext.Type.

[Android.Runtime.Register("getContext", "(Landroid/icu/text/DisplayContext$Type;)Landroid/icu/text/DisplayContext;", "GetGetContext_Landroid_icu_text_DisplayContext_Type_Handler", ApiSince=24)]
public abstract Android.Icu.Text.DisplayContext? GetContext(Android.Icu.Text.DisplayContext.Type? type);
[<Android.Runtime.Register("getContext", "(Landroid/icu/text/DisplayContext$Type;)Landroid/icu/text/DisplayContext;", "GetGetContext_Landroid_icu_text_DisplayContext_Type_Handler", ApiSince=24)>]
abstract member GetContext : Android.Icu.Text.DisplayContext.Type -> Android.Icu.Text.DisplayContext

Parameters

type
DisplayContext.Type

the DisplayContext.Type whose value to return

Returns

the current DisplayContext setting for the specified type

Attributes

Remarks

Returns the current value for a specified DisplayContext.Type.

Android reference for android.icu.text.LocaleDisplayNames.getContext.

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