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