Normalizer2.QuickCheck Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| QuickCheck(ICharSequence) |
Tests if the string is normalized. |
| QuickCheck(String) |
Performs a normalization quick check on a managed string. |
QuickCheck(ICharSequence)
Tests if the string is normalized.
[Android.Runtime.Register("quickCheck", "(Ljava/lang/CharSequence;)Landroid/icu/text/Normalizer$QuickCheckResult;", "GetQuickCheck_Ljava_lang_CharSequence_Handler", ApiSince=24)]
public abstract Android.Icu.Text.Normalizer.QuickCheckResult? QuickCheck(Java.Lang.ICharSequence? s);
[<Android.Runtime.Register("quickCheck", "(Ljava/lang/CharSequence;)Landroid/icu/text/Normalizer$QuickCheckResult;", "GetQuickCheck_Ljava_lang_CharSequence_Handler", ApiSince=24)>]
abstract member QuickCheck : Java.Lang.ICharSequence -> Android.Icu.Text.Normalizer.QuickCheckResult
Parameters
input string
Returns
the quick check result
- Attributes
Remarks
Tests if the string is normalized. For the two COMPOSE modes, the result could be "maybe" in cases that would take a little more work to resolve definitively. Use spanQuickCheckYes() and normalizeSecondAndAppend() for a faster combination of quick check + normalization, to avoid re-checking the "yes" prefix.
Android reference for android.icu.text.Normalizer2.quickCheck.
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
QuickCheck(String)
Performs a normalization quick check on a managed string.
public Android.Icu.Text.Normalizer.QuickCheckResult? QuickCheck(string? s);
member this.QuickCheck : string -> Android.Icu.Text.Normalizer.QuickCheckResult
Parameters
- s
- String
The managed string whose normalization state is tested.
Returns
Yes if already normalized, No if not normalized, or Maybe if a full check is required.
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.