GrammaticalInflectionManager.SystemGrammaticalGender Property

Definition

Allows privileged preloaded applications to get the system grammatical gender when set.

public virtual Android.Content.Res.GrammaticalGender SystemGrammaticalGender { [Android.Runtime.Register("getSystemGrammaticalGender", "()I", "GetGetSystemGrammaticalGenderHandler", ApiSince=35)] [Android.Runtime.RequiresPermission("android.permission.READ_SYSTEM_GRAMMATICAL_GENDER")] get; }
[<get: Android.Runtime.Register("getSystemGrammaticalGender", "()I", "GetGetSystemGrammaticalGenderHandler", ApiSince=35)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_SYSTEM_GRAMMATICAL_GENDER")>]
member this.SystemGrammaticalGender : Android.Content.Res.GrammaticalGender

Property Value

The value of system grammatical gender only if the calling app has the permission, otherwise throwing an exception. Value is one of the following: Configuration.GRAMMATICAL_GENDER_NOT_SPECIFIED Configuration.GRAMMATICAL_GENDER_NEUTRAL Configuration.GRAMMATICAL_GENDER_FEMININE Configuration.GRAMMATICAL_GENDER_MASCULINE

Attributes

Remarks

Allows privileged preloaded applications to get the system grammatical gender when set. Requires android.Manifest.permission.READ_SYSTEM_GRAMMATICAL_GENDER

See also:

Throws: SecurityException If the caller does not have the required permission.

Android reference for android.app.GrammaticalInflectionManager.getSystemGrammaticalGender.

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