Annotation Interface ShizukuInterface


@Target(TYPE) @Retention(SOURCE) public @interface ShizukuInterface
An annotation used to mark an interface as a Shizuku API interface. Classes annotated with this interface are intended to define methods that can be called remotely through Shizuku's IPC mechanisms.

Methods in interfaces annotated with ShizukuInterface are commonly expected to be further annotated with MethodId, which assigns each method a unique identifier. These IDs are used to ensure uniqueness and proper identification of method calls during remote interaction.

This annotation is processed at the source level and works in conjunction with other annotations to facilitate communication via AIDL or other IPC mechanisms compatible with Shizuku.