RemoteMsgField
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.FIELD])
public annotation RemoteMsgField
Class fields annotated with the RemoteMsgField annotation are automatically serialised to their proto representation when used in combination with a androidx.test.espresso.remote.GenericRemoteMessage.
The order field is mandatory and represents the declared field order in the class this annotation is used in. The order must match the declared constructor param types of the constructor annotated with {RemoteMsgConstructor}.
| See also | |
|---|---|
GenericRemoteMessage |
Summary
Public methods |
|
|---|---|
abstract int |
order()Returns the order of this field. |
Public methods
order
public abstract int order()
Returns the order of this field. Order values need to start with 0.