The Developer Preview for Android 11 is now available; test it out and share your feedback.

BinderThread

public abstract @interface BinderThread
implements Annotation

androidx.annotation.BinderThread


Denotes that the annotated method should only be called on the binder thread. If the annotated element is a class, then all methods in the class should be called on the binder thread.

Example:


  @BinderThread
  public BeamShareData createBeamShareData() { ... }
 

Summary

Inherited methods