public @interface

SafeParcelable.Class

implements java.lang.annotation.Annotation

 androidx.appsearch.safeparcel.SafeParcelable.Class

Overview

This annotates your class and specifies the name of the generated "creator" class for marshalling/unmarshalling a SafeParcelable to/from a . The "creator" class is generated in the same package as the SafeParcelable class. You can also set "validate" to true, which will cause the "creator" to invoke the method validateContents() on your class after constructing an instance.

Summary