Language

TtsSpan.TimeBuilder.SetHours(Int32) Method

Definition

Sets the TtsSpan.ARG_HOURS argument.

[Android.Runtime.Register("setHours", "(I)Landroid/text/style/TtsSpan$TimeBuilder;", "GetSetHours_IHandler")]
public virtual Android.Text.Style.TtsSpan.TimeBuilder? SetHours(int hours);
[<Android.Runtime.Register("setHours", "(I)Landroid/text/style/TtsSpan$TimeBuilder;", "GetSetHours_IHandler")>]
abstract member SetHours : int -> Android.Text.Style.TtsSpan.TimeBuilder
override this.SetHours : int -> Android.Text.Style.TtsSpan.TimeBuilder

Parameters

hours
Int32

The value to be set for hours. See TtsSpan.ARG_HOURS. Value is between 0 and 24 inclusive

Returns

This instance.

Attributes

Remarks

Sets the TtsSpan.ARG_HOURS argument.

Android reference for android.text.style.TtsSpan.TimeBuilder.setHours.

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