I would like to use a custom annotation in order to include more code to the AIDL's generated code.
In the android documentation, there is a reference saying we can use annotations like @nullable
, but when i add that annotation, it gives a compile error.
I would like to be able to have an AIDL function like the following:
interface AppcoinsBilling {
@MyAnnotation String test();
}
Is that possible?
Are you guys able to use annotations in AIDL files? Is there any other friendly way to change the generated code?
Thanks for helping!