Interface Handler.Callback

Enclosing class:
Handler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Handler.Callback
Callback interface you can use when instantiating a Handler to avoid having to implement your own subclass of Handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • handleMessage

      boolean handleMessage(@NonNull Message msg)
      Parameters:
      msg - A Message object
      Returns:
      True if no further handling is desired