BinderThread
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.CLASS, AnnotationTarget.FILE, AnnotationTarget.VALUE_PARAMETER]) class BinderThread
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:
<code> @BinderThread public BeamShareData createBeamShareData() { ... } </code>
Summary
Public constructors | |
---|---|
<init>() Denotes that the annotated method should only be called on the binder thread. |
Public constructors
<init>
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:
<code> @BinderThread public BeamShareData createBeamShareData() { ... } </code>