|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Beta public interface LintListener
Interface implemented by listeners to be notified of lint events
NOTE: This is not a public or final API; if you rely on this be prepared to adjust your code for the next tools release.
Nested Class Summary | |
---|---|
static class |
LintListener.EventType
The various types of events provided to lint listeners |
Method Summary | |
---|---|
void |
update(LintDriver driver,
LintListener.EventType type,
Context context)
Notifies listeners that the event of the given type has occurred. |
Method Detail |
---|
void update(@NonNull LintDriver driver, @NonNull LintListener.EventType type, @Nullable Context context)
Context
object (except for the
LintListener.EventType.STARTING
, LintListener.EventType.CANCELED
or
LintListener.EventType.COMPLETED
events which are fired outside of project
contexts.)
driver
- the driver running through the checkstype
- the type of event that occurredcontext
- the context providing additional information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |