TtsSpan.MeasureBuilder.SetUnit(String) 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.
Sets the TtsSpan.ARG_UNIT argument.
[Android.Runtime.Register("setUnit", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$MeasureBuilder;", "GetSetUnit_Ljava_lang_String_Handler")]
public virtual Android.Text.Style.TtsSpan.MeasureBuilder? SetUnit(string? unit);
[<Android.Runtime.Register("setUnit", "(Ljava/lang/String;)Landroid/text/style/TtsSpan$MeasureBuilder;", "GetSetUnit_Ljava_lang_String_Handler")>]
abstract member SetUnit : string -> Android.Text.Style.TtsSpan.MeasureBuilder
override this.SetUnit : string -> Android.Text.Style.TtsSpan.MeasureBuilder
Parameters
- unit
- String
The unit of the measure.
Returns
This instance.
- Attributes
Remarks
Sets the TtsSpan.ARG_UNIT argument.
Android reference for android.text.style.TtsSpan.MeasureBuilder.setUnit.
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.