CarProtocol


@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.TYPE, ElementType.PARAMETER])
annotation CarProtocol


Any class annotated with this marker is part of the protocol layer for remote host rendering and can be sent between the client and the host through serialization. Changes to these classes must take forward and backward compatibility into account.

Newer apps should be able to work with older hosts, if the functionality they use can be emulated using older APIs or if they don't use newer features. The RequiresCarApi annotation details on required versioning for compatibility for classes and methods.