Provider
interface Provider
Content copied to clipboard
Interface for an object capable of providing an Instrument.
Functions
get Instrument
Link copied to clipboard
abstract fun <I : Instrument?> getInstrument(@NonNull instrumentClass: Class<I>): I
Content copied to clipboard
Gets an instrument.
abstract fun <I : Instrument?> getInstrument(@NonNull instrumentClass: Class<I>, @NonNull observer: Ref.Observer<I>): Ref<I>
Content copied to clipboard
Gets an instrument and registers an observer notified each time it changes.