Chronometer.Format Property
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.
Returns the current format string as set through #setFormat
. -or- Sets the format string used for display.
public virtual string? Format { [Android.Runtime.Register("getFormat", "()Ljava/lang/String;", "GetGetFormatHandler")] get; [Android.Runtime.Register("setFormat", "(Ljava/lang/String;)V", "GetSetFormat_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getFormat", "()Ljava/lang/String;", "GetGetFormatHandler")>]
[<set: Android.Runtime.Register("setFormat", "(Ljava/lang/String;)V", "GetSetFormat_Ljava_lang_String_Handler")>]
member this.Format : string with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Returns the current format string as set through #setFormat
.
Java documentation for android.widget.Chronometer.getFormat()
.
Property setter documentation:
Sets the format string used for display. The Chronometer will display this string, with the first "%s" replaced by the current timer value in "MM:SS" or "H:MM:SS" form.
If the format string is null, or if you never call setFormat(), the Chronometer will simply display the timer value in "MM:SS" or "H:MM:SS" form.
Java documentation for android.widget.Chronometer.setFormat(java.lang.String)
.
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.