TtsSpan.FractionBuilder.SetNumerator 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 |
|---|---|
| SetNumerator(Int64) |
Convenience method that converts the numerator to a String and sets the argument TtsSpan.ARG_NUMERATOR. |
| SetNumerator(String) |
Sets the TtsSpan.ARG_NUMERATOR argument. |
SetNumerator(Int64)
Convenience method that converts the numerator to a String and sets the argument TtsSpan.ARG_NUMERATOR.
[Android.Runtime.Register("setNumerator", "(J)Landroid/text/style/TtsSpan$FractionBuilder;", "GetSetNumerator_JHandler")]
public virtual Android.Text.Style.TtsSpan.FractionBuilder? SetNumerator(long numerator);
[<Android.Runtime.Register("setNumerator", "(J)Landroid/text/style/TtsSpan$FractionBuilder;", "GetSetNumerator_JHandler")>]
abstract member SetNumerator : int64 -> Android.Text.Style.TtsSpan.FractionBuilder
override this.SetNumerator : int64 -> Android.Text.Style.TtsSpan.FractionBuilder
Parameters
- numerator
- Int64
The numerator.
Returns
This instance.
- Attributes
Remarks
Convenience method that converts the numerator to a String and sets the argument TtsSpan.ARG_NUMERATOR.
Android reference for android.text.style.TtsSpan.FractionBuilder.setNumerator.
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
SetNumerator(String)
Sets the TtsSpan.ARG_NUMERATOR argument.
[Android.Runtime.Register("setNumerator", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;", "GetSetNumerator_Ljava_lang_String_Handler")]
public virtual Android.Text.Style.TtsSpan.FractionBuilder? SetNumerator(string? numerator);
[<Android.Runtime.Register("setNumerator", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$FractionBuilder;", "GetSetNumerator_Ljava_lang_String_Handler")>]
abstract member SetNumerator : string -> Android.Text.Style.TtsSpan.FractionBuilder
override this.SetNumerator : string -> Android.Text.Style.TtsSpan.FractionBuilder
Parameters
- numerator
- String
A non-empty string of digits with an optional leading + or -.
Returns
This instance.
- Attributes
Remarks
Sets the TtsSpan.ARG_NUMERATOR argument.
Android reference for android.text.style.TtsSpan.FractionBuilder.setNumerator.
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.