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