com.android.tools.lint.client.api
Interface LintListener


public interface LintListener

Interface implemented by listeners to be notified of lint events


Nested Class Summary
static class LintListener.EventType
          The various types of events provided to lint listeners
 
Method Summary
 void update(LintListener.EventType type, Context context)
          Notifies listeners that the event of the given type has occurred.
 

Method Detail

update

void update(LintListener.EventType type,
            Context context)
Notifies listeners that the event of the given type has occurred. Additional information, such as the file being scanned, or the project being scanned, is available in the Context object (except for the LintListener.EventType.STARTING, LintListener.EventType.CANCELED or LintListener.EventType.COMPLETED events which are fired outside of project contexts.)

Parameters:
type - the type of event that occurred
context - the context providing additional information


Copyright © 2008-2012. All Rights Reserved.