Stay organized with collections
Save and categorize content based on your preferences.
OnChronometerTickListener
interface OnChronometerTickListener
A callback that notifies when the chronometer has incremented on its own.
Summary
Public methods |
abstract Unit |
Notification that the chronometer has changed.
|
Public methods
onChronometerTick
abstract fun onChronometerTick(chronometer: Chronometer!): Unit
Notification that the chronometer has changed.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Chronometer.OnChronometerTickListener\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nOnChronometerTickListener\n=========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/widget/Chronometer.OnChronometerTickListener \"View this page in Java\") \n\n```\ninterface OnChronometerTickListener\n```\n\n|-----------------------------------------------------------|\n| [android.widget.Chronometer.OnChronometerTickListener](#) |\n\nA callback that notifies when the chronometer has incremented on its own.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onChronometerTick](#onChronometerTick(android.widget.Chronometer))`(`chronometer:` `[Chronometer](/reference/kotlin/android/widget/Chronometer)!`)` Notification that the chronometer has changed. |\n\nPublic methods\n--------------\n\n### onChronometerTick\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun onChronometerTick(chronometer: Chronometer!): Unit\n```\n\nNotification that the chronometer has changed."]]