Annotation Interface ApiSide.ClientOnly
- Enclosing class:
ApiSide
@Documented
@Internal
@Retention(CLASS)
@Target({TYPE,METHOD})
public static @interface ApiSide.ClientOnly
All class or method that has this annotation means its feature will only be called on the client-side.
Therefore, you're safe to access client-only features in its implementation.
Though keep in mind that the class itself is still available on the server,
so make sure you're not accessing client features in a static context.