OnNewTimeSignalAvailableListener

public interface OnNewTimeSignalAvailableListener


Listener that is notified when the device has obtained a new TimeSignal.

Implementations must implement equals and hashCode correctly for methods that remove listeners to work correctly. In most cases, the default implementations provided by the Object class will be sufficient.

Summary

Public methods

abstract boolean
abstract int
abstract void

Method invoked when a new TimeSignal is available.

Public methods

equals

abstract boolean equals(@Nullable Object other)

hashCode

abstract int hashCode()

onNewTimeSignalAvailable

abstract void onNewTimeSignalAvailable(TimeSignal timeSignal)

Method invoked when a new TimeSignal is available.

Parameters
TimeSignal timeSignal

the new TimeSignal