Android 11 デベロッパー プレビュー 2 が公開されました。ぜひお試しのうえ、フィードバックをお寄せください

BinderThread

public abstract @interface BinderThread
implements Annotation

android.support.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

From interface java.lang.annotation.Annotation