Interface GeckoResult.Consumer<T>

Type Parameters:
T - the type of the input for this consumer.
Enclosing class:
GeckoResult<T>

public static interface GeckoResult.Consumer<T>
Replacement for Consumer for devices with minApi < 24.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t)
    Run this consumer for the given input.
  • Method Details

    • accept

      @AnyThread void accept(@Nullable T t)
      Run this consumer for the given input.
      Parameters:
      t - the input value.