mirror of
https://github.com/moparisthebest/android_external_GmsApi
synced 2024-11-27 11:02:18 -05:00
Further describe the public api interface
This commit is contained in:
parent
ae39009ccd
commit
61d5ccde6c
@ -16,8 +16,24 @@
|
||||
|
||||
package org.microg.gms;
|
||||
|
||||
/**
|
||||
* An class, method or field is named public, if it can be used with the original play services
|
||||
* client library.
|
||||
*/
|
||||
public @interface PublicApi {
|
||||
String since() default "-1";
|
||||
/**
|
||||
* @return the first version that contains the given class, method or field
|
||||
*/
|
||||
String since() default "0";
|
||||
|
||||
String until() default "-1";
|
||||
/**
|
||||
* @return the last version that contains the given class, method or field
|
||||
*/
|
||||
String until() default "latest";
|
||||
|
||||
/**
|
||||
* @return used on a method or field to exclude it from the public api if the corresponding
|
||||
* class was marked as public api
|
||||
*/
|
||||
boolean exclude() default false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user