Annotation Interface BackgroundThread


@Documented @Retention(SOURCE) @Target(METHOD) public @interface BackgroundThread
Annotation used to mark that it is highly recommended to call this function from a background thread in order to keep the UI/main thread non-blocking. In addition, callbacks from the function come from a background thread. This is relevant when UI changes are intended to happen in the callback body.