Language

TtsSpan.DurationBuilder.SetHours(Int32) Method

Definition

Sets the TtsSpan.ARG_HOURS argument.

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

Parameters

hours
Int32

The value to be set for hours.

Returns

This instance. This value cannot be null.

Attributes

Remarks

Sets the TtsSpan.ARG_HOURS argument.

Android reference for android.text.style.TtsSpan.DurationBuilder.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