Or did you mean noncommercial use, as in evaluation licenses?
(edit: several edits because I am confused)
The district court ruled that so long as implementation is different you are free to provide the same API. A federal circuit court reversed this ruling this year. The case is now back in the district court for consideration of whether the use of the API falls under the fair-use clause.
https://en.wikipedia.org/wiki/GNU_General_Public_License#Lin...
But I don't think either of those are really similar. Android is emulating the Java API, without Oracle code being involved. Programs that link against GPL libraries are intended to make runtime calls to copyrighted code. And game mods modify the copyrighted program's runtime behavior, having the program make calls to the modding code (in place of its own). I can't think of an analogue of the last situation.